Skip to content

aicraftbook/aicraftbook-skills / plugins/cost-compass/skills/cost-compass

cost-compass

Verified

Estimates the monthly running cost of an AI feature, agent or automation from a description of its workload. Breaks the cost into model calls, input, output and cached tokens, and other paid services (search, embeddings, vector database, SMS, voice minutes, automation platform), shows every assumption and the arithmetic, gives a low / expected / high range, and names the two or three changes that would cut the cost most. Uses only prices the user gives or confirms from the provider's pricing page and never invents prices. Use when someone asks "how much will this cost to run", "estimate my API bill", "what will this agent cost per month", "is this automation affordable at 10,000 runs", or wants to compare the running cost of two designs or models.

FileKindSize
LICENSEother1.0 KB
SKILL.mdskill md6.6 KB
examples/requests.mdmarkdown1.3 KB
references/cost-model.mdmarkdown10.0 KB
references/worked-examples.mdmarkdown7.4 KB

examples/requests.md

View on GitHub
# Example requests

Illustrative. These show the kind of request the skill is for and what a good answer contains.
Test tasks are in `../evals/`.

1. "We're adding a support chatbot. About 3,000 conversations a month, 5 turns each. What will it cost?"
   (no prices given) A good answer counts the system prompt and the history re-sent on every turn,
   computes tokens per month, writes `[PRICE NEEDED: ...]` for each rate, asks for all prices in one
   message with the pricing page to check, and gives no dollar total.
2. "40,000 emails a month, one extraction call each, 1,800 input and 150 output tokens. Input is $1.50
   and output $6.00 per million tokens. 3% get re-run."
   A good answer shows 40,000 × 1,800 = 72,000,000 tokens × $1.50 / 1,000,000 = $108.00, output $36.00,
   $144.00 × 1.03 = $148.32, gives a low / expected / high range from the uncertain drivers, and names
   the biggest saving with its trade-off.
3. "Our voice receptionist takes 1,200 calls a month. Here are our voice and model prices. We also text a
   confirmation after bookings."
   A good answer adds voice and telephony minutes, models the growing conversation history per turn,
   leaves the SMS price blank because it was not given, and shows that minutes, not tokens, drive the bill.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall