Home / Claude Code mods / Cost & usage / context-handoff

context-handoff

context-handoff is a Claude Code mod by Gat0rRex that tells the model when the context passes 250k tokens (heads-up) and 300k (hand off), so it finishes the task it's on and then hands off to a fresh session instead of starting another.

Updated 2026-11-02

What is context-handoff?

context-handoff is a Claude Code mod by Gat0rRex that tells the model when the context passes 250k tokens (heads-up) and 300k (hand off), so it finishes the task it's on and then hands off to a fresh session instead of starting another. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorGat0rRex
RepositoryGat0rRex/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (88/100)
Rank#6,046 of 9,397 Claude Code mods; #1,125 in Cost & usage
LicenseMIT
Last commit2026-11-02
Hooks4 events
Seescompaction, every prompt, every tool call
Draws onnothing

Is context-handoff safe to install?

context-handoff scores 88/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 7 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.session.usage
$.state.get
$.state.set

How do I install context-handoff?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Gat0rRex/claude-mods
    claude plugin validate ./claude-mods/context-handoff
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Gat0rRex/claude-mods && claude plugin install context-handoff@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/Gat0rRex/claude-mods/tree/main/context-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Gat0rRex/claude-mods

This repository has 6 Claude Code mods on MCPMods.

  • agent-spend: /agent-spend opens a pane listing each subagent's type, model, tokens and estimated cost against the session's total. (Low risk)
  • checkpoint-watch: A band above the prompt saying how old the project's Checkpoint.md is and how many file edits it is behind, with a toast (Low risk)
  • context-band: A band above the prompt showing how full the context is (amber from 300k tokens, red from 400k), the session's cost and (Low risk)
  • loose-ends: A band above the prompt listing what Claude started and left running: background shells, terminal tabs it opened, previe (Review before installing)
  • review-gate: A band above the prompt counting the files edited since a reviewer agent last finished; database files wait for db-adver (Low risk)