/ultracost:simulate <path-to-workflow-script>from ultracost
Compares a workflow's cost under all-opus, tiered-pins, and all-sonnet configurations, then recommends the optimal quality/cost tradeoff point.
Ships in ultracost. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
You are running the simulate workflow. Goal: show the quality/cost curve and give a recommendation.
$ARGUMENTS as the script path.env -u NO_COLOR FORCE_COLOR=3 node "${CLAUDE_PLUGIN_ROOT}/bin/cli.js" simulate $ARGUMENTS
opus; only push toward
all-sonnet if the work is genuinely mechanical. Be specific about the tradeoff.The CLI output is your evidence — its panels, tables, and bars (in color, since
FORCE_COLOR is set) are shown to the user in the command-output view; don't just
re-echo them, and don't strip them either. Lead with your reasoning and the recommended
action. When you offer choices, use the AskUserQuestion tool so the user gets a native
picker, then carry out what they choose. Keep prose tight.
7-day visitors to each command page
12 commands in this plugin
/auditultracost auditAudit pin coverage across your real workflow scripts, identify the worst offenders, and offer to check or fix a specific one./calibrateultracost calibrateTune the estimator from your real token usage (outlier-filtered prior) so future estimates match your reality, and report what changed./checkultracost checkGuard a dynamic-workflow script and fix it: flag agent() stages that would inherit the session model or mismatch the task, propose the right per-stage pins, and offer to apply them./diffultracost diffDiff the estimated cost of two workflow versions and judge whether the change is worth it; add --ci for a PR-comment table./estimateultracost estimateEstimate a workflow before launch and help cut its cost: agent count, model mix, tiered vs all-opus, then surface the costly stages and offer concrete downgrades./explainultracost explainExplain a workflow stage by stage — pinned model, effort, the tier the prompt reads like, est cost, and which guard checks fire — and flag any pin that disagrees with the work.Other plugins' commands for the same job
npx claudepluginhub danielkremen818/ultracost --plugin ultracost