What is context-handoff?
context-handoff is a Claude Code mod by Ankitrai97 that a bar above the prompt showing how full the chat's context is (green under 60%, amber 60-80%, red above 80%), with an H button and /handoff to save a handoff note that the next chat in the. It is listed under Context & memory and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | Ankitrai97 |
| Repository | Ankitrai97/rai-claude-mods |
| Popularity | 2 GitHub stars |
| Category | Context & memory |
| Security | High risk (56/100) |
| Rank | #1,103 of 5,272 Claude Code mods; #116 in Context & memory |
| Last commit | 2026-10-09 |
| Hooks | 6 events |
| Sees | Write|Edit calls |
| Draws on | AbovePrompt |
Is context-handoff safe to install?
context-handoff scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install context-handoff?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Ankitrai97/rai-claude-mods claude plugin validate ./rai-claude-mods/plugins/context-handoff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Ankitrai97/rai-claude-mods && claude plugin install context-handoff@rai-claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs context-handoff for you:
Install the "context-handoff" Claude Code mod from https://github.com/Ankitrai97/rai-claude-mods/tree/main/plugins/context-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Ankitrai97/rai-claude-mods
This repository has 5 Claude Code mods on MCPMods.
- codex-computer-use: Claude thinks, Codex clicks: routes Claude's desktop computer use through Codex's computer-use engine (exact values via (High risk)
- inbox-alerts-priority: Gmail, Slack and Calendar inside Claude Code, with pop-up alerts only for priority messages (High risk)
- simple-mode: Simple Mode: a plain-English checklist of what Claude is doing, one-line tool rows you can expand, and a two-line summar (Review before installing)
- usage-tally: Your Claude plan usage inside Claude Code: session (5h) and weekly limits with reset countdowns in the status line, a /t (Low risk)