본문으로 건너뛰기
cccskills
무료GitHub에 공개

codebase-cost-estimator

Estimate the full development cost of an existing codebase from lines of code, architectural complexity, and team-composition overhead. Use for 'how much would this cost to build', 'what did this codebase cost', development-cost or build-cost estimates, calendar-time estimates, and Claude/AI ROI on a delivered codebase. Estimates by measured LOC and complexity, not by ticket volume.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(7)

  • SKILL.md5.5 KB
  • assets/output-template.md3.9 KB
  • README.md3.1 KB
  • references/claude-roi.md3.0 KB
  • references/org-overhead.md1.1 KB
  • references/rates.md1.2 KB
  • references/team-cost.md1.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Codebase Cost Estimator

Estimate what it cost (or would cost) to build an existing codebase. The estimate is driven by measured lines of code and complexity — not by ticket count, story points, or feature lists. Always present a range with explicit assumptions; never a single number.

Inputs

  • A checked-out codebase (local path or repo) you can run git, cloc/tokei, and file counts against.
  • Optional: project README/status for version and scope context.
  • Optional: git history, for the AI-ROI step (commit timestamps).

Process

  1. Measure the codebase. Count LOC by language and separate production code, tests, and docs. Prefer a real counter over guessing:

    # whichever is installed; both break LOC down by language
    tokei .        # or: cloc --vcs=git .
    

    Record per-language LOC, test LOC, doc LOC, and total. Note complexity drivers: advanced frameworks, system-level/GPU/native code, and third-party integrations. These map directly to the productivity bands in references/rates.md.

  2. Convert LOC to raw developer-hours. For each code category, divide its LOC by the lines-per-hour band in references/rates.md (e.g. simple CRUD/UI 30–50 LOC/hr; GPU/shader 10–20 LOC/hr; comprehensive tests 25–40 LOC/hr). Sum to a raw coding-hours subtotal. Keep the per-category breakdown — it is the audit trail for the estimate.

  3. Apply overhead multipliers. Raw coding time is not total engineering time. Add the multipliers from references/rates.md for architecture & design, debugging, review & refactoring, documentation, integration & testing, and learning curve. Total overhead is typically 1.9x–2.25x raw coding hours. This yields total estimated engineering hours.

  4. Research current market rates. Web-search hourly rates for the relevant tech stack and seniority for the current year — do not use stale figures. Build a low / median / high rate table and state the rationale for the recommended rate (stack, specialization, region).

  5. Convert to calendar time. Raw hours ≠ wall-clock delivery. Apply the organizational-overhead efficiency factors in references/org-overhead.md (Calendar Weeks = Raw Dev Hours ÷ (40 × Efficiency Factor)) and show calendar time across company types (lean startup → enterprise), since a solo founder and a bureaucracy ship the same code on very different timelines.

  6. Layer in full-team cost. Engineering is not the whole bill. Apply the supporting-role ratios and team multipliers in references/team-cost.md (PM, UX/UI, eng management, QA, program management, tech writing, DevOps) to produce a role-by-role breakdown across company stages, plus a full-team total.

  7. Assemble the estimate. Use the structure in assets/output-template.md: codebase metrics, dev hours, calendar time, market rates, engineering cost (low/median/high), full-team cost, grand-total summary, confidence level, and assumptions.

  8. AI / Claude ROI (optional). If the codebase was built with AI assistance, follow references/claude-roi.md to estimate Claude's actual active hours (git-commit clustering preferred; file timestamps or LOC ÷ 350 as fallbacks) and compute value per Claude hour, speed multiplier vs. a human developer, and cost ROI.

Key principles

  • Estimate from measured LOC and complexity — never from ticket volume or story points.
  • Always show ranges (low / median / high). A single number is a lie about precision.
  • State confidence level and every load-bearing assumption.
  • Use current-year market rates; flag the search date.
  • Present professionally — the output should stand up in front of a client or stakeholder.

References

  • references/rates.md — lines-per-hour productivity bands and overhead multipliers
  • references/org-overhead.md — efficiency factors and the calendar-time formula
  • references/team-cost.md — supporting-role ratios and full-team multipliers
  • assets/output-template.md — the stakeholder-ready estimate template
  • references/claude-roi.md — AI/Claude ROI calculation method

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when adversarially reviewing a document that makes formal or technical claims — math derivations, physics papers, statistical analyses, benchmark reports, whitepapers. Inventories every equation and quantitative claim, verifies each AS NAMED in the text (never a paraphrase or a neighboring statement), and classifies VERIFIED / REFUTED / UNVERIFIABLE / VACUOUS. Triggers on "check this paper", "verify these claims", "is this derivation right", "review this proof", "audit this benchmark", "does the math hold up". For source-code review see code-review-and-quality; for skill/agent library audits see skill-library-review; for content quality scoring see content-ops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

Run Karpathy-style autoresearch optimization on any content. Generates 50+ variants, scores with a 5-expert simulated panel, evolves winners through multiple rounds, outputs optimized version + full experiment log. Use when optimizing landing pages, email sequences, ad copy, headlines, form pages, CTA text, or any conversion-focused content. Triggers on "optimize this page", "run autoresearch", "score these variants", "A/B test this copy".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data via Chrome DevTools MCP.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

Conducts multi-axis code review across correctness, readability, architecture, security, and performance. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Triggers on "review my PR", "review this diff", "code review", "review this changeset", "is this ready to merge", "pre-merge review".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

Auto-assembles a domain-specific expert panel (7–10 experts), scores any content or strategy artifact against a typed rubric, and iterates until the aggregate hits 90+ (max 3 rounds). Use as a quality gate on copy, email sequences, landing-page drafts, strategy docs, charts, titles, or recruiting evaluations — or when another skill needs a final review gate on its output. Triggers on "expert panel this", "score this", "rate these variants", "quality check this", "panel review", "expert score", "evaluate this copy/strategy/page". For variant generation and multi-round conversion optimization see autoresearch; for live-URL CRO auditing see conversion-ops; for the scripted content-production pipeline see content-pipeline.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

Non-interactive content-production toolkit: mine quotable moments from podcast RSS feeds and meeting notes, discover clip-worthy moments in video transcripts, repurpose long-form source into platform-native drafts (X, LinkedIn, YouTube Shorts, newsletter), and batch-score/gate those drafts before publish. Use when asked to "mine quotes from this podcast", "find clips in this video", "repurpose this into a thread / LinkedIn post / Short", "turn this transcript into posts", "extract viral moments", or "gate this batch of drafts". Runs Python scripts end to end. For interactive expert-panel scoring of a single artifact see content-ops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LazyIsEfficient/agentic-os172026년 10월 20일 업데이트

LazyIsEfficient의 스킬 모두 보기

이 스킬의 문제 신고