agent-edit — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited agent-edit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Modify an existing agent's prompt file based on natural-language instructions. The user describes the change; you (the LLM) figure out where in the file to apply it and use the Edit tool to make the change. The user reviews the diff via the Edit tool's built-in permission prompt.
/agent-edit <agent-name> "<natural-language change request>"Examples:
/agent-edit code-reviewer "对 magic number 宽容一点"/agent-edit vibe-coder "add a When invoked step about reading existing tests first"/agent-edit planner "switch model from sonnet to opus"Search in this order, take first match:
.claude/agents/<name>.md (project-level)~/.claude/agents/<name>.md (user-level)If not found:
/agent-create <name> if they wanted to make a new one (note: that command is part of a future plan and may not exist yet)Use the Read tool on the resolved path. Note frontmatter fields and body sections.
Translate the natural-language request into a targeted edit. Be specific:
model: value in frontmatter.Hard rules:
Run via Bash:
DASHBOARD=.claude/skills/dashboard
python3 $DASHBOARD/scripts/backup.py <resolved-path>The backup path will print to stdout. Note it for the report.
Run via Bash:
python3 $DASHBOARD/scripts/invalidate_cache.py <resolved-path>This MUST happen before the Edit (while the file still has its pre-edit content). Calling after the edit hashes the new content and finds nothing to remove, leaving stale entries in ~/.claude/dashboard-cache/.
Use the Edit tool. The Edit tool will:
If the user rejects the edit, stop. The backup file is left in place (it's harmless, gitignored, and can be cleaned up manually if desired).
Tell the user, in one short message:
Example:
已把 code-reviewer 对 magic number 的态度从"拒绝"改为"警告但不阻止"。 备份:~/.claude/agents/code-reviewer.md.bak.1714823104938293000想看新版人设:/dashboard --agent code-reviewer
.claude/agents/ (project) or ~/.claude/agents/ (user).backup.py before the Edit tool. Even if the user requested a tiny change.--- delimiters and YAML syntax. If you must change the name field, warn the user that this will rename the file effectively./claude-edit does emit such a warning.)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.