/agent-pm:cost-modelfrom agent-pm
Models per-task and monthly costs for agent products using Anthropic's research multipliers (4x for agents, 15x for multi-agent) and current model-tier pricing. Helps estimate infrastructure costs before building.
Ships in agent-pm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a strategic advisor using Anthropic's multi-agent research economics and current provider pricing.
Agent costs scale with model calls, tokens, tools, retries, and operational overhead. Anthropic observed about 15× chat token usage in its multi-agent research system [S03]; that is a planning reference, not a law of agent economics.
Anthropic also found that token usage explained 80% of performance variance in its BrowseComp evaluation [S03]. Do not generalize that correlation to other tasks.
Your job: produce a complete cost model for the user's agent with explicit assumptions and ranges.
$ARGUMENTS
Read references/operating-contract.md and references/sources.md from the plugin root before responding. Apply their evidence labels, canonical models, artifact handoff, and citation rules. The contract resolves conflicts between commands; flag any conflict with this file rather than silently choosing one.
In Anthropic's research deployment [S03]:
Actual costs depend on calls, context, tool definitions, iteration count, model prices, failures, and task complexity. Use bottom-up estimation whenever possible.
For each model call, cost = (input tokens × current $/Mtok input) + (output tokens × current $/Mtok output) + (cache writes × current $/Mtok cache write) + (cache reads × current $/Mtok cache read). Sum calls and add tool, retrieval, retry, evaluation, and observability costs where material.
Retrieve the exact selected model's input, output, cache, batch, and tool prices from [S14] or [S15]. Record provider, model, price components, and access date. If current prices cannot be retrieved, use user-provided prices or label the estimate Unknown; do not substitute a stale tier table.
Tool definitions and tool-use/results consume context, and some tool systems add separate fees. Measure overhead from representative requests under the selected API and model. Legacy fixed token counts and generic per-turn ranges are assumptions, not current facts.
Break down what a "typical task" actually does:
If the user can't answer these, work with rough estimates and flag the assumptions.
Use bottom-up call and token estimates as the primary method. Classify orchestrator-workers, manager, and decentralized handoffs as multi-agent architectures; do not label orchestrator-workers as a single agent.
Architecture multipliers are coarse sanity checks only:
Never multiply an itemized call-by-call estimate by these factors: that would double count calls already in the model. If bottom-up inputs are unavailable, show a multiplier-based estimate separately and label every assumption.
| Component | Tokens In | Tokens Out | Model | Cost ($) |
|---|---|---|---|---|
| Orchestration | [X] | [Y] | [Tier] | [Calc] |
| Routing/classification | [X] | [Y] | [Tier] | [Calc] |
| Tool use overhead | [X] | [Y] | n/a | [Calc] |
| Worker 1 / step 1 | [X] | [Y] | [Tier] | [Calc] |
| Worker 2 / step 2 | [X] | [Y] | [Tier] | [Calc] |
| Synthesis | [X] | [Y] | [Tier] | [Calc] |
| Total per task | $[total] |
Include cache writes, tool and retrieval fees, retries, failed tasks, evaluation, and observability when material. Show formulas and ranges for uncertain inputs; do not produce a single-point estimate from unknown token counts or prices.
Tasks/day × Days/month × Cost/task = Monthly cost
Show the math at multiple volume tiers:
For each lever, estimate the savings:
Task profile: [Brief description]
Architecture: [Pattern]
Per-task cost: $[X.XX]
Per-task tokens: [N input / N output]
Latency profile: [P50 / P95]
The detailed table from Step 3.
| Scenario | Tasks/day | Monthly Tasks | Monthly Cost | At Scale (annual) |
|---|---|---|---|---|
| Launch (small beta) | [N] | [N×30] | $[X] | $[12X] |
| 10x growth | [N×10] | [...] | $[X] | $[X] |
| 100x growth | [N×100] | [...] | $[X] | $[X] |
If this is a paid product:
Flag explicitly:
Top 3-5 specific optimizations ranked by impact:
If user-facing pricing model needs design:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cost-estimation, agent-pricing, budget-planning, token-costs
Generated from the plugin's indexed repository (sohaibt/agent-pm) — no native marketplace selected
npx claudepluginhub p/sohaibt-agent-pm12 skills in this plugin
/agent-specGenerate a complete PM spec (PRD-style document) for an AI agent product. Covers user job, success criteria, scope, tools, model selection, autonomy level, human-in-the-loop checkpoints, stopping conditions, and eval criteria. Use after architecture-pattern to lock down the product definition./agent-ux-reviewReview the UX of an AI agent product against modern patterns beyond chat. Based on Linus Lee's "Generative Interfaces Beyond Chat" and Karpathy's autonomy slider concept. Identifies chat-as-default anti-patterns and recommends point-and-select, multiple-choice output, and interactive component patterns. Use when designing or auditing AI product UX./architecture-patternRecommend the right agent architecture pattern from Anthropic's 5 (prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer) plus OpenAI's manager and decentralized patterns. Use after qualify-agent confirms an agent is needed./autonomy-sliderPosition a feature on the autonomy spectrum (suggestion → execution → full autonomy) and design the verification loop. Based on Karpathy's autonomy slider concept and the generation-verification UX primitive. Use when deciding how much human oversight an AI feature needs./eval-designDesign a complete evaluation plan for an AI agent product. Based on Hamel Husain's eval framework and Eugene Yan's three-step methodology. Generates the Feature × Scenario × Assertion matrix, human label dataset structure, LLM-as-judge rubric, and alignment process. Use BEFORE shipping any AI feature./failure-mode-mapCatalog the likely failure modes for a specific agent product and design mitigations for each. Based on documented failures from production deployments (Anthropic, OpenAI, SmarterX, SaaStr). Use before launch to anticipate what will go wrong.Other plugins' skills for the same job