Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By h-zahranv2.4.4MITIn 1 marketplace
Writes a handoff document when a session nears its context limit, so a fresh session resumes from one file read. A hook runs after every tool call and warns at 45% of the window by default; set the window size first, since an oversized one means it never fires. Requires jq.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
context-window, session-handoff, context-guard, resume-session, token-limit, hooks, workflow, context ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that notices when a session is running out of context and ends it cleanly enough that the next session resumes from a single file read.
You are deep in a long session. After every tool call, a hook quietly works out how full the context window is. Once you cross a line, it stops you:
CONTEXT GUARD: session context is at 45% of the 200000-token window (threshold 45%).
Finish ONLY the current atomic step — do NOT start the next batch or task.
Then invoke the handoff skill (handoff:handoff) ...
You finish the step you are on. You run /handoff:handoff, or say hand off.
It writes one document and prints this:
Resume with:
Read docs/handoffs/2026-08-25-csv-export-SESSION-HANDOFF.md and continue from it. Follow the Resume protocol.
Paste that into a fresh session and the work carries on. Nothing has to be rediscovered. The new session's first step runs a check the document carries, which prints MATCH or MISMATCH for the branch, the commit and the changed files, so anything that moved since the handoff is said out loud.
Open a fresh session in the same repository without pasting anything, and a session-start hook names the handoff for you, as long as the branch, the commit and the changed files still match it exactly. It only names the file; what to do with it stays your choice.
If you keep working past the warning, the guard nudges you again every 5% of
the window, or every thresholdTokens if you set that lower — not on every
tool call.
A fixed set of sections, so the next session always knows where to look:
| Section | What it holds |
|---|---|
| Branch & SHA | Branch, last commit, PR number, CI status |
| Goal & done-condition | What the run is for, and how you know it is finished |
| State | Done, in progress (the exact next action), remaining |
| Uncommitted work | Every changed path, marked as this run's work or pre-existing |
| Verification state | Last test count, analysis baseline, CI, runtime checks |
| Blocked | Each blocked item with its specific blocker |
| Gotchas | What is not recoverable from the code or git history |
| Deployments pending | Migrations and uploads not yet applied |
| Pipeline state | Only when a pipeline run is live: the phase, and how to resume it |
| Resume protocol | Numbered steps, starting with "check these claims against real git state" |
| Reconcile | Written last: the check Resume step 1 runs, MATCH or MISMATCH for the branch, the commit and the git status lines |
It never writes to git. No commit, no push, no git add, no stash. The hook
fired on its own, so nothing here was asked for — a commit message would be the
machine's, not yours. Instead it records the uncommitted work in full and prints
the commands, and the choice stays with you. Note the corollary: git clean and
git checkout will discard that work, and git stash will take it out of your
working tree, because it is still only there.
You can also invoke the skill yourself at any time. Say "hand off", or "stop after this batch and hand off".
To see a whole document before your first run, read a sample handoff document, written for a fictional project.
Four pieces. The guard and the handoff skill work together and are useful apart; the session-start hook finds what the skill wrote; the setup skill exists to configure the guard.
| Piece | Kind | Does |
|---|---|---|
| The context guard | a PostToolUse hook | Measures context after each tool call, warns past a threshold, re-warns once per 5% of the window, or per thresholdTokens if that is lower. |
handoff:handoff | a skill | Writes the document above, prints the resume prompt, stops. |
| The handoff finder | a SessionStart hook | When a session starts or is cleared, names a handoff whose recorded branch, commit and git status lines match the repository exactly. Silent otherwise. It never tells Claude to act on the file. |
handoff:setup | a skill | Measures your session, asks for your real window and stopping point, and writes those to ~/.delivery-kit.json — machine facts, so once is enough. Where a repository has .specify/, it also offers to write the pipeline block into that repository's file. It asks first. |
/plugin marketplace add h-zahran/delivery-kit
/plugin install handoff@delivery-kit
If the second command does not see the plugin, run /reload-plugins between
them. Requires jq on PATH — the guard parses a JSONL transcript, and without
jq it says so once rather than failing silently. Full steps, including
Windows, are in docs/install.md.
delivery-kit@delivery-kitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub h-zahran/delivery-kit --plugin handoffPlugins from other owners that cover similar ground