handofflisted
Install: claude install-skill armenr/modelmux
# /handoff — Capture session state to a durable, curated artifact
When invoked, do these steps in order. Be honest about what you know vs. what you'd be guessing.
## Detect invocation mode
- **Manual** — user typed `/handoff`. Report findings when done.
- **Silent (via PreCompact hook)** — the hook injected a `systemMessage` directive. Complete the work, then reply `NO_REPLY` (no user-facing prose).
Default to manual unless the systemMessage context indicates otherwise.
## 1. Current state (captured at invocation)
Today's date, LOCAL — this mechanically pins the §8 date rule; use it verbatim for frontmatter + body dates:
!`date +%Y-%m-%d`
Working tree:
!`git status --short 2>/dev/null || echo "(not a git repo)"`
Recent commits:
!`git log --oneline -10 2>/dev/null || echo "(no git history)"`
Commits ahead of origin/main:
!`git rev-list --count HEAD ^origin/main 2>/dev/null || echo "(no upstream)"`
Operator session notes (fold into the handoff; may be empty):
$ARGUMENTS
If the session touched runtime-facing code, gather minimal verification (the latest `bun run build` / `bun run lint` / `bun test test/` result; a `the TypeScript language server` reachability output if a wiring claim is in flight). Only what's relevant to "what changed this session." Don't over-fetch.
**Disposition uncommitted non-doc WORK explicitly.** If the working tree above shows uncommitted changes outside the doc surfaces, name them in the handoff — working-tree state in §3's status rewri