Claude Token Hygiene — Security skill for Claude Code
Audit and reduce the hidden token overhead in every Claude Code conversation.
How to install Claude Token Hygiene
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Growth4U-systems/claude-token-hygiene and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Token Hygiene does
Audit and reduce the hidden token overhead in every Claude Code conversation. Monthly skill + automation.
Alternatives in Security
- Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
- Query Token Audit — Audit token security to detect scams, honeypots, and malicious contracts across BSC, Base, Solana, and Ethereu 483 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
README
Claude Code Token Hygiene
**Your Claude Code conversations are wasting 30-50% of tokens on system context you don't need.**
Every conversation loads CLAUDE.md, MEMORY.md, skill descriptions, MCP tool listings, and hooks — before you type a single word. On a typical power-user setup, that's **15,000-35,000 tokens of overhead per conversation**.
This skill audits that overhead and tells you exactly where to cut.
The Problem
You type: "fix the bug in auth.ts"
What Claude actually processes:
├── CLAUDE.md instructions ~8,000 tokens
├── MEMORY.md auto-memory ~5,000 tokens
├── 89 skill descriptions ~6,000 tokens
├── 7 MCP servers (220 tools) ~3,300 tokens
├── Hooks & system reminders ~2,000 tokens
├── Your message ~20 tokens
└── Total ~24,320 tokens ← before Claude even thinks
On Opus at $15/M output tokens, that overhead costs **real money** on every conversation.
The Solution
A monthly audit that measures your system context, flags what's bloated, and recommends specific cuts:
Token Hygiene Report — 2026-03-05
┌──────────────┬───────────────┬────────┬─────────────┐
│ Metric │ Value │ Status │ Tokens Est. │
├──────────────┼───────────────┼────────┼─────────────┤
│ CLAUDE.md │ 123 lines/6KB │ ✅ │ ~1,600 │
│ MEMORY.md │ 90 lines/5KB │ ✅ │ ~1,350 │
│ Skills │ 82 │ 🟡 │ ~5,330 │
│ MCP servers │ 5 │ ✅ │ ~1,125 │
│ Stale logs │ 0 │ ✅ │ — │
│ Total │ │ │ ~9,405 │
└──────────────┴───────────────┴────────┴─────────────┘
↓ Down from ~30,000 tokens (previous audit)
Real Results
I ran this on my own setup and reduced overhead from **~30,000 to ~15,000 tokens per conversation** — a 50% reduction:
| What I did | Savings | Time |
|---|---|---|
| Compressed CLAUDE.md (713→123 lines) | ~6,7 |
Related Skills
Codebase Index
Index-First Navigation for AI Agents: Reduce token consumption by 85% with deterministic directory indexing an
AI Spend
Audit Claude Code token efficiency: MCP overhead, session patterns, skill cost, cache hit rate. Add --full for
Claude Code Audit Gate
Independent audit agent for Claude Code: audits an app built by another agent (OWASP ASVS/Top 10 security, eve
Audit Performance
Performance audit. Detects N+1 queries, memory issues, caching gaps, inefficient loops, batch processing probl
Optimize Harness
Audit one or all supported agent harnesses for config efficiency, hook overhead, permission friction, plugin a
Skillen
Audit your AI coding skills using your real conversation history — find the toxic ones wasting tokens. Support
Related Agents
Memory Distiller
Compresses memory-sessions.md older entries into a rolling archive to reduce context load. Safe to run monthly
Agent Hygiene Monthly
Scheduled agent - monthly read-only catalog scan of ~/agenticOS/agents/ that flags missing frontmatter, short
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /