Claude Code model router

Claude Slim

Audit and shrink your Claude Code startup context. Measures what every skill, plugin, agent, and memory file costs in the system prompt, then reversibly disables the dead weight. No proxy, no compression.

44 stars 5 forksModel routers & proxies Plugin marketplace Source

Install

Install
claude plugin marketplace add iops-leo/claude-slim

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/iops-leo/claude-slim.git

From the README

claude-slim

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.

한국어 | 日本語 | 中文

See it in action

Where the bloat hides — measured on one real install:

Skill listings are the part people underestimate: each installed skill contributes one - name: description line to the system prompt, and those run anywhere from 30 to 509 tokens each. Sixty terse skills and sixty verbose ones are not the same bill.

That's slower responses. Hitting your usage cap faster. Paying for context you're not using — on every turn, of every session.

One command. Five steps.

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:

Propose — Three tiers, you decide:

Clean — Moves selected skills and project memory to ~/.claude/skills.disabled/. Failed-install temp caches and dead symlink files are the only permanent cleanups, and they are labeled before selection.

Report — Shows exactly what changed:

Try it (10 seconds)

No install needed — run once and see what's in your ~/.claude/:

Happy with what you see? Make it part of your Claude Code workflow:

Then just type /claude-slim in…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
1 November 2026
Topics
ai-toolinganthropicclaudeclaude-codeclicontext-engineeringdeveloper-toolsllm-toolstoken-optimizationtypescript

FAQ

What is Claude Slim?

Audit and shrink your Claude Code startup context. Measures what every skill, plugin, agent, and memory file costs in the system prompt, then reversibly disables the dead weight. No proxy, no compression. It is a model router for Claude Code, from iops-leo/claude-slim on GitHub.

How do I install Claude Slim?

Run claude plugin marketplace add iops-leo/claude-slim, then follow the setup in the README.

Is Claude Slim popular?

iops-leo/claude-slim has 44 GitHub stars and 5 forks. It was last updated on 1 November 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.