Ultra Lean
~4.5–5k · most stripped
Minimal custom system prompt. Six core tools only.
Run: claude-lean
Open source · MIT · Claude Code CLI
Less context. Same coding power.
One command. Four profiles from most stripped to fully custom. Keep OAuth — no API key required.
curl -fsSL https://raw.githubusercontent.com/0p9b/claude-code-lean/main/install.sh | bash
Menu → confirm → install · Backs up your existing settings · Recommend: Balanced
Ultra → Regular → Balanced → Custom. Option 4 installs Ultra + Regular launchers together.
~4.5–5k · most stripped
Minimal custom system prompt. Six core tools only.
Run: claude-lean
~6.5k tokens
Same six tools + Claude Code’s default lean system prompt.
Run: claude
~7–9k · practical
Default prompt + Glob/Grep/TodoWrite + thinking. Still blocks MCP, Agent, skills.
Run: claude
Ultra + Regular
Convenience: install both launchers with lean 6-tool settings.
Run either command
Wizard-driven
Pick launcher, effort, and tool packs interactively.
Skip the menu (non-interactive)
curl -fsSL https://raw.githubusercontent.com/0p9b/claude-code-lean/main/install.sh | CLAUDE_LEAN_MODE=balanced bash
The installer prints exact paths. Edit these anytime — or re-run the installer (it backs up first).
~/.claude/settings.json
Tools deny list, effort, thinking, memory, disables
~/.claude/output-styles/lean.md
Short output style (“Be brief.”)
~/.local/bin/claude-lean
Ultra launcher (replaces product system prompt)
~/.claude/system-prompt-lean.txt
Ultra system prompt text
~/.claude/claude-lean.conf
Custom tool list for claude-lean (Custom mode)
Full reference: config breakdown
Opinionated defaults for a smaller, faster Claude Code session.
Bash · Read · Write · Edit · WebSearch · WebFetch
Glob · Grep · TodoWrite · thinking on
MCP, Agent, skills, Task*, LSP, memory, hooks, CLAUDE.md
Atomic writes · backs up settings.json · validates JSON
Restart any open Claude Code sessions
Run claude or claude-lean
Type /context to verify token usage
Requires Claude Code CLI and curl.
Custom mode also needs python3.
If claude-lean isn’t found: export PATH="$HOME/.local/bin:$PATH"