Context Audit — Security skill for Claude Code
Audit how much input-token bloat the read-guard removes on this repo.
How to install Context Audit
Installs to ~/.claude/skills/dani-lore-token-economy-kit-context-audit/SKILL.md
mkdir -p ~/.claude/skills/dani-lore-token-economy-kit-context-audit && curl -fsSL https://raw.githubusercontent.com/dani-lore/token-economy-kit/HEAD/commands/context-audit.md -o ~/.claude/skills/dani-lore-token-economy-kit-context-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Context Audit does
description: Audit how much input-token bloat the read-guard removes on this repo allowed-tools: Bash(node "${CLAUDE_PLUGIN_ROOT}/benchmarks/score.mjs") disable-model-invocation: true
Report the input-bloat benchmark for the current working directory: the tokens an agent would spend on blind Reads here, and how much the read-guard cuts.
Scorer output:
!`node "${CLAUDE_PLUGIN_ROOT}/benchmarks/score.mjs"`
From that output, report in at most six lines:
- the cut ratio (baseline vs guard
Alternatives in Security
- Security Guardian — Comprehensive security analysis for RTK CLI tool, focusing on command injection, shell escaping, hook security 11.9k ★
- Octoboss Clean Contexts — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
- Imcodes — The IM for agents 960 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Unclog
Audit MCP servers, skills, and CLAUDE.md bloat eating your Claude Code context window.
Context Gardening
Audit CLAUDE.md, its linked docs, and .claude/memory/ against the patterns from "A good AGENTS.md is a model u
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Claude Cache Guard
Claude Code skill that stops prompt-cache thrash: -88% token burn in image-heavy agent sessions, with an audit
Cost Autopsy
Session token-burn autopsy (TCO v1). Reads the TIS telemetry log and reports per-session token spend (input /
Skill Detail
Shared model-rubric detail + plan-doc update pattern for gate-a~e, audit, doc-cleanup. Load on demand (not aut
Related Agents
Mb Context Doctor
Diagnoses CLAUDE.md and .claude/ bloat. Runs token counts, identifies what's redundant or stale, and proposes
Agent Harness Optimizer
Context window, token budget, and agent harness optimization specialist. Analyzes transcript bloat, tunes prom
Harness Security Reviewer
Security reviewer — self-scoping OWASP Top 10 and STRIDE audit of a pinned diff, covering auth, secrets, input