by cablate
Claude Code mod: hands off to a fresh conversation when context fills up, keeps the cache warm while you're away, and turns what you teach Claude into project notes
# Add to your Claude Code skills
git clone https://github.com/cablate/ctx-handoff-modGuides for using ide extensions skills like ctx-handoff-mod.
See how ctx-handoff-mod compares with popular alternatives.
ctx-handoff-mod is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cablate. Claude Code mod: hands off to a fresh conversation when context fills up, keeps the cache warm while you're away, and turns what you teach Claude into project notes. It has 65 GitHub stars.
ctx-handoff-mod's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cablate/ctx-handoff-mod" and add it to your Claude Code skills directory (see the Installation section above).
ctx-handoff-mod is primarily written in TypeScript. It is open-source under cablate on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ctx-handoff-mod against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Long Claude Code sessions run into the same chores again and again. ctx-handoff takes care of them in the background, so in normal use you type no commands.
| When… | Without it | With ctx-handoff |
|---|---|---|
| the conversation is nearly full | You write a summary, /clear, paste it back |
A summary is written, the conversation is cleared, and a fresh one continues |
| you step away for an hour | Your next message rereads everything at full price | The cache is kept warm for up to about 4 hours |
| you repeat an instruction | The next conversation forgets it | It becomes a project note, and after 3 times a line in your repo |
you /clear or reopen Claude Code |
The new conversation starts blind | It's told where the last one stopped |
| Claude retries a failing command, or says "done" untested | You find out later | Claude gets a one-line nudge right away |
Requires Claude Code 2.1.287 or later. Tested up to 2.1.293.
claude plugin marketplace add cablate/ctx-handoff-mod
claude plugin install ctx-handoff@ctx-handoff-mod
Start a new session and type /handoff. You should see:
context 12034 / threshold 600000 (window 1000000)
Cache refresh on, refreshed 0/3 this idle period, timer not started
That's it. Update with claude plugin update ctx-handoff@ctx-handoff-mod, or turn on auto-update under Marketplaces in /plugin.
[!NOTE] Built for Claude subscriptions and long sessions (for example on a 1M-context model). On an API key, Bedrock or Vertex the cache lasts only 5 minutes, so run
/handoff refresh off; everything else works. ctx-handoff is experimental, because Claude Code mods are still in early access.
ctx-handoff is a growing toolkit for long sessions: new features for working with Claude over hours land here.
At 600k tokens it waits for Claude and its subagents to finish, writes a summary that keeps verified work apart from unverified changes, lists what failed and the limits you set, ends with one next step, clears, and continues in a fresh conversation. Anything you type meanwhile is carried over.
Preferences, corrections and facts become one Markdown notes file per project, loaded into every new conversation. Routines you repeat become project skills. Only the new part of the conversation is read, by Sonnet 5.5 at low effort.
/handoff guard suggest turns a rule that keeps coming up into a check on tool calls, and nothing applies until you approve it. /handoff panel opens a panel above the prompt for guards, memories, rules, the latest notes update and every setting.
Everything is on the panel's Settings tab (/handoff panel, then 5), with where each value comes from and a reset button. The defaults are meant to be left alone. The guide lists every setting.
~/.claude/projects/. Check what the mod may do with claude plugin validate; the guide explains every entry.