PlugMyPlugin
← Browse

ctx-guard

svd ★ 0

ctx-guard is a configurable context and usage guard for long Claude Code sessions that monitors context window and 5-hour/weekly usage limits, sending the model escalating notes to wrap up, blocking resource-intensive tools when limits approach, and safely restarting sessions via handoff with multi-check verification. It runs entirely from JSON configuration with no external dependencies, providing visibility through a status band showing context fill and usage metrics, and prevents work loss through strict restart safety checks.

Project Management Productivity No API key detected prompt pack

Install

> /plugin marketplace add svd/agent-skills/tree/HEAD/plugins/ctx-guard
> /plugin install ctx-guard

Source: https://github.com/svd/agent-skills/tree/HEAD/plugins/ctx-guard

What it's made of

1 command · 1 skill

Commands
1
Agents
0
Skills
1
MCP servers
0
Hooks
0

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
none
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (svd).