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 danielkremen818 Verifiedv0.4.5MITIn 2 marketplaces
Quality-first per-stage model routing for Claude Code dynamic workflows (ultracode): a SessionStart hook that injects the routing policy, a PreToolUse cost gate, a routing skill, and slash commands for the whole workflow — /ultracost:check (guard agent() stages), estimate, explain, simulate, diff, audit, usage, reconcile, calibrate, ledger, status.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
When ultracode is on, the session is pinned to Opus @ xhigh and a single dynamic
workflow fans out to dozens of subagents that inherit that session model unless every
stage is pinned. ultracost makes per-stage routing explicit, policy-driven, and
verifiable — quality-first, so coding and reasoning stay on Opus while pre-planned
mechanical work drops to Sonnet. No telemetry. No network on the hot path. MIT.
Built for
ultracode(Opus @xhighdynamic workflows) — the only place this fan-out happens. ultracost routes by tier (opus/sonnet), not a pinned version, so it tracks whatever Opus your session runs.
Security & trust. ultracost has zero runtime and dev dependencies, so there is no
supply chain to compromise — Snyk Open Source and npm audit report 0 vulnerabilities.
Releases publish to npm with OIDC Trusted Publishing and signed provenance, every
GitHub Action is pinned to a commit SHA, and CodeQL + OpenSSF Scorecard run in CI.
The installer touches only its own files and is fully reversible. See SECURITY.md.
Claude Code plugin (recommended):
/plugin marketplace add danielkremen818/ultracost
/plugin install ultracost@ultracost
npm CLI (CI / scripting):
npx ultracost init
Via ClaudePluginHub (one command — adds the marketplace and installs the plugin):
npx claudepluginhub danielkremen818/ultracost --plugin ultracost
First command, in Claude Code: /ultracost:check ./path/to/workflow.js — flag any
agent() stage that would silently inherit Opus. Every verb is also a slash command, so
plugin users need nothing on PATH.
When ultracode is on, Claude Code runs the session on Opus @ xhigh (the only model that supports xhigh) and auto-orchestrates dynamic workflows that fan out to dozens — up to 1,000 — subagents. Two defaults compound:
The documented result: one prompt spawning 46 Opus subagents and ~3M tokens with no warning. A grep sweep and a per-file verifier do not need Opus. (Why ultracode makes this worse →)
This is the default behavior, not user error. In a scan of ~22 real ultracode workflow scripts, almost none pinned model: on any stage — even Anthropic's own bundled deep-research workflow pins zero. Reproduce it on your own history in one command:
npx ultracost audit ~/.claude/projects
7-day copy clicks
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.
Plugins from other owners that cover similar ground
npx claudepluginhub danielkremen818/ultracost --plugin ultracost