synaptiai/agent-capability-standard/mutate
Claude Code and agent skill by synaptiai/agent-capability-standard
- community
Checking that the SKILL.md file is still in the repository.
Change persistent state with checkpoint and rollback support. Use when modifying files, updating databases, changing configuration, or any operation that permanently alters state.
Install
npx vskill@latest install synaptiai/agent-capability-standard/mutateSKILL.md
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 | No | string | Checkpoint ID for rollback (from checkpoint capability) |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
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:
Field Definitions
| Field | Type | Description | |
|---|---|---|---|
success | boolean | Whether mutation completed successfully | |
target | string | Resource that was modified | |
operation | string | Description of the change | |
previous_state | object | State before modification | |
new_state | object | State after modification | |
diff | object | Difference between states | |
checkpoint_id | string | Reference for rollback | |
rollback_command | string | How to undo the change | |
evidence_anchors | array | References to the changed location and the command output |
Examples
Example 1: File Modification
Input:
Output:
Example 2: Database Mutation
Input:
Output:
Example 3: Mutation Failure
Input:
Output:
Verification
- [ ] Checkpoint exists and is valid
- [ ] Previous state captured before mutation
- [ ] New state verified after mutation
- [ ] Diff accurately reflects change
- [ ] Rollback command is correct
Verification tools: Read (to verify state changes)
Safety Constraints
mutation: truerequires_checkpoint: truerequires_approval: truerisk: high
Capability-specific rules:
- NEVER mutate without valid checkpoint
- Always capture previous state before modification
- Verify change matches intended operation
- Provide working rollback mechanism
- Stop immediately on unexpected errors
- Do not chain multiple mutations without intermediate checkpoints
Composition Patterns
Commonly follows:
checkpoint- REQUIRED before any mutationplan- Mutations execute planned changesverify- Verify preconditions before mutating
Commonly precedes:
verify- Verify mutation resultsaudit- Record mutation for audit trailrollback- Undo mutation if verification fails
Anti-patterns:
- NEVER mutate without checkpoint
- Never combine multiple risky mutations
- Avoid mutation in exploratory workflows
Workflow references:
- See
reference/workflow_catalog.yaml#debug_code_changefor mutation in bug fixes - See
reference/workflow_catalog.yaml#digital_twin_sync_loopfor mutation in sync loops
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mutate/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/synaptiai/agent-capability-standard/mutate)