Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By iops-leov2.17.0MITIn 1 marketplace
Finds the startup token overhead Claude Code loads each session and moves unused skills, plugins and memory files aside reversibly. Reads ~/.claude locally and needs Node.js 20+ on macOS or Linux.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Your Claude Code session burns thousands of tokens before you even say "hello."
Every session auto-loads every skill, agent, slash command, memory file, and plugin instruction into the system prompt — even the ones you never use. If you run OMC, marketplace plugins, or a custom skill stack, you're paying for context you'll never touch on every single turn. claude-slim measures that startup overhead and removes what you don't need.
No proxy, no compression, no changes to how Claude Code talks to the API — it reads ~/.claude/, tells you what each skill and plugin actually costs, and moves the dead weight aside reversibly.
/claude-slim
Where the bloat hides — what Claude Code actually sent at the start of one real session, read back from its own session log:
| Source | What it costs | |
|---|---|---|
| MCP tool names | ~10,700 tokens | 768 names. Tool search defers the schemas, not the names — one connector alone listed 160 |
| Skill listing | ~8,200 tokens | 213 skills, capped at 1% of the context window — 99 of them shown by name only |
| Instruction files | ~6,300 tokens | CLAUDE.md, @path imports, rules without paths:, the project's MEMORY.md |
| MCP server instructions | ~3,600 tokens | 10 servers, claude.ai connectors included |
| Agent catalog | ~2,200 tokens | 33 agents |
The skill listing has a budget: 1% of the context window (6,000 characters on a 200k model, 30,000 on 1M). Past it, Claude Code doesn't grow the prompt — it quietly drops descriptions, starting with the skills you use least. Those skills are still installed and still invocable, but the model only sees - skill-name, so it can't tell when to reach for them. On the install above, nearly half the skills were in that state.
That's slower responses. Hitting your usage cap faster. Paying for context you're not using — on every turn, of every session.
/claude-slim
┌────────┐ ┌──────────┐ ┌─────────┐ ┌─────────┐ ┌────────┐
│ Scan │ → │ Classify │ → │ Propose │ → │ Clean │ → │ Report │
│ │ │ │ │ │ │ │ │ │
│measure │ │ broken │ │ you │ │ move to │ │before │
│ every │ │ dupes │ │ choose │ │.disabled│ │ vs │
│source │ │ bloat │ │ what │ │ dir │ │ after │
└────────┘ └──────────┘ └─────────┘ └─────────┘ └────────┘
Scan — Measures everything: local skills, plugin skills, CLAUDE.md, memory files, MCP servers. Token counts are measured with js-tiktoken, not guessed.
Classify — Finds the waste automatically:
| What it catches | |
|---|---|
| Broken symlinks | Dead links from uninstalled skill packs |
| Duplicates | Same skill registered from multiple sources |
| Empty templates | Placeholder skills with no content |
| Oversized files | SKILL.md over 10KB |
| Unused skills | Local skills never invoked in your last N days of sessions (default 60d) |
| Agents & commands | ~/.claude/agents/ and ~/.claude/commands/ — measured and reported, never modified |
| Rules & imports | ~/.claude/rules/ and CLAUDE.md @path imports — measured and reported, never modified |
| Unused plugins | Plugins whose skill/mcp/cmd were never invoked in your last N days of sessions (default 60d). Tier 3, never auto-selected. |
| Unused MCP servers | User- and local-scope servers in ~/.claude.json whose tools were never called in your last N days. Tier 3, never auto-selected. Removed with claude mcp remove; the definition is kept for restore. |
| Oversized memory index | MEMORY.md over 5KB, or cut at the 200-line / 25KB startup cap so its tail never loads |
| Disabled plugins | Installed but disabled plugins still in cache |
| Stale projects | Project memory untouched for 90+ days |
| Temp caches | Failed plugin install remnants (temp_local_*) |
Propose — Three tiers, you decide:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub iops-leo/claude-slim --plugin claude-slimPlugins from other owners that cover similar ground