Skip to content
Agentmart
Submit a tool

cost-model

Standardized cost-estimation framework for great_cto plans.

Skill by avelikiy

IndexedMIT★ 105
Write a review

Chalk Labs

Need help deploying cost-model?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/avelikiy-cost-model

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Standardized cost-estimation framework for great_cto plans. Forces explicit LLM cost, infra cost, human-supervision time, and the (defensible) human-equivalent comparison. Output format is parsable by the board's /api/cost path — must follow exactly.

Use cases: backend, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cost-model

Tools it pre-approves 2

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Write

What's inside

Skill name
cost-model
Description
Standardized cost-estimation framework for great_cto plans. Forces explicit LLM cost, infra cost, human-supervision time, and the (defensible) human-equivalent comparison. Output format is parsable by the board's /api/cost path — must follow exactly.
License
MIT
Allowed tools
Read,, Write
Instructions
145 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Cost model — make cost claims defensible

great_cto reports cost numbers on the board. Those numbers MUST be
auditable, because a wrong "7,638×" claim killed credibility (see
docs/blog/cost-dashboard-rebuild.md). This skill defines the format.

## The 4-line cost section

Every PLAN-*.md and ARCH-*.md cost section follows this exact template:

```markdown
## Cost estimate

**LLM**: $<low>–<high> (<N> calls × $<per-call avg>)
**Human equiv**: $<low>–<high> (<hours> × $<rate>/h)
**Infra delta**: $<low>–<high>/month
**Time to ship**: <hours> agent-time, <hours> wall-clock

> Methodology: <one-sentence rationale for each range>
```

### Why this exact format?

The board's `getCostHistory()` parser anchors on **line-start** "LLM" and
"Human" labels. Mid-line references are ignored to prevent the
$240-trap regression. Stick to the template.

## How to estimate each line

### LLM cost

For each agent in the pipeline, estimate:
- **Prompt tokens** = (system prompt size) + (context the agent receives)
- **Completion tokens** = (typical output for that agent type)

Quick reference for Sonnet 4 ($3/M in, $15/M out):

| Agent | Typical prompt | Typical output | Per-call cost |
|---|---|---|---|
| architect | 14k | 1.5k | ~$0.06 |
| pm | 6k | 0.6k | ~$0.03 |
| senior-dev | 8k | 0.8k | ~$0.04 |
| qa-engineer | 11k | 0.5k | ~$0.04 |
| reviewer (avg) | 8-12k | 0.6k | ~$0.04 |
| security-officer | 12k | 1k | ~$0.05 |
| devops | 9k | 0.8k | ~$0.04 |

For Haiku ($0.80/M / $4/M), divide by ~4. For Opus 4 ($15/M / $75/M),
multiply by ~5.

Sum across the pipeline stages that actually fire (use `gatesFor()` and
`reviewersFor()` from archetypes.ts to know the count).

### Human equiv

The human cost to do the SAME work without agents. This is the "if I
hired a senior engineer, how long would this task take, at what rate?"

- Senior engineer: $120-180/hour (mid-market US/EU)
- Staff engineer / specialist: $200-300/hour
- Domain expert (security, compliance): $250-400/hour

Estimate hours conservatively. A "small feature" the LLM does in 15
minutes might take a human 2-4 hours (it's never just the typing).

### Infra delta

Only count what's NEW. If the feature adds a Redis instance, count
Redis. If it adds 10MB/month of S3 storage, that's noise — don't list.

### Time to ship

Two numbers — both useful:
- **Agent-time**: wall-clock of LLM calls (typically 5-30 min)
- **Wall-clock**: actual elapsed including human gates (typically hours
  to days)

## Sanity check before writing

Before committing the section to the plan, verify:

```
ratio = human_equiv / llm_cost
```

If `ratio > 1000`, something is wrong. Common bugs:

| Bug | How to detect | Fix |
|---|---|---|
| Wrong unit ($ vs ¢) | LLM cost ends in /M tokens not $ | Convert: tokens / 1M × price |
| Counting savings not spend | "Human time saved" not "Human cost" | Use cost of doing it, not value of skipping |
| Mid-line label pollution | Plan has "$X LLM | $Y human" on one line | Use multi-line format from template |
| Forecast vs actual mixed | LLM forecast counts toward total_llm | Separate forecast section if needed |

## Cost gates

For AI archetypes (`mlops`, `ai-system`, `agent-product`), the pipeline
opens `gate:cost` after architect's forecast. CTO must approve the
projected monthly burn before senior-dev starts.

Use the GATE template:

```markdown
## Gate:cost forecast

| Production volume | Monthly LLM cost |
|---|---|
| 1K req/day | $X |
| 10K req/day | $Y |
| 100K req/day | $Z |

Recommended monthly cap: $<cap>
Triggers above cap: <what alerts fire, who gets paged>
```

## Anti-patterns

❌ **Round-number theatre.** "$0.50 LLM | $7,500 human" — looks
suspicious. Use realistic ranges: "$0.50–1.20 | $225–360".

From avelikiy/great_cto, MIT.

More from avelikiy/great_cto

Signals

Stars
105
Forks
13
Open issues
5
Last commit (this folder)
May 28, 2026 (5 months ago)
Last release
Oct 23, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from avelikiy

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get cost-model running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying cost-model?

CallGet help
Cite this page

cost-model skill. Agent Mart. https://agentmart.dev/skills/avelikiy-cost-model (last updated 2026-10-24)