cost-estimate

cost-estimate is a skill for Claude Code, Codex from adolfousier/opencrabs. It costs 19 tokens per session (1,425 once invoked), scanned A, original, MIT.

A codebase assessment workflow that estimates development effort, AI-assisted effort, and market value. It examines files, code size, modules, integrations, databases, interfaces, and complex technical areas.

In plain words
What is it for?
Use it to create cost and valuation estimates for an existing codebase across solo, startup, growth-company, and enterprise team sizes.
Why use it?
It gives a structured way to compare what a human team might spend with the effort already spent using AI assistance. It also accounts for roles such as development, infrastructure, design, management, and testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create cost and valuation estimates for an existing codebase…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adolfousier/opencrabs/cost-estimate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add adolfousier/opencrabs --skill cost-estimate
Clone the repo
git clone --depth 1 https://github.com/adolfousier/opencrabs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cost-estimate

README.md
[![agentmods](https://agentmods.dev/badge/skills/adolfousier/opencrabs/cost-estimate.svg)](https://agentmods.dev/skills/adolfousier/opencrabs/cost-estimate)
Your own site
<a href="https://agentmods.dev/skills/adolfousier/opencrabs/cost-estimate"><img src="https://agentmods.dev/badge/skills/adolfousier/opencrabs/cost-estimate.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01425
Opus 5 $0.00010 $0.00713
Sonnet 5 $0.00004 $0.00285
Haiku 4.5 $0.00002 $0.00143

Measured 7d ago against content hash 7b93fe926460, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cost-estimate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/docs/reference/templates/skills/cost-estimate/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scan this entire codebase and produce a professional cost estimate and valuation report. Analyze:

  1. Codebase inventory: Count files, lines of code by language, modules, API integrations, external services, database schemas, UI components, and any complex subsystems.

  2. Complexity assessment: Identify the hardest parts — real-time features, protocol implementations, security layers, multi-platform support, API integrations (especially government/enterprise APIs that require domain expertise), custom parsers, streaming, WebSocket/SSE, OAuth flows, etc.

  3. Human team estimate: Calculate what a real development team would need to build this from scratch. Use current US market rates (2025-2026):

    • Senior full-stack developer: $125-175/hr
    • Backend specialist: $150-200/hr
    • DevOps/infra: $140-180/hr
    • UI/UX: $100-150/hr
    • Project management overhead: 15-20%
    • QA/testing: 15-20% of dev time
    • Estimate across 4 team sizes: Solo dev, Lean Startup (2-3), Growth Co (4-6), Enterprise (8+)
  4. AI comparison: Estimate AI-assisted hours actually spent (based on git history, commit frequency, time span from first to latest commit). Calculate speed multiplier and value per hour.

  5. Integration complexity: For each external integration (APIs, channels, protocols, third-party services), assess:

    • API stability and breaking change risk (how often does the upstream API change?)
    • Authentication complexity (OAuth, tokens, QR pairing, binary handshakes)
    • Rate limiting and quota constraints
    • Failure modes and required retry/fallback logic
    • Vendor lock-in risk and migration difficulty
    • Rate each integration: Low / Medium / High / Critical maintenance burden
  6. Test coverage and CI: Analyze what exists and what a production build would need:

    • Current test coverage (count ALL test types: #[test], #[tokio::test], #[rstest], proptest — not just #[test])
    • Missing coverage gaps (what subsystems have zero tests?)
    • Estimated hours to reach production-grade coverage (70-80%)
    • CI pipeline requirements (build matrix, linting, security scanning, release automation)
    • Cost of CI infrastructure (GitHub Actions minutes, build times for Rust)
  7. Ongoing maintenance and operational cost: The hidden costs after "it works":

    • Monthly maintenance hours by category (dependency updates, security patches, API breaking changes, bug fixes)
    • On-call burden estimate — how many integration points can break independently? What's the expected incident frequency?
    • Dependency risk — count direct deps, assess which are unmaintained/fragile/pre-1.0
    • Upgrade burden — major version bumps expected in next 12 months
    • Annual maintenance cost (hours x rate) for a solo maintainer vs. a team
    • Technical debt estimate — what shortcuts exist that will cost more later?
  8. Fair market valuation: Before estimating valuation, ASK THE USER for context that affects the valuation model. Prompt them with:

    "To produce an accurate valuation, I need some context:

    1. Business model — Is this OSS, SaaS, enterprise-licensed, consulting, or something else?
    2. Revenue — Any current MRR/ARR? If pre-revenue, is monetization planned?
    3. Traction — GitHub stars, clones, downloads, active users, community size?
    4. Team — Solo maintainer or team? Full-time or side project?
    5. Funding — Bootstrapped, funded, or seeking investment?
    6. Intent — Are you valuing for acquisition, fundraising, insurance, or just curiosity?"

    Wait for the user's answers, then use the appropriate valuation methods:

    Always include:

    • Cost-to-reproduce — what would it cost to rebuild from scratch today? Use the Grand Total figures.
    • Replacement cost — what would a company pay to buy equivalent functionality off the shelf? If no equivalent exists, note that — it increases strategic value.
    • Strategic/acqui-hire value — what would an acquirer pay for the technology + expertise? Consider: unique integrations, competitive moat, time-to-market advantage, and talent cost savings.
    • Risk-adjusted valuation — discount for: bus factor, technical debt, test coverage gaps, dependency risks, market competition.

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 87 lines · 19 tokens per session scan A 7b93fe926460

Subscribe to this mod's changes

cost-estimate is a skill published in the GitHub repository adolfousier/opencrabs (927 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,425 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.