
Opulent
Deterministic model routing for Claude Code: the architect stays in the seat; implementation, tests, docs, and exploration run in pinned cheaper lanes.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up Opulent (claude-plugin project) into my current project. Found on https://claudeers.com/opulent Repo: https://github.com/analogproblems/Opulent Homepage/docs: — Detected install method: claude-plugin → /plugin install opulent@analogproblems/Opulent Category: plugins. Platforms: cli, api, web. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: unknown; community-verified: false. Confirm the source before running anything.
⚠ Unverified / not recently updated — review before pasting a run-this config.
/plugin marketplace add analogproblems/Opulent /plugin install opulent@analogproblems/Opulent
git clone https://github.com/analogproblems/Opulent
// compatibility
| Platforms | cli, api, web |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Python |
💎 Opulent
Keep your best model in the architect seat, and push the grunt work into throwaway sessions.
Welcome to Opulent! 👋
If you use Claude Code for long sessions, you already know the problem: the conversation you're actually having fills up with file bodies, test outputs, and search results you never needed to read. The model you're talking to ends up spending its context window on clutter.
Opulent solves this through strict context hygiene. Your best coding model (typically Opus 5) stays in the architect seat—designing, reviewing, and orchestrating. All the execution—editing files, running tests, searching the codebase—gets pushed into separate, purpose-built agent sessions. The bulk lands there and is thrown away, keeping your main conversation clean and lean deep into your workflow.
📋 Requirements
- Python 3 on your
PATH(aspython3orpython).- Note: Preinstalled on macOS and most Linux distros. On Windows, install from python.org — it ships
python.exeonly, nopython3— then disable both App execution aliases (Settings → Apps → Advanced app settings → App execution aliases) and verifypython3 --versionandpython --versionin a terminal. A missing interpreter means silently no enforcement: fail-open can't cover an interpreter that never started.
- Note: Preinstalled on macOS and most Linux distros. On Windows, install from python.org — it ships
- Everything else is stock Claude Code! No extra packages, no background daemons, and no network calls.
📦 Installation
Add the marketplace once, then install:
/plugin marketplace add analogproblems/Opulent # or a local /path/to/Opulent
/plugin install opulent@opulent
(Those two are slash commands — type them inside Claude Code, not in your shell.)
Or, if you want to try it without installing first:
claude --plugin-dir /path/to/Opulent
⚠️ Three Quick Timing Gotchas:
- Enable/Disable takes effect at session start. Enabling a plugin mid-session does not register its hooks or agents. Always start a fresh session after toggling!
- Updates are a two-step process. Running
claude plugin marketplace update opulentonly refreshes the cache. To actually update, follow it withclaude plugin update opulent@opulent(and restart your session). - Update from outside a session. Running
claude plugin updateinside a session removes the versioned install directory the running session's hooks resolve to, so every guarded tool call errors until restart. Update from a plain terminal, or restart immediately after.
🚦 How Routing Works
Opulent routes work based on task fit, not just cost. Judgment and complexity go to Opus; bounded mechanical execution goes to Sonnet; locating goes to Haiku.
Here is exactly where your tasks go:
| Work | Agent | Model & Effort |
|---|---|---|
| Architecture, review, orchestration | Main loop (Architect) | Your session model — set with /model (Opus 5 recommended) |
| Complex implementation | opulent:coder | Opus, Effort: Max |
| Complex implementation (Eco Mode) | opulent:coder-eco | Opus, Effort: xHigh |
| Routine edits, boilerplate | opulent:mechanic | Sonnet |
| Tests, builds, linters | opulent:test-runner | Sonnet (no edit tools) |
| UI verification, console errors | opulent:ui-checker | Sonnet + browser tools |
| Documentation (READMEs, ADRs) | opulent:scribe | Opus, Effort: xHigh |
| Locating code and structure | opulent:scout | Haiku |
A lane whose definition lists no tools (coder, coder-eco, mechanic) inherits all tools.
Note: You can manually escalate problems Opus can't crack to Fable in its own separate session. You can also run Fable in the Architect seat if you have access!
🎛️ Setting the Dials (Eco Mode)
Opulent is configured via environment variables. Note: The hooks read these from the environment Claude Code was launched with — exporting them inside a running session does nothing, and a change takes effect at the next session start.
- Eco Mode (
OPULENT_ECO=1): Runs complex implementation one effort rung down. It routesopulent:codertasks toopulent:coder-eco(Opus atxhigheffort instead ofmax). - Kill Switch (
OPULENT_OFF=1): Disables enforcement entirely for that session. - Custom Logs (
OPULENT_LOG=<path>): Redirects the telemetry log from its default location,~/.claude/opulent-log.jsonl.
How to set them: Per launch:
OPULENT_ECO=1 claude
Persistently (in ~/.claude/settings.json):
{ "env": { "OPULENT_ECO": "1" } }
(0, false, no, off, and empty all count as unset).
One heads-up: if you ask the assistant to make that settings.json edit for you, the hook will deny it — settings files are the control plane, so the change gets redirected to a lane. That's the design working; make the edit yourself in an editor if you prefer.
🛡️ Enforcement & Honesty
Opulent uses built-in Claude Code hooks (PreToolUse and SessionStart).
What it enforces:
Main-loop edits and test runs are allowed and logged — the hook records what the architect touches instead of blocking it. What it does deny from the main loop: the control plane (any .claude directory's hooks, agents, commands, plugins, and the settings*.json beside them — the user's and the project's — plus .env files, templates like .env.example excepted), the built-in Explore agent, catch-all agents, and the routing log itself.
What it isn't:
This is a seatbelt with an audit trail, not a flawless security boundary. A determined model can bypass it via inline scripts or exotic utilities. The goal is to make the recorded path the path of least resistance: the log (~/.claude/opulent-log.jsonl by default) records main-loop edits, test runs, delegations, denials, and removals, session-tagged. Work done inside lanes isn't logged — the record covers the architect's own hands. The log is yours to delete between sessions; the main loop is denied touching it.
(Bonus: Opulent is designed to fail-open. If a Claude Code update breaks a payload the hook can't parse, it allows the action. An update will never brick your sessions.)
🩺 Verify It's Working
Run /opulent:doctor in your session.
It probes the installation with real tool calls (checking version, registered agents, injected policies, and enforcement liveness via a canary write) and gives you a one-line verdict (LIVE / OFF / PARTIAL / DEAD) along with remediation steps.
(Remember: run this in a session started AFTER the plugin was enabled!)
📝 License
This project is MIT licensed. Version history lives in CHANGELOG.md. Please see our house rules in CONTRIBUTING.md, chiefly the honesty policy.
// faq
What is Opulent?
Deterministic model routing for Claude Code: the architect stays in the seat; implementation, tests, docs, and exploration run in pinned cheaper lanes.. It is open-source on GitHub.
Is Opulent free to use?
Opulent is open-source under the MIT license, so it is free to use.
What category does Opulent belong to?
Opulent is listed under plugins in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/opulent)
// retro hit counter
[](https://claudeers.com/opulent)
// reviews
// guestbook
// related in Claude Plugins
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
financial-services — a Claude ecosystem project on GitHub.