afc-resume
Restore previous session state
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Restore previous session state
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Code and component analysis — analyze code, trace flows, audit consistency, inspect components
Architecture analysis and design review
Full auto pipeline — run spec-to-clean cycle automatically for new features
Save session state for later resumption
Resolve spec ambiguities with clarifying questions
Pipeline artifact cleanup and codebase hygiene
| name | afc:resume |
| description | Restore previous session state |
| argument-hint | [no arguments] |
| model | sonnet |
| allowed-tools | ["Read","Glob","Bash"] |
Restores the previous session state from .claude/afc/memory/checkpoint.md and resumes work.
$ARGUMENTS — (optional) none!cat .claude/afc/memory/checkpoint.md 2>/dev/null || echo "[NO_CHECKPOINT]"
Use the pre-fetched checkpoint above. If it shows [NO_CHECKPOINT]:
~/.claude/projects/{ENCODED_PATH}/memory/checkpoint.mdIf checkpoint data was pre-fetched successfully: parse the full contents (extract branch, commit hash, pipeline feature, task progress, modified files).
Compare the checkpoint state against the current environment:
git rev-parse --verify HEAD 2>/dev/null
git log {checkpoint hash}..HEAD --oneline## 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`
Session restored
├─ Checkpoint: {time}
├─ Feature: {name} ({status})
├─ Progress: {completed}/{total}
└─ Recommended: {next command}