From ultraship
Tracks AI build costs per feature via Node.js script. Logs token usage with bash, generates dashboards for spend breakdowns by task/model, trends, insights, and optimization recommendations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ultraship:costThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Know exactly what each feature costs to build with AI. Budget smarter, spend less.
Know exactly what each feature costs to build with AI. Budget smarter, spend less.
node ${CLAUDE_PLUGIN_ROOT}/tools/cost-tracker.mjs <project-directory> show
Parse the JSON output for cost history and summary.
Present spending overview:
Total Spend:
By Task/Feature:
By Model:
Daily Trend:
Generate actionable insights:
To log a new cost entry:
node ${CLAUDE_PLUGIN_ROOT}/tools/cost-tracker.mjs <project-directory> log "<label>" <input_tokens> <output_tokens> --model=claude-opus-4-6
Labels should be descriptive kebab-case: auth-feature, bug-fix-login, refactor-api, seo-optimization
Based on spending patterns:
If debugging > 30% of spend:
/test-driven-development skillIf a single task > 3x average:
Model optimization:
Help the user understand when and how to log costs:
When reviewing cost data, help the user think about the economics of building with AI:
Worth building with AI (high ROI):
Consider alternatives:
Cost benchmarks for solo founders:
| Task Type | Expected Cost | If Higher, Investigate |
|---|---|---|
| New API endpoint | $1-5 | Complex business logic or unclear spec |
| Bug fix | $0.50-3 | Missing tests or hard-to-reproduce issue |
| Full feature (frontend + backend) | $5-20 | Large scope or frequent rework |
| Refactoring | $2-10 | Unclear boundaries or missing tests |
| Content/copy generation | $0.25-1 | Too many revision cycles |
npx claudepluginhub houseofmvps/ultraship --plugin ultrashipGuides capturing AI tool costs from Anthropic and OpenAI dashboards quarterly, records structured Markdown data for health snapshots and MODEL_ROUTING.md updates.
Track session costs, set budget alerts, and optimize token spend. Use to check costs mid-session or set spending limits.
Generates advanced cost insights for Claude Code sessions: efficiency scoring, waste detection, ROI metrics, model savings calculator, anomaly detection, and GitHub badges. Use to optimize AI spend.