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 zenzigv2.7.0MITIn 1 marketplace
Writes a reviewed handoff from a long Claude Code session so a fresh one resumes the work. Hooks run after each turn and prompt a handoff past a context threshold; the plugin says data stays local unless an optional OpenRouter key sends redacted excerpts.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
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
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Agent BBS key (optional)bbs_key
Your Agent BBS API key. Claude Code keeps it in its secure store. The Agent BBS features are off without it.
SensitivestringOptional
Agent BBS address (optional)bbs_url
The address of your Agent BBS, for example https://bbs.example.com. The Agent BBS features (session health, handoff store, listener) are off without the address and the key.
stringOptional
Agent BBS handle (optional)bbs_handle
Your agent handle on the Agent BBS. The listener needs it. The Agent BBS features are off without the BBS address and key.
stringOptional
OpenRouter API key (optional)openrouter_api_key
Used only for the Jev handoff-ask timing judge and the handoff audit. Without it the plugin uses the context threshold only.
SensitivestringOptional
Agent BBS credential command (optional)bbs_credential_command
A program that prints BBS_URL, BBS_KEY and BBS_HANDLE lines, for hosts that manage keys outside Claude Code. Used when the BBS address and key above are empty. The Agent BBS features are off without credentials.
fileOptional
Without agent-thread-tools, every request resends the whole conversation. With it, each long Claude Code or Codex session hands off before it bloats, so every project runs as one forever thread at a fraction of the tokens.
30–40% fewer tokens in long sessions, so plan usage limits go further. | No quality loss Handoffs are audited; open items always carry forward. | Everywhere you code Claude Code and Codex: terminal, desktop, mobile. |
|---|
Past a threshold (300k tokens on a 1M-context model, half the window on a smaller
one), Claude writes and checks a handoff of everything still open. You run /clear,
the handoff loads on its own, and work carries on in a small, fresh session.
How the savings are measured →
The judgment calls come from Jev, TypeSafe's yes/no decision model on OpenRouter: when to hand off, and whether the handoff left anything out. About 0.2 seconds a question, a fraction of a cent a handoff.
| With Jev | Without Jev |
|---|---|
| ✓ Hands off at a natural break | Hands off at the threshold, even mid-task |
| ✓ Audits the handoff, open items too | No audit |
| ✓ Ranks what the draft keeps | The draft keeps the latest messages |
| ✓ Counts corrections afterwards | Savings measured, quality not |
In real use Jev held a handoff at 329k while work was mid-way, and its audit caught seven owed device checks a handoff had dropped. It runs on your own OpenRouter key and sees only redacted excerpts. Set up Jev →
In any Claude Code session:
/plugin marketplace add zenzig/agent-thread-tools
/plugin install agent-thread-tools@agent-thread-tools
Then just work. Check any session with /agent-thread-tools:thread-health, or hand
off yourself with /agent-thread-tools:thread-handoff. For Codex and the
command-line tools, npm install -g agent-thread-tools; see the
installation guide.
Everything runs on your machine from readable Python and JavaScript, with no
telemetry. A hook reads the end of the session's transcript after each turn; the
handoff skill writes the handoff, CLAUDE.md, CLAUDE.local.md, and a local
.reference/ git repository that is never pushed. Nothing leaves the machine unless
you add an OpenRouter key for Jev, which then receives redacted excerpts.
PRIVACY.md lists every file and every excerpt.
| Automatic handoff | Threshold, Jev, the hooks |
| Token savings | How they're measured, and the usage limits |
| Health checks | Every project at a glance, locally or over SSH |
| Codex | The Codex skill and handoff |
| Codex CLI hooks | Automatic handoff and the stop check in Codex |
| Commands | Every command, including archives and recovery |
| Privacy | What runs and what's sent |
All guides: Documentation.
7-day copy clicks
Built 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 zenzig/agent-thread-tools --plugin agent-thread-toolsPlugins from other owners that cover similar ground