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.
Run automatically on Claude Code events. Claude doesn't decide.
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.
A status line that shows model, git, context, cost and rate limits, and a guard that tells a session, or any of its subagents, to write a handoff and stop before its context window fills.
claude plugin install context-kit --marketplace tinesoft/ai-plugins@main
| Component | What it does |
|---|---|
Hook PreToolUse (ctx-guard.sh) | Works out each session's and each subagent's context use from its transcript. Past 80% of the window, or past 200k tokens for a subagent, it tells that session once to take on no new work, write its handoff to tmp/handoffs/ and return. |
Hook SessionStart (install-statusline.sh) | Copies the status line script to the plugin's data folder, a path that survives plugin updates. |
Script statusline.sh | Model, directory, git branch, context bar, cost, duration and rate limits. It also writes the session's real window size to <project>/.claude/.ctx-window, which the guard reads. |
A plugin cannot set statusLine, so add it to the project's or your user .claude/settings.json:
"statusLine": {
"type": "command",
"command": "$HOME/.claude/plugins/data/context-kit-tinesoft-plugins/statusline.sh",
"padding": 1
}
Without it the guard assumes a 200k window. The script appears after the first session with the plugin enabled.
.claude/.ctx-window to each project's .gitignore.jq.env: CLAUDE_CTX_THRESHOLD (percent, default 80), CLAUDE_CTX_WINDOW (override the window, for example when subagents run on a model with a smaller one), CLAUDE_CTX_AGENT_MAX (subagent cap in tokens, default 200000).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 tinesoft/ai-plugins --plugin context-kitPlugins from other owners that cover similar ground