MCPInstall

catchup

Use after /clear, /compact, session resume, or context loss. Use when branch context is stale or unknown. Use when starting work in an existing worktree.

Installs
581
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/camacho/ai-skills --skill catchup
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads catchup automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Catchup — Context Reconstruction

This skill is strictly read-only. Do NOT edit files, create branches, or run write commands.

1. Gather data (run all independent steps in parallel)

  • git log --format="%h %s (%ar)" -20, git status, and git worktree list
  • Read .branch-context.md (if exists — check CWD and worktree root). Parse YAML frontmatter: workflow_step, validate_round/validate_max, review_round/review_max, plan_review_chunk/plan_review_total/plan_chunks_approved
  • Read ai-workspace/MEMORY.md — note anything in-progress or blocking
  • Read HANDOFF.md (if exists)
  • List ai-workspace/plans/ (sort by mtime, most recent first) and read the first file that does NOT end in .done.md or .executed.md
  • Search Basic Memory via MCP for recent entries matching the current branch name. If MCP unavailable, skip silently.
  • GitHub — check availability first:
    command -v gh >/dev/null 2>&1 && gh auth status >/dev/null 2>&1
    
    If authenticated, run in parallel:
    gh pr list --state open
    gh issue list --state open --limit 15
    
    If gh is unavailable or unauthenticated, note "GitHub CLI unavailable" and skip. Do NOT attempt to install or authenticate.

2. Synthesize

Present findings in this format. Omit sections where the data source was not found (e.g., no HANDOFF.md, gh unavailable). Always show Loop state and Blockers even when empty — absence is informative:

Branch:         <name> — <what we're building (from plan or branch-context)>
Worktree:       <path> (or "primary")
Last commit:    <hash> <message>
Uncommitted:    <staged/unstaged summary, or "clean">
Workflow step:  <N> — <step name> (from frontmatter, or inferred)
Loop state:     validate <round>/<max>, review <round>/<max>
Active plan:    <file> — <current phase> — <next action>
Blockers:       <list>
Open PRs:       <count — titles>
Open issues:    <count — top 5 titles>
Handoff:        <detail>

After the summary, surface blockers and TODO items prominently — remaining work, failing CI, stale branches, items from memory flagged as blocking. These go above the fold, not as footnotes.

3. Suggest next actions

Based on gathered state, suggest 2-3 concrete next actions. Examples:

  • "Resume building — plan X is at step 5 (Build)"
  • "Run /validate — implementation looks complete"
  • "Address blocker: [description]"
  • "Review open PR #N — awaiting action"
  • "Pick up issue #N — in-progress"

End with: "What would you like to do?"

Failure modes

  • No .branch-context.md: infer workflow step from git state and plan file status. Note: "No branch context — step inferred."
  • No active plan: note "No active plan." Do not search .done.md files.
  • On main branch: skip branch-context and plan lookup. Show git state, PRs, issues, and memory only.
  • Basic Memory MCP unavailable: skip silently.
  • gh unavailable: show "GitHub CLI unavailable — PR/issue status unknown."

FAQ

What does the catchup skill do?

Use after /clear, /compact, session resume, or context loss. Use when branch context is stale or unknown. Use when starting work in an existing worktree.

How do I install catchup?

Run npx skills add https://github.com/camacho/ai-skills --skill catchup in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/catchup/ (personal) or .claude/skills/catchup/ (project).

Which AI agents can use catchup?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is catchup safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains catchup?

It is published by camacho in camacho/ai-skills. It has 581 recorded installs.

More from camacho/ai-skills

View all →

archive

camacho/ai-skills

Fills Outcomes & Learnings in a plan file and renames it to .done.md.

bail

camacho/ai-skills

Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.

capture

camacho/ai-skills

Creates a draft GitHub Issue with triage label from natural language description.

669 installs

plan-review

camacho/ai-skills

Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.

orient

camacho/ai-skills

Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.

reflect

camacho/ai-skills

Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs