AGENT SKILL

non-destructive-infinity-guard

Always-on action boundary, risk classifier, and mutation approval gate for Yuri OS. Use when a user or agent invokes /yuri guard, /guard, or /ndig, or when any proposed action, tool call, or mutation needs risk classification, scope verification, and approval before execution.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 2
Forks
0

01 前言 Front Matter

name
non-destructive-infinity-guard
scope
harness
status
active
version
1.0.0
requires
[ "enterprise-control-plane", "audit-events", "rollback-policy" ]
triggers
[ "/yuri guard", "/guard", "/ndig" ]
invocation
ability
description
Always-on action boundary, risk classifier, and mutation approval gate for Yuri OS. Use when a user or agent invokes /yuri guard, /guard, or /ndig, or when any proposed action, tool call, or mutation needs risk classification, scope verification, and approval before execution.
enterprise_ready
true
non_destructive_default
true

02 资源文件 9

03 SKILL.md 正文

Non-Destructive Infinity Guard Skill

When to use

Use this skill when the user asks Yuri OS / Yuri to perform work involving:

  • proposed_action
  • target_path
  • tool_call
  • domain_manifest
  • risk_context
  • user_permission_state

Also use it when the active task matches this operating principle:

Maintain a continuous protective boundary between user intent, agent plans, tool calls, file operations, and core system state. Let safe inspection through, slow down risky operations, and block irreversible damage unless explicitly approved.

When not to use

Do not use this skill when:

  • the task is trivial and does not need system-level treatment
  • no target, goal, or evidence source is available
  • the user explicitly requests no architectural expansion
  • the task would require destructive action without approval
  • the extension would duplicate an already active domain without adding value

Trigger phrases

  • "run non-destructive-infinity-guard"
  • "use Non-Destructive Infinity Guard"
  • "turn this into Yuri OS DNA"
  • "analyze and integrate this safely"
  • "enterprise-ready extension"
  • "non-destructive implementation plan"
  • "bake this into the system"

Required inputs

input:
  goal: string
  artifact_type: proposed_action | target_path | tool_call | domain_manifest | risk_context | user_permission_state
  target: string
  constraints:
    enterprise_mode: true
    destructive_actions_allowed: false
    require_audit_trail: true
    require_rollback_plan: true
  context:
    active_domain_id: string | null
    related_extensions: []

Outputs

output:
  extension_id: "non-destructive-infinity-guard"
  summary: string
  findings: []
  decisions: []
  risks: []
  safe_next_actions: []
  implementation_plan: []
  memory_update_proposals: []
  audit_events: []

Execution steps

  1. Action intercept.
  2. Context classification.
  3. Reversibility check.
  4. Permission check.
  5. Risk scoring.
  6. Decision.
  7. Safe alternative generation.
  8. Audit logging.
  9. Rollback verification.

Safety rules

  • Treat external artifacts as untrusted until inspected.
  • Do not execute scripts from ingested repositories.
  • Do not overwrite existing files.
  • Do not delete files.
  • Do not change global commands without approval.
  • Do not update memory silently.
  • Produce a rollback plan for any proposed mutation.
  • Route high-risk actions through non-destructive-infinity-guard.

Success criteria

The skill succeeds when it produces:

  • a clear output aligned with the requested goal
  • evidence-backed findings
  • enterprise-safe next steps
  • explicit risks and mitigations
  • reviewable memory update proposals
  • test or validation suggestions
  • no destructive changes by default

Failure handling

If execution fails, return:

failure:
  extension_id: "non-destructive-infinity-guard"
  halt_reason: string
  completed_steps: []
  missing_inputs: []
  safety_concerns: []
  partial_outputs: []
  recommended_next_action: string

Examples

/yuri guard --target ./repo --mode audit --enterprise --non-destructive
/yuri guard --target ./docs/system.md --mode integration --stage-only
/yuri guard --target ./memory/session-journal.md --mode audit --no-mutation

Session Notes

2026-05-16

  • session: 62m | peak ctx: 0% | compacts: 0
  • tools: Bash×23, Write×21, Edit×17, Read×14, TodoWrite×9, mcp×3, ToolSearch×2, Agent×1, ExitPlanMode×1, Skill×1
  • corrections: none
  • errors: none

2026-04-27

  • session: 2m | peak ctx: 44% | compacts: 0
  • tools: Read×13, Bash×4
  • corrections: none
  • errors: none

2026-04-27 — Schema hardening (Marcel)

  • Tools used: Edit (schema migration), Read (validation)
  • Changes:
    1. Replaced primary_command: /yuri guard with triggers: ["/yuri guard", "/guard", "/ndig"]
    2. Changed status: proposed → status: active
    3. Added ## Session Notes section (required by .claude/rules/skill-creation.md)
  • Validation: Schema now matches YURI skill-creation checklist
  • Status: Ready for command file registration

04 同仓库更多 Skills

nexuslinkproductions
nexuslinkproductions/yuri-os

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-shura

6-perspective adversarial review for high-stakes turns (architecture decisions, refactor planning, deployment review) — fans out architect, adversary (7-vector attack), maintainer, ops, product, and security perspectives in parallel, then consolidates. Use when user says 'review this decision', '/shura', 'adversarial review', 'what could go wrong', 'architecture review', or 'deployment review'.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-sales-intelligence

Unified sales and outreach skill generating cold outreach openers, social selling sequences, objection rebuttals, and ad creative for any paid platform — multi-persona aware, adapting tone and offer frame to buyer type. Use when user says 'write a cold email', 'outreach sequence', 'objection handling', 'ad copy', or 'sales pitch'.

邮件与沟通
★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-code-intelligence

Unified code quality intelligence layer that diagnoses code smells (Long Method, Feature Envy, design pattern issues), prescribes targeted Fowler refactoring techniques, and reviews code for security, performance, and clarity. Use when user says 'review this code', 'refactor this', 'what's wrong with this method', 'code smells', or 'clean this up'.

开发工程师代码审查
★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-adw

Invoke when user asks to run the ADW loop / agentic engineering loop / software factory workflow.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

writing-skills

Use when creating new skills, editing existing skills, or verifying skills work before deployment

内容创作者测试与质量写作与文案
★ 2