← ClaudeAtlas

handofflisted

Capture current session state to a curated artifact at .agent-docs/now/handoff.md plus an archive entry at .claude/handoffs/<timestamp>-<slug>.md. Updates now/status.md, now/work-plan.md, now/open-questions.md, log.md to current reality; sweeps the inter-party obligations ledger both directions (owed-by / owed-to, each receivable carrying a trigger + a default-if-silent) — the standalone now/obligations.md when it exists, else a handoff Obligations section; on multi-party installs, sweeps live inter-agent room threads into a Room-threads continuity block (participants/roles, message anchors, standing hooks, the re-read rule). Accepts optional session notes as arguments. Use at natural checkpoints, before compaction, before session-end, or when context exceeds ~80%. Does NOT auto-commit.
armenr/modelmux · ★ 1 · AI & Automation · score 73
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