memory-checkpoint

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

A file-based system for saving an agent's working state so it can resume later. A checkpoint is a saved snapshot of progress, decisions, files, and blockers.

In plain words
What is it for?
Use it to save timestamped state files for one or more agents and maintain a summary pointing to the latest snapshot.
Why use it?
It reduces the need to reconstruct previous work after a pause, handoff, or interruption.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/daisybastioned440/lite-research-agents/memory-checkpoint
Any agent
npx skills add Daisybastioned440/lite-research-agents --skill memory-checkpoint
Clone the repo
git clone --depth 1 https://github.com/Daisybastioned440/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/daisybastioned440/lite-research-agents/memory-checkpoint.svg)](https://agentmods.dev/skills/daisybastioned440/lite-research-agents/memory-checkpoint)
Your own site
<a href="https://agentmods.dev/skills/daisybastioned440/lite-research-agents/memory-checkpoint"><img src="https://agentmods.dev/badge/skills/daisybastioned440/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 100% copy Near-identical to another mod 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 6d ago against content hash 491f7100fe3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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

This is a copy

100% identical to memory-checkpoint — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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. 6d 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 Daisybastioned440/lite-research-agents (2 stars, last pushed 3d 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. It is 100% identical to memory-checkpoint, differing in 0 lines, and is treated as a copy.