mcpbeat

Ac Checkpoint Manager

majiayu000/ac-checkpoint-manager

Manage checkpoints for rollback capability. Use when creating save points, rolling back changes, managing recovery points, or restoring previous states.

635 tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
532
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/majiayu000/claude-skill-registry --skill ac-checkpoint-manager

What comes with it

804 bytes besides the instruction
metadata.json

The instruction itself

9 sections, as written by the author

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-tracker for state recovery
  • Used by: ac-task-executor before risky operations

API Reference

See scripts/checkpoint_manager.py for full implementation.

How to use it

Copy the folder

Take majiayu000/ac-checkpoint-manager from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.