Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/ictechgy/context-guard/auditnpx skills add ictechgy/context-guard --skill auditgit clone --depth 1 https://github.com/ictechgy/context-guardWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.00416 |
| Opus 5 | $0.00015 | $0.00208 |
| Sonnet 5 | $0.00006 | $0.00083 |
| Haiku 4.5 | $0.00003 | $0.00042 |
Grade A, and why
audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
ContextGuard Audit
Run a best-effort transcript audit, then interpret the result conservatively.
Default command:
context-guard-audit ~/.claude/projects --top 20 --recommend
If the user supplies a path, audit that path instead. If no path is supplied, keep the default Claude projects path:
if [ -n "$ARGUMENTS" ]; then
context-guard-audit "$ARGUMENTS" --top 20 --recommend
else
context-guard-audit ~/.claude/projects --top 20 --recommend
fi
Report:
- observed token buckets: input, output, cache_read, cache_creation;
- model distribution;
- query_source distribution: main, subagent, auxiliary;
- top transcript files and commands observed;
- generated recommendations with priority, reason, action, and evidence;
cache_friendlinessstatus, bounded prefix/tail churn signals, and any cache-layout findings;- top likely causes and one safe next experiment.
Privacy: default output uses basename+hash transcript labels and command category+hash labels. Do not ask for --show-paths or --show-commands unless the user explicitly wants local identifiers in the report. Cache-friendliness diagnostics use bounded redacted segment hashes and do not print raw prompt text. Recommendations are heuristics; treat them as hypotheses, especially with small files or records counts.
Caveat: Claude Code transcript schemas can change. Treat this as an operational signal, not billing authority. cache_read/cache_creation and cache_friendliness are provider-cache diagnostics, not proof of ContextGuard-caused token reduction. For billing authority, use Claude Console, cloud-provider billing, or configured OpenTelemetry metrics.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 40 lines · 29 tokens per session scan A 28d596a38bfa
audit is a skill published in the GitHub repository ictechgy/context-guard (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 29 tokens to every session and 416 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
audio-hooks
Use whenever the user asks to install, configure, uninstall, snooze, mute, test, troubleshoot, or change settings for the echook audio notification system. Trigger phrases include "audio hooks", "audio notifications", "snooze audio", "mute claude", "claude is too loud", "test audio", "switch audio theme", "rate limit…
rule
Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.
wikipedia
Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.
triage-issue-local
Repo-specific triage guidance for warp. Only the categories declared overridable by the core triage-issue skill may be specialized here.
test-warp-ui
Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.
claw-x-hub
Cloud file hosting, static site deployment, and cloud compilation using x hub. Use when the agent needs to share files/images, deploy a static website, or perform cloud compilation.