catchup
Fast 30s session bootstrap briefing. Use when resuming work after any break, at the start of a fresh session, or when unsure of current project state. Reports git status, recent commits, environment state, memory-index staleness, pending tasks, and red flags. NOT for deep code exploration or planning - it only reports state, it does not change it.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- catchup
- description
- Fast 30s session bootstrap briefing. Use when resuming work after any break, at the start of a fresh session, or when unsure of current project state. Reports git status, recent commits, environment state, memory-index staleness, pending tasks, and red flags. NOT for deep code exploration or planning - it only reports state, it does not change it.
03 SKILL.md 正文
Session Catchup Briefing
Read the state before changing it. Report it; do not act on it. Run everything fresh - never answer from cached or remembered state. An optional numeric argument sets how many recent commits to show (default 10).
Gather
- Git:
git status,git log --oneline -<N>, andgit diff --stat HEAD~<N>(fall back to the first commit if history is short). - Environment: active tmux sessions (
tmux list-sessions), python/venv presence if the project uses one. - Memory: list the project's auto-memory directory under
~/.claude/projects/<encoded-cwd>/memory/by modification time. - Tasks: check the task list for anything left in progress by a previous session.
- Handoff and state: read
HANDOFF.md, andSTATE.mdif the project keeps one, at the repo root.HANDOFF.mduses seven headings, in order: Goal; Files touched; Commands run (each with its exit code); Tried and failed; Open assumptions; Next single action; Written at (the output ofgit rev-parse HEAD). The verify command that proves the work sits under Commands run. Note each file's modification time and its status words so freshness can be checked against git (see Red flags). - Loam pin: only when
.copier-answers.ymlexists at the repo root (the project was seeded from Loam). Read its_commit. It is a red flag when_commitdoes not match^v[0-9]+\.[0-9]+\.[0-9]+$(a bare SHA, or agit describestring such asv2.1.0-39-g0d0cb03, is not a release tag), or when it is not the newest tag. Find the newest tag withgit -c http.lowSpeedLimit=1 -c http.lowSpeedTime=5 ls-remote --tags https://github.com/samyakjhaveri/loamsorted by version, ignore lines ending in^{}(thegh:shorthand is Copier-only and fails in git; the low-speed bound aborts the fetch after about 5 seconds when offline, withouttimeout). When it fails (offline), compare againstVERSIONin the template checkout (strip the leading v before comparing) only if_src_pathpoints to a reachable local Loam checkout; otherwise printpin check skipped: offline.
Red flags - put these at the TOP of the briefing
- Uncommitted changes or a detached HEAD.
- A merge or rebase in progress.
- Active tmux sessions that may be running long jobs.
- Memory files untouched for 14+ days.
- In-progress tasks from a previous session.
- A stale
HANDOFF.mdorSTATE.md. Flag either file when any of these hold:- its modification time is older than the last commit:
git log -1 --format=%ctversus the file's mtime (stat -f %m <file>on macOS,stat -c %Y <file>on Linux); - its status words contradict git: it says "uncommitted" or "dirty" while
git status --porcelainis empty; or "clean" or "committed" whilegit status --porcelainis non-empty; or "pushed" whilegit status -sbshows the branch ahead of its upstream; or its "Written at" hash is notgit rev-parse HEAD. Report the drift; the repository state overrides the handoff, never the reverse.
- its modification time is older than the last commit:
- Loam pin drift: print
Loam pin <commit> is not the latest release <tag>; run uvx copier update --trustwhen the pin is behind the newest tag, orLoam pin <commit> is not a release tagwhen_commitis not avX.Y.Ztag.
Briefing format
Keep it to one screen. State only - the user decides what to do with it.
=== CATCHUP BRIEFING ===
[red flags, if any]
Branch / status / last commit
Recent commits (N)
Changed files since HEAD~N (diffstat)
Environment: tmux / venv / python
Memory: file count, most recent, stale list
Handoff / State: next single action + verify command (or: none; or: STALE - hash / mtime / status words disagree with git)
Loam pin: _commit + verdict (latest / not the latest / not a release tag / offline) - or: not a Loam project
Open tasks (or: none)
=== END BRIEFING ===
04 同仓库更多 Skills
verify-loam
Prove a Loam change in a real rendered project: copier-render this checkout, then drive headless and interactive Claude Code sessions, stubbed Codex runs and copier updates in the render and capture hook, memory, deny-rule, update and check evidence. Use before shipping any seed, hook, settings or copier.yml change.
hypothesis-tree
Persistent hypothesis tree for multi-step, multi-session investigations. Use when a "why does X fail" question branches into sub-hypotheses that must survive across sessions, or when falsifiable claims need tracking with dated, linked evidence. Maintains one markdown file with add, update, review, and prune subcommands, each gated on verifying the cited evidence file exists and supports the claim. NOT for a single-session bug hunt, a one-command question, or general note-taking.
fable-prompting
Which Claude Fable 5.2 guide sections you can act on from a session, and which Claude Code already injects. Use before writing a Fable session prompt or brief.
catchup
Read-only session bootstrap briefing of git state, commits, handoff, tasks and red flags. Use when resuming work, starting a fresh session, or unsure of project state.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.