mutate

mutate is a skill for Claude Code, Codex from synaptiai/agent-capability-standard. It costs 31 tokens per session (1,763 once invoked), scanned A, original, Apache-2.0.

A controlled operation for changing lasting information such as files, databases, or configuration. It requires a checkpoint—a saved recovery point—before applying the change and records the previous state.

In plain words
What is it for?
Use it when modifying files, database records, configuration, or other persistent system state after a valid checkpoint has been created.
Why use it?
It reduces the risk of making an irreversible change without a way to recover. The change can be checked against the saved state and rolled back when needed.

Skill for Claude CodeCodex

Part of the agent-capability-standard plugin — 42 skills, 2 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/synaptiai/agent-capability-standard/mutate
Any agent
npx skills add synaptiai/agent-capability-standard --skill mutate
Clone the repo
git clone --depth 1 https://github.com/synaptiai/agent-capability-standard

Made for: Claude Code, Codex.

Or install agent-capability-standard, the plugin that ships this one along with the rest of its 42 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mutate

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/mutate.svg)](https://agentmods.dev/skills/synaptiai/agent-capability-standard/mutate)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/mutate"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/mutate.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.01763
Opus 5 $0.00015 $0.00881
Sonnet 5 $0.00006 $0.00353
Haiku 4.5 $0.00003 $0.00176

Measured 4d ago against content hash d1ba44d5ddb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mutate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mutate/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Intent

Make controlled changes to persistent state with safety guarantees. This is the primary capability for modifications and REQUIRES a checkpoint for rollback capability.

CRITICAL: This capability requires checkpoint to have been called first.

Success criteria:

  • State change applied correctly
  • Previous state captured for rollback
  • Change is verifiable
  • Audit trail recorded

Compatible schemas:

  • schemas/output_schema.yaml

Inputs

Parameter Required Type Description
target Yes string What to modify (file path, resource identifier)
operation Yes object The modification to apply
checkpoint_id Yes string Checkpoint ID for rollback (from checkpoint capability)

Procedure

  1. Verify checkpoint exists: Ensure recovery is possible

    • Confirm checkpoint_id references valid checkpoint
    • Verify checkpoint covers the target
    • STOP if no valid checkpoint
  2. Capture previous state: Record what will change

    • Read current state of target
    • Store for comparison and rollback
    • Document what specifically will change
  3. Apply mutation: Make the change

    • Execute the specified operation
    • Use appropriate tool (Edit for files, Bash for commands)
    • Capture any errors during modification
  4. Verify change: Confirm mutation succeeded

    • Read new state
    • Compare to expected result
    • Note any unexpected side effects
  5. Record mutation: Document what changed

    • Store diff between previous and new state
    • Record timestamp and operation details
    • Link to checkpoint for audit trail
  6. Return result: Provide complete mutation record

    • Include success/failure status
    • Provide before/after state
    • Reference checkpoint for rollback

Output Contract

Return a structured object:

success: boolean  # Whether mutation completed
target: string  # What was modified
operation: string  # What was done
previous_state:
  snapshot: any  # State before mutation
  captured_at: string  # When captured
new_state:
  snapshot: any  # State after mutation
  verified_at: string  # When verified
diff:
  type: string  # unified, structural, summary
  content: string  # The actual diff
checkpoint_id: string  # For rollback reference
rollback_command: string  # How to undo this change
evidence_anchors: ["file:line", "command:output"]

Read the full file on GitHub · 257 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 257 lines · 31 tokens per session scan A d1ba44d5ddb3

Subscribe to this mod's changes

mutate is a skill published in the GitHub repository synaptiai/agent-capability-standard (4 stars, last pushed 5d ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,763 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gh

GitHub API access and project management automation for the hallucination-detector repo. Uses octokit with proxy-aware client for all GitHub operations — issues, PRs, labels, milestones, Projects V2. No gh CLI required.

bitflight-devops/hallucination-detector · 49 tokens

evaluate-options

Research and evaluate implementation options before presenting a recommendation. Use when multiple approaches exist for a problem and a decision is needed. Launches one background research agent per option in parallel, collects evidence-backed findings, then presents a recommendation grounded in observed data — not…

bitflight-devops/hallucination-detector · 97 tokens

delegate

Quick delegation template for sub-agent prompts. Use when assigning work to a sub-agent, before invoking the Task tool, or when preparing prompts for specialized agents. Provides the WHERE-WHAT-WHY framework. For comprehensive delegation guidance, activate the agent-orchestration how-to-delegate skill.

bitflight-devops/hallucination-detector · 60 tokens

ai-safe-driver

Use when the agent keeps repeating a mistake, ignores a correction, retries a failed tool unchanged, breaks an output format again, drifts from the latest request, or makes excuses instead of diagnosing recurrence. Also use for a conversation health check, compaction decision, or new-session question.

ssauma/ai-safe-driver · 61 tokens

beginner-tone

코딩도 AI도 처음인 초보자와 대화할 때 쓰는 말투·안전 지침. SoDamHarness 설치 시 자동 활성화.

sodam-ai/SoDam-Harness-Eng · 34 tokens

sodam-harness-self-check

작업을 끝내거나 "다 됐어요"라고 말하기 전에 실제로 작동하는지 점검하고 증거를 보여줄 때 사용. 위험·중요 작업 마무리, 완료 선언, 검증 요청 시 적용.

sodam-ai/SoDam-Harness-Eng · 51 tokens