From mutagen
Explicit-only skill. Invoke Traag to evaluate an in-flight scope-manifest amendment request. Traag decides ALLOW or DENY against the active slice's stage, agent, and the global denylist. Invoke only when the user explicitly says $mutagen-amend-scope and provides the path (or glob) to add, mutation kind, and a reason.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mutagen:mutagen-amend-scopeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user's request describes a path (or glob) they want added to the
The user's request describes a path (or glob) they want added to the
currently-active slice's allowed_write_globs, the mutation kind (create
/ modify / delete), and a reason.
In the Claude Code plugin this skill mediates hook enforcement. In the Codex port there is no hook, but the harness now owns the deterministic ALLOW / DENY decision. Use the audited runtime path for widening an active manifest and keep Traag as policy flavor, not as the primary execution engine.
.mutagen/state/active-slice.json exists. If not, refuse — no
slice to amend. Tell the user $mutagen-execute-next must be in flight.slices/queue.json exists. If not, refuse.slice_id.create / modify / delete), and a reason.bash "$MUTAGEN_ROOT/scripts/amend_scope.sh" \
--requested-glob "<glob-1>" \
[--requested-glob "<glob-2>" ...] \
--mutation-kind create|modify|delete \
--reason "<user reason>"
The wrapper delegates to the Rust harness amend-scope runtime. Treat its
JSON payload as authoritative for decision, class, matched_rule,
rationale, suggested_next_step, justification_gap, added_globs,
and allowed_write_globs.
.mutagen/state/active-slice.json and
appended .mutagen/state/amendments.jsonl.justification_gap was flaggedadded_globs is empty, say so plainly..mutagen/state/active-slice.json untouched
and appended a denial record to .mutagen/state/amendments.jsonl.class, matched_rule,
rationale, and suggested_next_step.$mutagen-execute-next
rotates to the next stage, the manifest is rewritten from the per-stage
template; amendments do not carry forward..mutagen/state/active-slice.json bypass the
audit trail. Prefer this skill.npx claudepluginhub chkdsklabs/mutagen --plugin mutagenGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.