Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
yonatangross avatar

Checkpoint Resume

  • 144 installs
  • 213 repo stars
  • Updated August 4, 2026
  • yonatangross/orchestkit

Persist long-running agent task state, recover after interruption, and resume multi-step workflows without redoing completed orchestration steps.

About

Checkpoint-resume in yonatangross/orchestkit enables Claude Code agents to save orchestration progress and continue later—recording completed steps, pending work, and context so lengthy build, research, or migration flows survive restarts without redundant execution.

  • Durable checkpoints for long agent jobs
  • Safe resume after failure or pause
  • OrchestKit workflow continuity patterns
  • Reduces duplicated tool calls and cost
  • Supports multi-phase autonomous runs

Checkpoint Resume by the numbers

  • 144 all-time installs (skills.sh)
  • +1 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #3,422 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yonatangross/orchestkit --skill checkpoint-resume

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs144
repo stars213
Last updatedAugust 4, 2026
Repositoryyonatangross/orchestkit

What it does

Persist long-running agent task state, recover after interruption, and resume multi-step workflows without redoing completed orchestration steps.

Files

SKILL.mdMarkdownGitHub ↗

Checkpoint Resume

Rate-limit-resilient pipeline orchestrator. Saves progress to .claude/pipeline-state.json after every phase so long sessions survive interruptions.

Quick Reference

CategoryRuleImpactKey Pattern
Phase Ordering${CLAUDE_SKILL_DIR}/rules/ordering-priority.mdCRITICALGitHub issues/commits first, file-heavy phases last
State Writes${CLAUDE_SKILL_DIR}/rules/state-write-timing.mdCRITICALWrite after every phase, never batch
Mini-Commits${CLAUDE_SKILL_DIR}/rules/checkpoint-mini-commit.mdHIGHEvery 3 phases, checkpoint commit format

Total: 3 rules across 3 categories

On Invocation

If `.claude/pipeline-state.json` exists: run scripts/show-status.sh to display progress, then ask to resume, pick a different phase, or restart. Load Read("${CLAUDE_SKILL_DIR}/references/resume-decision-tree.md") for the full decision tree.

If no state file exists: ask the user to describe the task, build an execution plan, write initial state via scripts/init-pipeline.sh <branch>, begin Phase 1.

Execution Plan Structure

{
  "phases": [
    { "id": "create-issues", "name": "Create GitHub Issues", "dependencies": [], "status": "pending" },
    { "id": "commit-scaffold", "name": "Commit Scaffold", "dependencies": [], "status": "pending" },
    { "id": "write-source", "name": "Write Source Files", "dependencies": ["commit-scaffold"], "status": "pending" }
  ]
}

Phases with empty dependencies may run in parallel via Task sub-agents (when they don't share file writes).

After Each Phase

1. Update .claude/pipeline-state.json — see Read("${CLAUDE_SKILL_DIR}/rules/state-write-timing.md") 2. Every 3 phases: create a mini-commit — see Read("${CLAUDE_SKILL_DIR}/rules/checkpoint-mini-commit.md")

References

Load on demand with Read("${CLAUDE_SKILL_DIR}/references/<file>"):

FileContent
references/pipeline-state-schema.mdFull field-by-field schema with examples
references/pipeline-state.schema.jsonMachine-readable JSON Schema for validation
references/resume-decision-tree.mdLogic for resuming, picking phases, or restarting

Scripts

  • scripts/init-pipeline.sh <branch> — print skeleton state JSON to stdout
  • scripts/show-status.sh [path] — print human-readable pipeline status (requires jq)

Key Decisions

DecisionRecommendation
Phase granularityOne meaningful deliverable per phase (a commit, a set of issues, a feature)
ParallelismTask sub-agents only for phases with empty dependencies that don't share file writes
Rate limit recoveryState is already saved — re-invoke /checkpoint-resume to continue
Plan mode preserved across --resume (CC 2.1.132+) — --permission-mode plan is honored on resume, and ExitPlanMode re-applies plan mode for the rest of the session. See configure/references/cc-version-settings.md (## CC 2.1.132 Settings).
Claude-managed worktrees are unlocked on finish (CC 2.1.157+) and EnterWorktree can switch worktrees mid-session — a resumed session can clean up prior worktrees with plain git worktree remove/prune.
/cd (CC 2.1.169+) moves the session to a new working directory WITHOUT breaking the prompt cache — prefer it over restarting when a checkpointed task continues in a different directory (e.g. hopping into a manually created worktree).
Self-hosted runners: the post-session lifecycle hook (CC 2.1.169+) runs after session end and before workspace deletion — the right place to snapshot uncommitted checkpoint state or export .claude/chain/ handoffs that would otherwise be destroyed with the workspace.

Related skills

AI & Agent Buildingagentsautomationllm

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.