context-guardian
Ricky Stevens v2.3.3
Automatic context window monitoring and smart compaction for Claude Code. Zero dependencies. Context Guardian (cg) watches your context window usage in real time via a statusline and provides on-d...
From the developer
License
MIT
Declared components
Skills · Hooks
Works with
Claude Code
Description
From the marketplace listing
Automatic context window monitoring and smart compaction for Claude Code. Zero dependencies. Context Guardian (cg) watches your context window usage in real time via a statusline and provides on-demand compaction tools. When usage crosses a configurable threshold, the statusline turns red and recommends compaction - preserving your work and keeping Claude sharp.
What changed
No changes recorded yet. Follow this plugin to keep track of future changes.
Similar plugins
Find competitors to follow as you develop your plugin.
-
Real-time status line for Claude Code showing context window usage, git status, session cost, rate limits, cache stats, and more — all in...
Shared terms: usage, window, time, real
-
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
Shared terms: statusline, time, real, context
-
Displays real-time usage percentages (5h session, 7d weekly, context window), reset countdowns, burn rate, and exhaustion prediction in y...
Shared terms: usage, window, time, real
-
Display OpenAI Codex usage and rate limits inside Claude Code. Real-time statusline integration with claude-hud, slash commands for usage...
Shared terms: statusline, usage, time, real
-
Real-time session vitals for Claude Code. Shows context window health with color-coded progress bar, active tools with aggregated counts,...
Shared terms: window, time, real, context
Keywords
Files & skills
context-guardian · catalog manifest
Saved declaration
{}
context-guardian · catalog manifest
Saved declaration
{
"name": "context-guardian",
"source": {
"sha": "f125c23ea3f51e72ce714e45f0915bf690ba551b",
"url": "https://github.com/Ricky-Stevens/context-guardian.git",
"source": "url"
},
"homepage": "https://github.com/Ricky-Stevens/context-guardian",
"description": "Automatic context window monitoring and smart compaction for Claude Code. Zero dependencies.\n\nContext Guardian (cg) watches your context window usage in real time via a statusline and provides on-demand compaction tools. When usage crosses a configurable threshold, the statusline turns red and recommends compaction - preserving your work and keeping Claude sharp."
}
cg · catalog manifest
Skills
"./skills/"
Hooks
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/stop.mjs"
}
],
"matcher": ""
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/precompact.mjs"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.mjs"
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/submit.mjs"
}
],
"matcher": ""
}
]
}
Saved declaration
{
"name": "cg",
"tags": [
"context-management",
"smart-compact",
"token-monitoring"
],
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/stop.mjs"
}
],
"matcher": ""
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/precompact.mjs"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.mjs"
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/submit.mjs"
}
],
"matcher": ""
}
]
},
"author": {
"url": "https://github.com/Ricky-Stevens",
"name": "Ricky Stevens"
},
"skills": "./skills/",
"license": "MIT",
"version": "2.3.3",
"category": "productivity",
"keywords": [
"context",
"tokens",
"compaction",
"memory",
"context-window"
],
"repository": "https://github.com/Ricky-Stevens/context-guardian",
"description": "Automatic context window monitoring and smart compaction for Claude Code"
}
plugin.json observed Nov 6, 2026 · 10:42 UTC. Manifest source ↗
Catalog declarations and available plugin.json metadata are saved. Referenced skills and executable source files are not downloaded or tested. Missing components in a manifest do not prove that the plugin has none.
Installation instructions
Community
/plugin marketplace add anthropics/claude-plugins-community
/plugin install context-guardian@claude-community
Technical details
- Sources
- Community
- First seen
- Oct 3, 2026 · 22:13 UTC
- Last seen
- Nov 11, 2026 · 00:07 UTC
- Latest observed change
- Oct 3, 2026 · 22:13 UTC
- Collection status
- Listed
- Reported installs
- Not provided
Installation counts are source-reported, not independently verified active users. Observation dates are not release dates.
Download plugin data (JSON)Plugin history: freshly prepared. Prepared . Refreshed when catalog data changes or after 6 hours. Your account and Follow status are live.