Claude Code mod
ctx-guard
Configurable context and usage guard: per-role notes, tool blocks, guarded handoff with clear-and-resume or compact, and subagent context budgets.
Install
/plugin marketplace add svd/agent-skills
/plugin install ctx-guard@svd-agent-skillsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- Unknown
- Sees
- every prompt, classic hooks, compaction, subagent spawns, every tool call
- Draws in
AbovePrompt- Hooks
session.startsession.measureturn.startprompt.submitturn.stepturn.completeclassic.Stopsession.endsession.compactagent.spawncommand.runtool.callui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- svd/agent-skills
- Folder
plugins/ctx-guard- Marketplace
svd-agent-skills- Author
- Sviatoslav Sviridov
- License
- MIT
- Last updated
- 9 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is ctx-guard?
Configurable context and usage guard: per-role notes, tool blocks, guarded handoff with clear-and-resume or compact, and subagent context budgets. It is a mod for Claude Code, from svd/agent-skills on GitHub.
What can the ctx-guard mod access?
Its reach could not be worked out from its code. It sees every prompt, classic hooks, compaction, subagent spawns, every tool call. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install ctx-guard?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add svd/agent-skills and then /plugin install ctx-guard@svd-agent-skills.
Is ctx-guard popular?
svd/agent-skills has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 9 November 2026.
More guard & safety mods
cloakroom
1modmyclaude/claude-code-mods
Check your secrets at the door. Claude gets a ticket; the real value only comes back where you allow it.
delegation-guard
1m-tababi/delegation-guard
Nudges the main session to hand reading, searching, research and review to subagents, and shows main-context fill and delegated tokens above the prompt.
client-guard
1jaycp30/jay-claude-mod
Asks you before any AWS write in a client account, enforces --region in personal projects, keeps CLAUDE.md hand-curated, and shows the AWS context above the prompt.
delete-guard
1vienna-bio-center/claude-vbc-mods
Stops Claude before it deletes or overwrites files: a side panel lists every folder and file at stake, with Cancel and Allow buttons
cinemetric
1jeremehancock/cinemetric
Claude skills for your Plex server. Read-only reports on your media and server, plus mods for Claude Code: a read-only guard, a library status line and a Now Playing panel.
dev-deck-mod
1snoo88071/dev-deck-mod
Your Claude Code CLI sessions in a pane: what's open and what it runs, the past ones to resume, your messages as chapters, and a guard against a second dev server. Windows.
Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.