handoff

Solid

End-of-session save and next-session resume. Triggers "ending session", "wrapping up", "context window", "running out of context", "done for today" (save mode); "continue where we left off", "pick up where", "last session", "previous work", "resume" (resume mode).

AI & Automation 42 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Session Handoff Two-mode skill: **Save** state at end of session, **Resume** state at start of next session. ## Mode: Save Save current session state for later resumption. This is the **end-of-session boundary** skill — for mid-task rollback points before risky operations, use `/checkpoint`. ### Usage ```bash bun ~/.claude/src/scripts/handoff.ts create ``` Or use the native command: ``` /handoff ``` ### What Gets Saved Every handoff — auto or manual — always captures real, git-derived data at creation time: - **Project**: name, path, current branch - **Pending changes**: `git status --porcelain` (first 20 lines) - **Key files**: uncommitted paths **union** the files the session ledger observed being changed (see below) - **Recent commits**: subjects of the last 3 commits - **Source**: `manual` or `auto` (see below) Plus three sections built purely from **observed** tool activity, not inference: - **Files Modified** — every path a `Write`/`Edit`/`NotebookEdit` touched - **Files Read** — every path a `Read` touched - **Tool Failures** — the exact tool name and error string, bounded and secret-redacted These come from the session ledger, a bounded JSONL at `~/.claude/tmp/session-ledger/<session_id>.jsonl` written by the `PostToolBatch` hook. It exists to fix a specific hole: **`git status` forgets everything you committed.** A file edited at the start of a long session and committed an hour later is invisible to a `git status`-only handoff, so the longer the sess...

Details

Author
darkroomengineering
Repository
darkroomengineering/cc-settings
Created
7 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category