context-auto-handoff

by AmiTu1020 · ★ 1 · updated 15 Oct 2026

ToastsGuardsCommandsPromptwarnings

0

context 用到門檻時寫交接卡、檢查合格後清空對話,由新對話接手;/handoff 手動交接,/handoff cancel 取消

install context-auto-handoff

Install

git clone https://github.com/AmiTu1020/mods-context-auto-handoff-public
claude --plugin-dir ./mods-context-auto-handoff-public

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runtool.callprompt.submitturn.complete
API calls
$.clock.after$.command.register$.command.run$.env.get$.fs.exists$.fs.read$.fs.stat$.prompt.submit$.session.root$.session.usage$.ui.log$.ui.toast
Can see
every tool callevery prompt
Reach
level 2 of 3 drives Claudereads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/AmiTu1020/mods-context-auto-handoff-public
Path in repo
repository root
Source commit
db75163 the exact code the scan read
Author
@AmiTu1020
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.