mmacpherson

Catchup — Git skill for Claude Code

Git community

Refresh Claude Code's memory on branch changes.

How to install Catchup

Installs to ~/.claude/commands/mmacpherson-tenforty-catchup.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/mmacpherson/tenforty/HEAD/.claude/commands/catchup.md -o ~/.claude/commands/mmacpherson-tenforty-catchup.md

Restart Claude Code, or start a new session, for it to be picked up.

What Catchup does

Refresh Claude Code's memory on branch changes.

  1. Run git diff --stat main...HEAD and git diff --name-status main...HEAD
  2. Parse output to detect renames (exclude from counts)
  3. Auto-select strategy:
    • Small (<10 files): Load all changed files
    • Medium (10-25 files): Load core full, list test names only
    • Large (>25 files): Use diffs for files >500 lines
  4. Execute:
    • Core files (src/tenforty/*.py): Read full
    • Test files: List test names only
    • Generated files (*.cpp,

Alternatives in Git

  • Intel — On-demand intelligence fetch for a target — CVEs, disclosed reports, new features 3.8k ★
  • My Claude Code Setup — GitHub Repo stars Shared starter template configuration and CLAUDE.md memory bank system Setup template 2.1k ★
  • MCP Memory Service — GitHub Repo stars MCP server providing semantic memory and persistent storage for Claude Memory service MCP 1.5k ★

Full documentation available on GitHub

View Source Repository