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
Finding similar plugins… Results will appear here automatically.
Browse plugins →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 28, 2026 · 06:11 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: served from cache. Prepared . Refreshed when catalog data changes or after 6 hours. Your account and Follow status are live.