Agent skill
ac-checkpoint-manager
Manage checkpoints for rollback capability. Use when creating save points, rolling back changes, managing recovery points, or restoring previous states.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ac-checkpoint-manager
SKILL.md
AC Checkpoint Manager
Manage checkpoints for safe rollback during autonomous development.
Purpose
Creates and manages checkpoints that enable rollback to known-good states, providing safety during autonomous operation.
Quick Start
from scripts.checkpoint_manager import CheckpointManager
manager = CheckpointManager(project_dir)
checkpoint = await manager.create_checkpoint("before-refactor")
await manager.restore_checkpoint(checkpoint.id)
Checkpoint Types
- Auto: Created automatically at key points
- Manual: Created on explicit request
- Feature: Created after each feature completion
- Session: Created at session boundaries
Checkpoint Structure
.claude/checkpoints/
├── checkpoint-20240115-100000/
│ ├── metadata.json
│ ├── feature_list.json
│ ├── execution-state.json
│ └── git-ref.txt
├── checkpoint-20240115-110000/
│ └── ...
Auto-Checkpoint Points
- Before starting new feature
- After completing feature
- Before risky operations
- At context compaction
Workflow
1. CREATE → Snapshot current state
2. STORE → Save files and git ref
3. VALIDATE → Verify checkpoint integrity
4. (on rollback)
5. RESTORE → Restore from checkpoint
6. VERIFY → Confirm restoration
Integration
- Used by:
ac-state-trackerfor state recovery - Used by:
ac-task-executorbefore risky operations
API Reference
See scripts/checkpoint_manager.py for full implementation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?