checkpoint
Skill1.6k starsChanged 2 months agoMITView on GitHub
Save a structured state snapshot before stopping or handing off. Captures the active plan, recent decisions, file pointers (with line numbers), open questions, and the next 1–3 actions into a checkpoint file under `quality_reports/checkpoints/`. Optionally proposes `[LEARN]` entries to add to MEMORY.md. Use when user says "checkpoint", "save state", "snapshot before I stop", "where am I", "wrap up the session for handoff", or before a long break / model switch / collaborator handoff. Companion to (NOT replacement for) the narrative session-log workflow.
57 other projects use a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- derive-to/derivetheir own version, first seen Oct 4, 2026
- rav4nn/skillstheir own version, first seen Oct 3, 2026
- HsuanYuLee/polaristheir own version, first seen Sep 29, 2026
- myICOR/myPKAtheir own version, first seen Sep 26, 2026
- darkroomengineering/cc-settingstheir own version, first seen Sep 24, 2026
Who's talking about pedrohcgs/claude-code-my-workflow
- @tom-doerr.bsky.social“https://github.com/pedrohcgs/claude-code-my-workflow”Bluesky · Apr 9, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.pedrohcgs.claude-code-my-workflow: init at 2.6.0”GitHub · Oct 3, 2026
- neverbiasu/awesome-research-skills“Dead links in README.md”GitHub · Sep 1, 2026
- neverbiasu/awesome-research-skills“Dead links in README.md”GitHub · Aug 31, 2026
- neverbiasu/awesome-research-skills“Dead links in README.md”GitHub · Aug 24, 2026
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub and Bluesky (11 times).
On GitHub · 9
- Oct 3, 2026agent-skills.github.pedrohcgs.claude-code-my-workflow: init at 2.6.0 — sudosubin/agents.nix0 reactions
- Sep 1, 2026Dead links in README.md — neverbiasu/awesome-research-skills0 reactions
- Aug 31, 2026Dead links in README.md — neverbiasu/awesome-research-skills0 reactions
- Aug 24, 2026Dead links in README.md — neverbiasu/awesome-research-skills0 reactions
- Jul 28, 2026Add resource: My Claude Code Setup — hesreallyhim/awesome-claude-code0 reactions
4 more on GitHub
- Jul 28, 2026[Resource]: My Claude Code Setup — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Jul 4, 2026Evolve memorize/ums toward a memory-promotion-gate model — Morrison-Lab/ai-config0 reactions · 1 comment
- Jul 4, 2026Add a checkpoint/compress-session context-continuity pair, distinct from handoff — Morrison-Lab/ai-config0 reactions · 1 comment
- Jul 4, 2026Add a permission-check skill: diagnose why Claude Code is/isn't prompting for permission — Morrison-Lab/ai-config0 reactions · 1 comment
On Bluesky · 2
- Apr 9, 2026https://github.com/pedrohcgs/claude-code-my-workflow — @tom-doerr.bsky.social1 likes and repost
- Apr 22, 2026What about lecture slides and peer review? 🥴 github.com/pedrohcgs/cl... — @jbenmenachem.com0 likes and reposts · 1 reply
Used with
Projects with it also use open-gstack-browser, instinct-export and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 4 projects that use this
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 3 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 5 projects that use this
seek888Skilldesign-html
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
Also in 4 projects that use this
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 4 projects that use this
- +1 more from seek888
- +1 more from TheKREATORS
Other versions57 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 57
- codewithmukesh/dotnet-claude-kit★ 750same name
- myICOR/myPKA★ 304same name
- sterlingcrispin/claude_slash_commands★ 200same name
- josipjelic/orchestrated-project-template★ 95same name
- svy04/ballast★ 74same name
- darkroomengineering/cc-settings★ 47same name
- agentcrew-academy/harness-starter-kit★ 39same name
- derive-to/derive★ 30same name
- phj128/autoworker★ 19same name
- Consortium-team/project-creator★ 17same name
47 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository61 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adjudicate-reviewSkill
- audit-reproducibilitySkill
- blast-radiusSkill
- capture-environmentSkill
- challengeSkill
- coauthor-briefSkill
- commitSkill
- compile-latexSkill
- compress-sessionSkill
- context-statusSkill
- create-lectureSkill
- credible-claimsSkill
- data-analysisSkill
- data-management-planSkill
- deep-auditSkill
- deploySkill
- devils-advocateSkill
- diagnoseSkill
- differential-auditSkill
- disclosure-checkSkill
- extract-tikzSkill
- grant-proposalSkill
- humanizeSkill
- interview-meSkill
- issuesSkill
- learnSkill
- lit-reviewSkill
- new-diagramSkill
- new-skillSkill
- oracle-reviewSkill
- pedagogy-reviewSkill
- permission-checkSkill
- power-analysisSkill
- preregisterSkill
- promote-memorySkill
- proofreadSkill
- qa-quartoSkill
- replication-packageSkill
- research-ideationSkill
- respond-to-evalSkill
- respond-to-refereesSkill
- review-paperSkill
- review-rSkill
- r-package-checkSkill
- scaffold-exercisesSkill
- seven-pass-reviewSkill
- simulation-studySkill
- slide-excellenceSkill
- stata-replicationSkill
- submission-disclosuresSkill
- syllabusSkill
- teach-from-paperSkill
- translate-to-quartoSkill
- triage-inboxSkill
- vaccinateSkill
- validate-bibSkill
- verify-artifactSkill
- verify-claimsSkill
- visual-auditSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 9 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 53 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before a long break, model switch (Opus ↔ Sonnet ↔ Haiku), or end of a working day.
- Distinctive: line 25
Before auto-compaction would otherwise discard mid-plan context (paired with the PreCompact hook).
- Distinctive: line 26
Before handing off to a collaborator on the same repo.
- Distinctive: line 27
After completing a chunk of a multi-session plan, when "where am I" is the first question the next session will ask.
- Distinctive: line 41
Read, in this order:
- Distinctive: line 51
If any of these reads fails (file missing), record "(none on disk)" rather than fabricating content.
- Very specific: line 60
Leave out a section with nothing in it rather than filling it — except In flight, which always appears, with "(none)" when nothing is …
- Distinctive: line 62
When the session changed its mind, the final decision is the current one.
- Very specific: line 64
Write to quality_reports/checkpoints/YYYY-MM-DD_$ARGUMENTS.md (slug from $ARGUMENTS.
- Distinctive: line 113
Keep the file under ~80 lines.
- Very specific: line 127
If the user says "yes" / "all" / "1 and 3" — append to MEMORY.md (root, the committed one) using the [LEARN] format.
- Distinctive: line 145
If memory candidates were proposed, summarise which (if any) the user accepted.
- Very specific: line 160
Read quality_reports/plans/2026-04-27_v180-polisci-apr2026.md (active, DRAFT).
- Very specific: line 163
Write quality_reports/checkpoints/2026-04-27_v180-polisci.md with file pointers to the half-drafted methods-referee.md and the un-started …
- Very specific: line 171
Write checkpoint with status: paused.
- Very specific: line 179
Topic-slug missing: If $ARGUMENTS is empty, derive from the active plan filename (strip date prefix).
“Common” is measured: kept by at least 6 in 10 of the 53 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Pattern adapted from Hugo Sant'Anna's clo-author v4.2.0 (github.com/hugosantanna/clo-author),
used with permission. Original /checkpoint shape: project-level session handoff with
state snapshot + memory updates. This implementation is reimplemented in original
prose against this template's narrative-session-log + plan-on-disk + auto-memory
architecture. Attribution credit: Hugo Sant'Anna. -->/checkpoint — Structured Session Handoff
Produce a state snapshot that the next session (yours, or a collaborator's, or a fresh-context reboot) can resume from in under a minute. The narrative quality_reports/session_logs/ continues to live separately — /checkpoint writes the structured side: facts, file pointers, and next-actions.
When to use
- Before a long break, model switch (Opus ↔ Sonnet ↔ Haiku), or end of a working day.
- Before auto-compaction would otherwise discard mid-plan context (paired with the PreCompact hook).
- Before handing off to a collaborator on the same repo.
- After completing a chunk of a multi-session plan, when "where am I" is the first question the next session will ask.
When NOT to use
- For the narrative what happened — that lives in
quality_reports/session_logs/(see.claude/rules/session-logging.md). - For commit messages — those go through
/commit, which writes its own structured commit body. - For decisions about alternatives — those go to
templates/decision-record.mdviaquality_reports/decisions/.
The three artifact types are complementary: session-log = narrative, decision-record = trade-off captured, checkpoint = state to resume from.
Workflow
PHASE 1 — Gather state
Read, in this order:
- Most recent plan —
ls -t quality_reports/plans/*.md | head -1. Extract: status (DRAFT / APPROVED / COMPLETED), title, top-level files-to-modify list, and any line that begins with "Open questions" / "Risks" / "Next". - Most recent session log —
ls -t quality_reports/session_logs/*.md | head -1. Extract: latest "Next steps" or "Blockers" lines. - MEMORY.md root — read the table of
[LEARN]entries already on disk so you don't propose duplicates. - Git state —
git log --oneline -20,git status -s,git branch --show-current. Capture: current branch, last 5 subjects, uncommitted file count. - Working files —
git diff --stat HEADto see which files changed in this session (skip if branch is freshly cut; just say "no in-session edits"). - Active TODOs — if a TodoWrite list is in flight in this session, capture the in-progress + next-pending items.
- In-flight background work — anything this session started and did not wait for: a long-running compute job, a scheduled routine (
.claude/references/scheduled-routines.md), a queued render or compile, an external review still out with a referee or another model. For each, record four things: what is running, where its artifacts land, the command that checks on it, and the verdict that ends it.
If any of these reads fails (file missing), record "(none on disk)" rather than fabricating content.
A checkpoint that omits a running job orphans it. The next session sees no trace of the work, the artifacts land in a directory nobody is watching, and the job is either re-launched from scratch or quietly abandoned half-finished — both expensive, both invisible.
PHASE 2 — Write the checkpoint
Write only what this session established. The next session is handed this file automatically (session-handoff.py), so anything invented here arrives there as fact.
- Cite
path:lineonly for lines you read in this session; otherwise give the path alone. - Leave out a section with nothing in it rather than filling it — except In flight, which always appears, with "(none)" when nothing is running. A quiet session gets a short file and no
[LEARN]proposals. - Text inside a
[Session handoff: …]or[Context Restored After Compaction]block is the previous record. Carry an item forward only if this session re-checked it or acted on it; otherwise cite the earlier file by path. - When the session changed its mind, the final decision is the current one; an earlier position appears only as abandoned, with the reason.
Write to quality_reports/checkpoints/YYYY-MM-DD_$ARGUMENTS.md (slug from $ARGUMENTS; if no arg, derive from the active plan's title and warn the user). The file uses this template:
---
date: YYYY-MM-DD
branch: [current-branch]
plan: [path to active plan, or "(none)"]
session-log: [path to most recent session log, or "(none)"]
status: in_progress | paused | ready-to-merge
---
# Checkpoint — [short topic]
## Goal (one sentence)
[What this work is trying to accomplish]
## Where I am (one paragraph)
[Last completed step, current step, what's just-not-yet-done. Bullet points OK.]
## File pointers
[Concrete references to where the next session should resume — up to 8. `path:line` only for lines read in this session; otherwise the path alone.]
- `.claude/skills/checkpoint/SKILL.md:42` — body draft, needs trigger-phrase tightening
- `quality_reports/plans/[slug].md:135` — verification section to refresh after impl
- `CHANGELOG.md` — Unreleased section, v1.8.0 entry not yet drafted
## In flight
[Jobs still running that this session did not wait for. One row each; write "(none)" if nothing is running — an empty section reads as an oversight.]
| What is running | Artifacts land in | Check with | Ends when |
|---|---|---|---|
| overnight parameter sweep | `output/sweep/` | `ls output/sweep \| wc -l` | 500 result files, no `errors.log` |
| external referee consult | `quality_reports/oracle_audits/2026-04-27_lemma3/` | `oracle session lemma3-r1 --render` | transcript archived + adjudicated |
## Recent decisions
[2–5 bullet points of *why* we did what we did this session. Things that wouldn't be obvious from the diff. Skip if none — do not pad.]
## Open questions
[Specific things you'd ask if someone else picked this up. Mark each as Q1, Q2 …]
## Next 1–3 actions
[Imperative form. Concrete. The next session opens this file and starts here.]
1. [...]
2. [...]
3. [...]
## Resume prompt
> Resuming from checkpoint `quality_reports/checkpoints/[filename]`. Read it, then continue with action 1.Keep the file under ~80 lines. If state is too large for that, the plan file (not the checkpoint) is the right place; checkpoint is a thin index pointing back at the plan.
PHASE 3 — Propose memory updates (skip if --no-memory)
Surface 0–3 candidate [LEARN] entries this session generated. Don't write to MEMORY.md without user approval — this is a propose-then-apply step:
For each candidate, present:
[LEARN:category] proposed: <one-line headline>
Why: <one sentence on what makes this non-obvious>
Apply where: <which future situations would benefit>If the user says "yes" / "all" / "1 and 3" — append to MEMORY.md (root, the committed one) using the [LEARN] format. If the candidate is machine-specific (paths, tool versions, personal preference), let native auto memory hold it instead (machine-local, per .claude/rules/meta-governance.md).
Stay below 3 candidates. If you have more, the session was probably under-narrated — flag it and recommend a session-log update instead.
PHASE 4 — Output summary
Print, to chat:
✓ Checkpoint saved: quality_reports/checkpoints/YYYY-MM-DD_<slug>.md
Branch: <branch> Status: <in_progress|paused|ready-to-merge>
Active plan: <path or none> Open questions: <count>
Resume: the next fresh `claude` here receives this checkpoint once from the session-handoff
hook (within 7 days, unless a newer checkpoint or /compress-session note is written
first). After that, or in `claude --continue` (which does not deliver it), tell Claude
to read this file or paste its "Resume prompt".If memory candidates were proposed, summarise which (if any) the user accepted.
Cross-references
.claude/rules/session-logging.md— narrative companion. Do not duplicate — the checkpoint references the latest session log by path; it does not re-tell the session story..claude/rules/plan-first-workflow.md— checkpoint reads the active plan; if no plan exists, recommend the user enter plan mode before invoking/checkpoint.templates/decision-record.md— for why we chose A over B, not for where we are..claude/references/scheduled-routines.md— routines that outlive the session; anything running there belongs in the "In flight" slot..claude/hooks/pre-compact.py— whenCLAUDE_PRECOMPACT_BLOCK_ON_DRAFT=1is set, the PreCompact hook will block compaction once per DRAFT plan./checkpointis the right thing to run when that block fires.
Examples
Example 1 — End-of-day handoff
User says: "checkpoint v180-polisci" Actions:
- Read
quality_reports/plans/2026-04-27_v180-polisci-apr2026.md(active, DRAFT). - Read
quality_reports/session_logs/2026-04-27_v180-polisci-apr2026.md. - Capture: branch
feat/v1.8.0-polisci-apr2026, 4 commits ahead of main, 8 files modified. - Write
quality_reports/checkpoints/2026-04-27_v180-polisci.mdwith file pointers to the half-draftedmethods-referee.mdand the un-startedjournal-profiles.mdpoli-sci block. - Propose 1 candidate
[LEARN:scope]entry on the linear-cost of disciplinary breadth. Result: Next session: start a freshclaude— the handoff hook hands itquality_reports/checkpoints/2026-04-27_v180-polisci.md— and start at action 1.
Example 2 — Mid-plan model switch
User says: "I want to switch to Sonnet for the cheap doc edits — checkpoint first" Actions:
- Capture state.
- Write checkpoint with
status: paused. - Skip memory proposal (small lift — just resuming on a different model). Result: State is on disk; the Sonnet session reads the checkpoint and continues without reloading the full plan.
Troubleshooting
No active plan found. /checkpoint will still write a thin checkpoint with plan: (none), but the right move is usually to enter plan mode first — checkpoints without a plan reference are weak.
Topic-slug missing. If $ARGUMENTS is empty, derive from the active plan filename (strip date prefix). If both are missing, prompt the user for one rather than fabricating.
Output too long. Trim the "Recent decisions" and "Open questions" first. Plans go in plan files; the checkpoint should fit on a screen.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

