memory-checkpoint

memory-checkpoint is a skill for Claude Code, Codex from frankaging/lite-research-agents. It costs 16 tokens per session (565 once invoked), scanned A, original, MIT.

A file-based way to save and restore the working state of multiple agents. An agent is a separate automated worker handling part of a task.

In plain words
What is it for?
Create timestamped checkpoint folders, record each agent's role and state, and update the shared summary so the latest checkpoint can be found.
Why use it?
It helps work continue after interruption without reconstructing what each agent did or still needs to do.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/frankaging/lite-research-agents/memory-checkpoint
Any agent
npx skills add frankaging/lite-research-agents --skill memory-checkpoint
Clone the repo
git clone --depth 1 https://github.com/frankaging/lite-research-agents

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankaging/lite-research-agents/memory-checkpoint.svg)](https://agentmods.dev/skills/frankaging/lite-research-agents/memory-checkpoint)
Your own site
<a href="https://agentmods.dev/skills/frankaging/lite-research-agents/memory-checkpoint"><img src="https://agentmods.dev/badge/skills/frankaging/lite-research-agents/memory-checkpoint.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00016 $0.00565
Opus 5 $0.00008 $0.00282
Sonnet 5 $0.00003 $0.00113
Haiku 4.5 $0.00002 $0.00056

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

Security

Grade A, and why

memory-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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/memory-checkpoint/SKILL.md · 81 lines

How it starts

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

Memory Checkpoint

Defines how to save a checkpoint and how to load one into SI. When to checkpoint is determined by the calling context — the project, the war room, or the agent's own judgment.


How to Save

Create a timestamped folder under memory/checkpoints/. Inside it, write one file per agent indexed by agent number.

memory/checkpoints/YYYYMMDD_HHMMSS/
├── agent-0.md
├── agent-1.md
└── ...

Each agent-N.md captures that agent's state. No length constraints — summarise what is needed to resume. A good checkpoint captures what would be hard to reconstruct, not a verbatim log.

# Agent <N> — <timestamp>

**Role**: <role>
**Trigger**: <what caused this checkpoint>
**Completed**: <what was just finished>
**Next**: <exact next action>

## State
<key facts, file paths, env state, decisions made, blockers — whatever is needed to resume>

After writing all agent files, update memory/SUMMARY.md — rewrite it to point to the latest checkpoint.

# Summary

- **Last checkpoint**: `memory/checkpoints/<timestamp>/`
- **Status**: <not_started | in_progress | blocked | complete>

## State
<key facts — file paths, important values, decisions that affect what comes next>

## Resume From
<one clear instruction: what to do next, any preconditions>

How to Load

On resume, inject into SI in this order:

  1. Read memory/SUMMARY.md — always first. Get current status and the latest checkpoint path.
  2. Read the relevant agent-N.md from the latest checkpoint folder — inject the file for your agent index.
  3. Load other agents' files only if needed — e.g. to understand what another agent did.
  4. Load older checkpoints only if needed — e.g. to understand a past decision.

Layout

memory/
├── SUMMARY.md
└── checkpoints/
    ├── 20260328_090000/
    │   └── agent-0.md
    ├── 20260328_142301/
    │   ├── agent-0.md
    │   └── agent-1.md
    └── 20260328_154732/
        ├── agent-0.md
        └── agent-1.md

Read the full file on GitHub · 81 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. 5d ago First seen · 81 lines · 16 tokens per session scan A 491f7100fe3f

Subscribe to this mod's changes

memory-checkpoint is a skill published in the GitHub repository frankaging/lite-research-agents (3 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 565 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

autocontext-consumer

Use when an agent needs to USE knowledge Autocontext already produced - find which scenarios have knowledge, read the playbook and lessons for one, understand the on-disk file and folder layout, and move knowledge between checkouts. Host-agnostic; requires only the autoctx CLI and the filesystem.

greyhaven-ai/autocontext · 67 tokens

agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

lingxling/awesome-skills-cn · 26 tokens

log-session

Append a structured entry to the project's session log (docs/LOGS.md): what was done this session, files touched, decisions taken, and the next step — so the next session (or another person) can pick up the thread without re-reading git history. Run it before /clear, before closing Claude Code, or at any natural…

gtrabanco/agentic-workflow · 183 tokens

dpf-elicit-tacit-knowledge

Use when durable DPF knowledge lives only in a human's head — a decision rationale, the why behind a choice, a profession technique, domain context a build depends on.

OpenDigitalProductFactory/opendigitalproductfactory · 44 tokens

do-it-context

Use when project terms, relationships, or invariants drift between user language, docs, and implementation.

tdwhere123/do-it · 24 tokens

dpf-route-learning-to-commons

Use in the DPF codebase at a task or session boundary when a finding has been confirmed and is durable.

OpenDigitalProductFactory/opendigitalproductfactory · 31 tokens