afc:resume

afc:resume is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 9 tokens per session (691 once invoked), scanned B, original, MIT.

A session-resume command that reads a saved checkpoint and restores the previous coding session’s branch, commit, feature, tasks, and modified-file context.

In plain words
What is it for?
Use it after stopping a session to resume from `.claude/afc/memory/checkpoint.md`, with a fallback search in Claude’s project memory.
Why use it?
It helps you continue interrupted work while checking whether the current project still matches the saved session.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it after stopping a session to resume from .claude/afc/memory/checkpoint.md, with a fallback search in Claude’s project memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhlee0409/all-for-claudecode/resume
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 jhlee0409/all-for-claudecode --skill resume
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/all-for-claudecode

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 hooks.

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 afc:resume

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/resume/github.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/resume)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/resume"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/resume/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 afc:resume

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/resume"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00009 $0.00691
Opus 5 $0.00005 $0.00345
Sonnet 5 $0.00002 $0.00138
Haiku 4.5 $0.00001 $0.00069

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

Security

Grade B, and why

afc:resume scanned grade B with 1 finding 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

!`cat .claude/afc/memory/checkpoint.md 2>/dev/null || echo "[NO_CHECKPOINT]"`
skills/resume/SKILL.md · 91 lines

How it starts

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

/afc:resume — Restore Session

Restores the previous session state from .claude/afc/memory/checkpoint.md and resumes work.

Arguments

  • $ARGUMENTS — (optional) none

Checkpoint State (auto-loaded)

!cat .claude/afc/memory/checkpoint.md 2>/dev/null || echo "[NO_CHECKPOINT]"

Execution Steps

1. Load Checkpoint

Use the pre-fetched checkpoint above. If it shows [NO_CHECKPOINT]:

  • Check auto-memory fallback: read ~/.claude/projects/{ENCODED_PATH}/memory/checkpoint.md
  • If fallback also not found: output "No saved checkpoint found." then stop

If checkpoint data was pre-fetched successfully: parse the full contents (extract branch, commit hash, pipeline feature, task progress, modified files).

2. Validate Environment

Compare the checkpoint state against the current environment:

  1. Branch check: Does the checkpoint branch match the current branch?
    • If different: warn + suggest switching
  2. File state: Have any files changed since the checkpoint?
    • First verify HEAD exists: git rev-parse --verify HEAD 2>/dev/null
      • If HEAD does not exist (empty repo / no commits): report "No commits yet — cannot check changes since checkpoint." and skip this check
    • If checkpoint hash is present and non-empty: git log {checkpoint hash}..HEAD --oneline
    • If checkpoint hash is empty or missing: report "Checkpoint has no git reference — cannot diff." and skip this check
  3. Feature directory: Does .claude/afc/specs/{feature}/ still exist?

3. Report State

## Session Restore

### Previous Checkpoint
- **Saved at**: {time}
- **Message**: {checkpoint message}
- **Branch**: {branch} {(matches current ✓ / differs ⚠)}

### Active Features
| Feature | Status | Progress |
|---------|--------|----------|
| {name} | {status} | {progress} |

### Changes Since Checkpoint
{list of new commits if any, or "No changes"}

### Incomplete Work
{incomplete work list from checkpoint.md}

### Recommended Next Steps
{recommended commands based on state}
- Tasks in progress → resume `/afc:implement`
- Plan complete → `/afc:implement` (tasks generated automatically at start)
- Spec only → `/afc:plan`

Read the full file on GitHub · 91 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. 12d ago First seen · 91 lines · 9 tokens per session scan B 4ff690ef8795

Subscribe to this mod's changes

afc:resume is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 691 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.