acos-checkpoint

acos-checkpoint is a command for Claude Code from frankxai/agentic-creator-os. It costs 0 tokens per session (350 once invoked), scanned A, original, Apache-2.0.

A checkpoint command for saving project state before risky operations and restoring it if needed. A checkpoint records details such as the commit, branch, time, and changed files.

In plain words
What is it for?
Use it to create, list, and roll back checkpoints, with automatic checkpoints also created after multi-agent tasks and at session end.
Why use it?
It gives you a recovery point before deployments, refactoring, cleanup, or other changes that may go wrong. This makes rollback possible without relying on memory about the previous state.

Command for Claude Code

Written for Claude Code: PostToolUse hook event.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .claude-flow/hooks/checkpoint-manager.sh create "description".

Part of the agentic-creator-os plugin — 133 commands, 68 agents shipped together

Good fit Use it to create, list, and roll back checkpoints, with automatic checkpoints also created after multi-agent tasks and at session end.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/frankxai/agentic-creator-os
agentmods
npx agentmods add commands/frankxai/agentic-creator-os/acos-checkpoint

Made for: Claude Code.

Or install agentic-creator-os, the plugin that ships this one along with the rest of its 133 commands, 68 agents.

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 acos-checkpoint

README.md
[![agentmods](https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/acos-checkpoint/github.svg)](https://agentmods.dev/commands/frankxai/agentic-creator-os/acos-checkpoint)
Your own site
<a href="https://agentmods.dev/commands/frankxai/agentic-creator-os/acos-checkpoint"><img src="https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/acos-checkpoint/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acos-checkpoint

Your own site · 80×15
<a href="https://agentmods.dev/commands/frankxai/agentic-creator-os/acos-checkpoint"><img src="https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/acos-checkpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 350 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00350
Opus 5 $0.00000 $0.00175
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 5d ago against content hash 3b6c582b9768, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

acos-checkpoint 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 5d 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.

.claude/commands/acos-checkpoint.md · 58 lines

What it actually says

ACOS Checkpoint - Save & Restore Points

Create checkpoints before risky operations. Rollback if things go wrong.

Automatic Checkpoints

These happen WITHOUT any user action:

  • PostToolUse (Task): After every multi-agent task completes
  • Stop: Session-end checkpoint with full state

Manual Commands

Create Checkpoint

bash .claude-flow/hooks/checkpoint-manager.sh create "description"

List Checkpoints

bash .claude-flow/hooks/checkpoint-manager.sh list

Rollback to Checkpoint

bash .claude-flow/hooks/checkpoint-manager.sh rollback <checkpoint-id>

When to Checkpoint

Situation Action
Before deploying to production create "pre-deploy"
Before major refactoring create "pre-refactor"
Before deleting files create "pre-cleanup"
After completing a feature Automatic (PostToolUse)
End of session Automatic (Stop hook)

Checkpoint Storage

Checkpoints are stored in two places:

  • .claude/checkpoints/ - JSON metadata (commit, branch, timestamp, files changed)
  • .claude-flow/logs/checkpoints.log - Chronological log of all checkpoints

Recovery

If something goes wrong:

  1. Run list to see available checkpoints
  2. Find the checkpoint before the issue
  3. Run rollback <id> to restore

Rollback uses git stash + git checkout to safely restore state without losing uncommitted work.

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. 5d ago First seen · 58 lines · 0 tokens per session scan A 3b6c582b9768

Subscribe to this mod's changes

acos-checkpoint is a command published in the GitHub repository frankxai/agentic-creator-os (10 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 350 tokens. 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-09-03.