Skip to content
checkpointing-an-iteration logo

Checkpointing an Iteration

checkpointing-an-iteration

Use when saving current iteration progress mid-conversation, before context compaction, or at interim pause points

SKILL.md

Full skill instructions

Checkpointing an Iteration

Overview

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.

When to Use

Use this skill when:

  • User runs /​checkpoint-iteration command
  • Conversation is getting long, compaction may be imminent
  • Reached natural pause point mid-iteration
  • Discovered important context that must be preserved
  • Want to save progress before taking risky action

DO NOT use for:

  • Ending the iteration (use ending-an-iteration instead)
  • Starting iteration (use starting-an-iteration instead)

Quick Reference

StepActionTool
1. Find journal fileLocate current iteration journalGlob
2. Review conversationExtract work performed so farManual review
3. Read current journalGet existing contentRead
4. Update Work PerformedAppend new findingsEdit
5. Announce checkpointConfirm saveDirect output

Process

Step 1: Find Journal File

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.

Step 2: Review Conversation

Review the conversation since iteration started to extract:

Skills & Workflows Used (so far):

  • Scan for <invoke name="Skill"> tool calls
  • Note which skills used and for what purpose

Key Decisions Made (so far):

  • Identify major choices and rationale
  • Note alternatives considered

Artifacts Created/​Modified (so far):

  • Files created or changed
  • Git commits made
  • Pull requests opened

External Context Gathered (so far):

  • Web research findings
  • User feedback
  • Documentation consulted

Reasoning & Strategy Changes (so far):

  • Why certain approaches chosen
  • Where strategy pivoted

Blockers Encountered (so far):

  • What's preventing progress
  • Dependencies identified

Open Questions (so far):

  • What needs resolution
  • Decisions deferred

Step 3: Read Current Journal

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:

  • Metadata header (# Iteration NNNN - YYYY-MM-DD)
  • Beginning State section (from starting-an-iteration)
  • Iteration Intention section (from starting-an-iteration)
  • Work Performed section (may be partially filled from previous checkpoint, or empty)
  • Ending State section (will be empty - that's for ending-an-iteration)
  • Iteration Metadata section (will be empty - that's for ending-an-iteration)

Step 4: Update Work Performed Section

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:

  • Add new skills to "Skills & Workflows Used" list
  • Add new decisions to "Key Decisions Made"
  • Add new artifacts to "Artifacts Created/​Modified"
  • Append new findings to other sections
  • Preserve all existing content

Use Edit tool to update the file.

Step 5: Announce Checkpoint

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.

Important Notes

Checkpoint vs. End Iteration

Checkpoint:

  • Updates journal mid-iteration
  • Iteration continues after checkpoint
  • Can checkpoint multiple times per iteration
  • Doesn't update summary.md
  • Doesn't finalize "Ending State"

End Iteration:

  • Finalizes journal entry
  • Iteration concludes
  • Writes final "Ending State"
  • Updates summary.md if needed (every 5 iterations)
  • Conversation ends or new iteration starts

Multiple Checkpoints

It's fine to checkpoint multiple times:

  • Each checkpoint merges with previous content
  • Later checkpoints add to earlier ones
  • All information accumulated in journal

What Gets Preserved

Checkpointing preserves:

  • Work done so far
  • Decisions and reasoning
  • Blockers discovered
  • Context gathered

Checkpointing does NOT capture:

  • Future plans (that's in "Ending State" at iteration end)
  • Final assessment (that's for ending-an-iteration)
  • Complete iteration story (still in progress)

Merging Strategy

When updating Work Performed with existing content:

  • Append new items to lists (don't overwrite)
  • Preserve all existing information
  • Deduplicate if same item mentioned twice
  • Maintain chronological order within sections

Common Mistakes

MistakeReality
"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.

After Checkpointing

Once checkpoint is saved:

  • Journal updated with current progress
  • Context preserved against compaction
  • Iteration continues normally
  • Can checkpoint again later if needed
  • When ready to conclude, use /​end-iteration

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View