checkpoint

checkpoint is a skill for Claude Code from sysangel/brain-mcp. It costs 47 tokens per session (617 once invoked), scanned A, original, MIT.

A quick checkpoint that saves the current project's state to a hosted memory service. It records enough context for a later session to resume after the conversation is cleared or ended.

In plain words
What is it for?
Use it before clearing a session, quitting, or handing work to a later session when only one project's resume state needs to be saved.
Why use it?
It preserves the current thread without running the larger memory-consolidation process, reducing the chance of losing work-in-progress context.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it before clearing a session, quitting, or handing work to a later session when only one project's resume state needs to be saved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sysangel/brain-mcp/checkpoint
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.

Any agent
npx skills add sysangel/brain-mcp --skill checkpoint
Clone the repo
git clone --depth 1 https://github.com/sysangel/brain-mcp

Made for: Claude Code.

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 checkpoint

README.md
[![agentmods](https://agentmods.dev/badge/skills/sysangel/brain-mcp/checkpoint/github.svg)](https://agentmods.dev/skills/sysangel/brain-mcp/checkpoint)
Your own site
<a href="https://agentmods.dev/skills/sysangel/brain-mcp/checkpoint"><img src="https://agentmods.dev/badge/skills/sysangel/brain-mcp/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 checkpoint

Your own site · 80×15
<a href="https://agentmods.dev/skills/sysangel/brain-mcp/checkpoint"><img src="https://agentmods.dev/badge/skills/sysangel/brain-mcp/checkpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 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.00047 $0.00617
Opus 5.5 $0.00019 $0.00247
Sonnet 5.5 $0.00009 $0.00123
Haiku 4.5 $0.00005 $0.00062

Measured 1mo ago against content hash dd5a4b9ee119, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo 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/checkpoint/SKILL.md · 53 lines

How it starts

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

checkpoint

The cheap half of /reflect: one project, one note, about a minute. You are saving the thread so a fresh session can pick it up, not consolidating the brain. The full pass (digests, distillation, compaction) still happens later through /reflect. Do not duplicate its work here.

The brain is the hosted MCP server brain (Supabase is the store). Every step below is an MCP tool call. There is no local checkout, no git, and no index to touch. If the brain tools are deferred, load them first with ToolSearch select:mcp__brain__state_get,mcp__brain__state_write.

Runs INLINE in the main conversation, never as a background fork. A checkpoint is invoked moments before /clear or quitting, and a background agent spawned at that moment dies with the session before it writes. When the report line appears, the note is stored and leaving is safe.

Steps

  1. Identify the project. Take it from the session: the repo basename, the cwd basename, or what the session was about. Call state_get(project). found: false means a new project; that is fine, the write creates the note.

  2. Rewrite the note wholesale, never append. Call state_write(project, body, description):

    • description: the current one-line status, 150 characters or less.
    • body (about 25 lines at most): open with one plain-language line saying what the project is, then Task, State (with evidence) where every claim carries a sha, verdict, or file:line, Decisions (with the why), Next actions (most important first), Pointers (paths and commands verified this session). Absolute dates only. Same redaction bar as memories: no secrets, no credentials, no long transcript quotes, no client data beyond what the next session needs. The server stamps written itself; the SessionStart brief trusts that stamp for freshness.
  3. Touch nothing else. No reflect_claim, no reflect_complete, no summaries, no other memory. A checkpoint is not a reflection and must not advance the reflect watermark.

Read the full file on GitHub · 53 lines

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. 1mo ago First seen · 53 lines · 47 tokens per session scan A dd5a4b9ee119

Subscribe to this mod's changes

checkpoint is a skill published in the GitHub repository sysangel/brain-mcp (3 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 617 once invoked, about $0.0002 per session on Opus 5.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-11-03.

Related

checkpoint compared with skills from other repositories

checkpoint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
checkpointsysangel/brain-mcpSkill31mo agoMITA47Claude Code
memory-informed-longitudinal-workmajor7apps/pensyveSkill101todayApache-2.0A52Claude Code
mention-workflowmajor7apps/pensyveSkill101todayApache-2.0A45Claude Code, Codex
memory-reviewmajor7apps/pensyveSkill101todayApache-2.0A33Claude Code, Codex
context-loadermajor7apps/pensyveSkill101todayApache-2.0A35Claude Code, Codex
session-memorymajor7apps/pensyveSkill101todayApache-2.0A44Claude Code, Codex
memory-informed-refactormajor7apps/pensyveSkill101todayApache-2.0A42Claude Code, Codex