Claude Trim
Description
Audit your Claude Code token usage — see which skills eat your context budget and find conflicts before they cost you
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-trim
**Find out what Claude Code loads before you type a single word.**
[](https://go.dev) [](LICENSE) [](https://github.com/d0d012/claude-trim/releases/latest)
`claude-trim` is a static analyzer for Claude Code. It scans your `~/.claude/` directory, counts how many tokens every skill and MCP server costs at startup, flags skills that conflict with each other, and tells you exactly what to remove — and how much money that saves.

Why this exists
Every Claude Code session starts with a hidden tax. Before you write a single prompt, Claude loads the description of every skill you have installed. With a typical plugin setup that's **20–30k tokens per session** — paid silently, every time.
Most of those tokens don't help you. Duplicate skills cover the same ground. Skills you installed months ago and forgot about run on every session. And when two skills give Claude contradictory instructions, neither works well.
**With 55 skills installed:**
Startup cost: 23,751 tokens (paid every session)
Peak cost: 140,391 tokens (if every skill body loads)
At Sonnet pricing ($3/M), 5 sessions/day, 22 working days:
→ ~$7.84/month in skill overhead alone
`claude-trim` makes this visible in 10 seconds, offline, no API key required.
Install
go install (recommended)
go install github.com/d0d012/claude-trim/cmd/claude-trim@latest
Make sure `$GOPATH/bin` (usually `~/go/bin`) is on your `$PATH`:
export PATH="$HOME/go/bin:$PATH"
Download binary
Grab the binary for your platform from [GitHub Releases](https://github.com/d0d012/claude-trim/releases/latest):
# macOS (Apple Silicon)
curl -L https://github.com/d0d012/claude-trim/releases/latest/download/claude-trim_darwin_arm64.tar
Related Skills
Defense in Depth
Implement multi-layered testing and security best practices.
Security SecLists Official Repository
[OWASP Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
Security Threat Hunting with Sigma Rules
Use Sigma detection rules to hunt for threats and analyze security events
Security Maintenance Walkthrough - 2026-03-29
- Re-triaged the full 2026-03-15 security finding set against current `main` and wrote a fresh current-head re
Security Google Workspace Model Armor
Filter user-generated content for safety
Security Google Workspace Alert Center
Manage security alerts
Security Related Agents
Token Auditor
Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d
Gitnexus Security Boundary Reviewer
GitNexus security and trust-boundary reviewer. Use for auth, permissions, secrets, injection, unsafe parsing,
Accessibility Audit
| You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive tec... | -