From autonomy
Use when saving current iteration progress mid-conversation, before context compaction, or at interim pause points
npx claudepluginhub tilmon-engineering/claude-skills --plugin autonomyThis skill uses the workspace's default tool permissions.
Save current iteration progress by updating the journal entry with work performed so far, preserving state before potential context loss.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
Save current iteration progress by updating the journal entry with work performed so far, preserving state before potential context loss.
Core principle: Protect important context from compaction. Update journal incrementally during long conversations.
Use this skill when:
/checkpoint-iteration commandDO NOT use for:
| Step | Action | Tool |
|---|---|---|
| 1. Find journal file | Locate current iteration journal | Glob |
| 2. Review conversation | Extract work performed so far | Manual review |
| 3. Read current journal | Get existing content | Read |
| 4. Update Work Performed | Append new findings | Edit |
| 5. Announce checkpoint | Confirm save | Direct output |
Locate the current iteration's journal:
# Use Glob to find journal files
pattern: "autonomy/*/iteration-*.md"
Sort by filename (iteration number) and identify the most recent one. This should be today's date or recent.
If no journal file found:
"No active iteration journal found.
This usually means `/start-iteration` wasn't run yet. Start an iteration first before checkpointing."
Stop here.
If journal file found: Extract the full path and proceed.
Review the conversation since iteration started to extract:
Skills & Workflows Used (so far):
<invoke name="Skill"> tool callsKey Decisions Made (so far):
Artifacts Created/Modified (so far):
External Context Gathered (so far):
Reasoning & Strategy Changes (so far):
Blockers Encountered (so far):
Open Questions (so far):
Read the existing journal file to see what's already documented:
# Use Read tool
file: "autonomy/[goal-name]/iteration-NNNN-YYYY-MM-DD.md"
The journal will have:
Update the "Work Performed" section with current findings from Step 2.
If Work Performed section is empty: Replace the empty section with full content:
## Work Performed
### Skills & Workflows Used
[From Step 2 review]
### Key Decisions Made
[From Step 2 review]
### Artifacts Created/Modified
[From Step 2 review]
### External Context Gathered
[From Step 2 review]
### Reasoning & Strategy Changes
[From Step 2 review]
### Blockers Encountered
[From Step 2 review]
### Open Questions
[From Step 2 review]
If Work Performed section already has content: Merge new findings with existing:
Use Edit tool to update the file.
Report to user:
**Checkpoint saved for iteration [N]**
Journal updated: `autonomy/[goal-name]/iteration-NNNN-YYYY-MM-DD.md`
## Checkpoint Summary
- **Skills used:** [Count] skills/workflows
- **Decisions made:** [Count] key decisions
- **Artifacts created:** [Count] files/commits
- **Blockers:** [Count] blockers identified
- **Open questions:** [Count] questions pending
Context preserved. Safe to continue or compact conversation.
---
To finalize this iteration, use `/end-iteration` when ready.
Checkpoint:
End Iteration:
It's fine to checkpoint multiple times:
Checkpointing preserves:
Checkpointing does NOT capture:
When updating Work Performed with existing content:
| Mistake | Reality |
|---|---|
| "I'll create new journal file for checkpoint" | NO. Update existing journal from starting-an-iteration. |
| "I'll overwrite existing Work Performed section" | NO. Merge new content with existing. |
| "I'll write Ending State during checkpoint" | NO. That's only for ending-an-iteration. |
| "Checkpoint means iteration is over" | NO. Iteration continues after checkpoint. |
| "I'll skip checkpoint if conversation isn't long" | NO. Checkpoint anytime user requests it. |
Once checkpoint is saved:
/end-iteration