context-guard
v0.12.1ContextGuard keeps AI coding-agent context lean, safe, and auditable with project-local setup, scans, large-read guards, output trimming/sanitizing, queryable log artifacts, budgeted context packs, tool/MCP schema pruning, statusline visibility, and usage audits.
By jinhonganLicense: Apache-2.03 GitHub starsUpdated 1 hour ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 3 skill or MCP entries
- Source updated
- Sep 1, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install context-guard for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install context-guard@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/ictechgy/context-guardClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/context-guard/.
Plugin files
├── .claude-plugin/plugin.json├── skills/audit/SKILL.md├── skills/optimize/SKILL.md└── skills/setup/SKILL.md
Included Skills3
Audit local Claude Code transcript usage and summarize likely token hotspots. Use when the user asks where Claude Code tokens are going or wants evidence before optimizing.
Diagnose and reduce Claude Code token usage for a project or session using context hygiene, model and effort routing, MCP minimization, output trimming/sanitizing, subagent discipline, and measurement. Use when the user asks to lower Claude Code token usage, cost, context bloat, or usage-limit burn.
Interactive or guided project setup for Claude Code token optimizer settings. Use when the user asks to install, configure, setup, enable hooks, or choose token-saving options interactively.
Plugin manifests1
{
"name": "context-guard",
"description": "ContextGuard keeps AI coding-agent context lean, safe, and auditable with project-local setup, scans, large-read guards, output trimming/sanitizing, queryable log artifacts, budgeted context packs, tool/MCP schema pruning, statusline visibility, and usage audits.",
"author": {
"name": "jinhongan"
},
"license": "Apache-2.0",
"keywords": [
"context-safety",
"context-hygiene",
"context-guard",
"claude-code",
"tokens",
"cost",
"context",
"settings",
"diet",
"read-symbol",
"large-read-guard",
"statusline",
"hooks",
"sanitize-output",
"grep-sanitizer",
"diff-sanitizer",
"secret-redaction",
"setup-wizard",
"interactive-setup",
"artifact-escrow",
"context-escrow",
"queryable-logs",
"tool-schema",
"mcp",
"schema-pruning",
"context-pack",
"research-radar",
"experimental-roadmap",
"gated-experiments",
"future-roadmap"
],
"version": "0.12.1"
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[context-guard on Agent Plugins Marketplace](https://pluginsmp.com/plugins/context-guard)