Cost Estimate logo

Cost Estimate

Organization
opencrabs
cost-estimate

Estimate codebase cost-to-build, AI-assisted ROI, and fair-market valuation

Overview

Publisheropencrabs
Repositoryopencrabs
Skill namecost-estimate
Stars
981
Forks
105
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by opencrabs on GitHub. Read the source before you install it.

Installation

Install the Cost Estimate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/opencrabs/opencrabs/tree/main/src/docs/reference/templates/skills/cost-estimate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opencrabs/opencrabs.git /tmp/opencrabs
mkdir -p .claude/skills
cp -r /tmp/opencrabs/src/docs/reference/templates/skills/cost-estimate .claude/skills/cost-estimate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cost Estimate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cost Estimate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cost Estimate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

    Include if applicable (based on user answers):

    • Revenue multiple — only if there's actual or planned revenue. Apply industry multiples (3-8x dev tools, 5-15x AI/infrastructure).

    • OSS traction valuation — if open source: use $/star benchmarks from historical acquisitions, community growth rate, clone/download metrics, projected trajectory.

    • Funding-stage valuation — if seeking investment: comparable seed/Series A rounds for similar dev tools.

    • Valuation summary table — show Low / Mid / High estimates across all applicable methods, then a blended fair market range.

  9. Output a report with these sections:

    • Codebase Overview (languages, LOC, modules, integrations)
    • Complexity Breakdown (table of subsystems with difficulty rating and estimated hours)
    • Integration Risk Matrix (table: integration, auth type, API stability, breaking change risk, maintenance burden)
    • Test Coverage Analysis (current state, gaps, cost to reach production grade)
    • CI/CD Requirements (what's needed, estimated setup hours, monthly cost)
    • Value per AI-Assisted Hour (table)
    • Speed vs. Human Developer comparison
    • Cost Comparison (human cost vs AI-assisted cost with net savings and ROI)
    • Grand Total Summary (table across all 4 team sizes with calendar time, human hours, total cost)
    • Ongoing Maintenance (annual cost table: solo vs. team, broken down by category)
    • On-Call Burden (expected incidents/month, integration failure points, blast radius)
    • Fair Market Valuation (all methods, risk adjustments, blended range)
    • The Headline (one italic paragraph summarizing the key insight)
    • Assumptions (numbered list of caveats)

Be thorough but honest. Base estimates on real market rates and realistic timelines. Don't inflate numbers — credibility matters more than impressive figures. The goal is to show the build cost, true cost of ownership, AND what the project is actually worth.

Frequently asked questions

What does the Cost Estimate AI skill do?

Estimate codebase cost-to-build, AI-assisted ROI, and fair-market valuation

Why use Cost Estimate on TypingMind?

Because you install it once and use it with any model. Cost Estimate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cost Estimate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/opencrabs/opencrabs/tree/main/src/docs/reference/templates/skills/cost-estimate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cost Estimate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cost Estimate?

As many as you like. As long as a model supports skills, you can use Cost Estimate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cost Estimate AI skill free?

Yes. It is published on GitHub by opencrabs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇