cost-estimate
Estimate development cost of a codebase based on lines of code and complexity
Skill by danzam98
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/danzam98-cost-estimate
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.
About
Reviews
Write a reviewNo 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-estimate
What's inside
- Skill name
cost-estimate- Description
- Estimate development cost of a codebase based on lines of code and complexity
- License
- MIT
- Instructions
- 245 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Cost Estimate Command You are a senior software engineering consultant tasked with estimating the development cost of the current codebase. **CRITICAL**: Not all code is created equal. The majority of modern codebases consist of scaffolded, copied, or generated code that should NOT be valued at full custom development rates. ## Step 1: Analyze and CATEGORIZE the Codebase First, count total lines. Then **categorize each file** into one of these tiers: ### Code Value Tiers | Tier | Value % | Description | Examples | |------|---------|-------------|----------| | **Tier 1: Custom Business Logic** | 100% | Novel code solving unique problems | Custom algorithms, business rules, API handlers with real logic | | **Tier 2: Custom UI/Components** | 75% | Project-specific UI built from scratch | Custom React components, layouts, animations | | **Tier 3: Configured Integrations** | 40% | Third-party services wired together | Auth setup, payment integration, API clients | | **Tier 4: Adapted Library Code** | 15% | Copy-pasted with minor changes | shadcn/ui components, Next.js app router pages | | **Tier 5: Pure Scaffold/Config** | 5% | Generated or copy-pasted verbatim | Config files, boilerplate, package.json | | **Tier 6: Content (not code)** | 0% | Text content, documentation | MDX blog posts, README files | ### How to Categorize **Tier 1 indicators** (100% value): - Contains business-specific logic (pricing, rules, workflows) - Has custom algorithms or data transformations - Non-trivial error handling for real edge cases - Would require understanding the business to write **Tier 2 indicators** (75% value): - Custom UI components built for this project - Project-specific layouts and page structures - Custom hooks with real logic - Styled components with original designs **Tier 3 indicators** (40% value): - Integration code (Stripe, Auth0, Cloudflare, etc.) - API route handlers that mostly call external services - Database schema definitions - Queue/worker configurations **Tier 4 indicators** (15% value): - Components from shadcn/ui, Radix, or similar - Next.js/Remix page boilerplate - Standard CRUD operations - Copy-pasted patterns from docs **Tier 5 indicators** (5% value): - tsconfig.json, eslint.config.js, tailwind.config.js - package.json, wrangler.toml - Docker/CI configs from templates - Generated types, migrations from CLI tools **Tier 6 indicators** (0% value): - MDX/Markdown content files - README, CHANGELOG, docs - Comments and JSDoc (unless documenting complex logic) ### Categorization Commands Run these to identify code categories: ```bash # Find UI library components (Tier 4) ls src/components/ui/ 2>/dev/null | wc -l # Find config files (Tier 5) ls *.config.* *.json wrangler.toml tsconfig.json 2>/dev/null # Find content files (Tier 6) find . -name "*.md" -o -name "*.mdx" | wc -l # Find test files (apply 50% modifier - tests have high boilerplate) find . -name "*.test.*" -o -name "*.spec.*" | xargs wc -l 2>/dev/null ``` ### Calculate Effective Lines of Code ``` Effective LOC = Σ (Lines in Category × Value %) ``` Example: - 500 lines custom business logic × 100% = 500 effective - 2000 lines custom UI × 75% = 1500 effective - 800 lines integrations × 40% = 320 effective - 3000 lines shadcn/ui × 15% = 450 effective - 600 lines config × 5% = 30 effective - 1000 lines content × 0% = 0 effective - **Total: 7900 raw LOC → 2800 effective LOC** ## Step 2: Calculate Development Hours (using Effective LOC) Based on industry standards for a **senior full-stack developer** (5+ years experience): **Hourly Productivity Estimates** (applied to EFFECTIVE lines only): - Complex business logic: 15-25 lines/hour - Custom UI/components: 25-40 lines/hour - Integration code: 30-50 lines/hour - Standard patterns: 40-60 lines/hour **Test Code Modifier**: Tests are typically 50% boilerplate. Apply 0.5x to test line counts before categorization. **Additional Time Factors**: - Architecture & design: +15% of coding time - Debugging & troubleshooting: +20% of coding time - Code review & refactoring: +10% of coding time - Integration & testing: +15% of coding time **Calculate total hours**: ``` Base Hours = Effective LOC / Productivity Rate Total Hours = Base Hours × (1 + Overhead %) ``` ## Step 3: Research Market Rates Use WebSearch to find current hourly rates for senior developers.
From danzam98/claude-skills-toolkit, MIT.
More from danzam98/claude-skills-toolkit
- 0.502score
ab-testing
danzam98
Build home-rolled A/B testing platform for Next.js 16 SaaS.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
ga4
danzam98
Configure GA4 + GTM for Next.js SaaS: funnel tracking, scroll depth, CTA clicks, conversions, feature usage.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
admin-page-for-nextjs-sites
danzam98
Design cohesive Next.js SaaS admin cockpits.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
beads-workflow
danzam98
Convert markdown plans into beads with dependencies using br CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.433score
e2e-testing-for-webapps
danzam98
E2E testing for Next.js + Playwright + Supabase.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
e2e-pipeline-validator
danzam98
Prove the entire system works with real data, no mocks allowed
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
de-slopify
danzam98
Remove telltale AI writing patterns from documentation and text
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
agent-swarm-launcher
danzam98
Initialize multiple agents with full context and coordination protocols
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
code-reorganizer
danzam98
Restructure scattered code files into a sensible, intuitive folder structure
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
git-committer
danzam98
Intelligently commit all changed files in logical groupings with detailed messages
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
bug-hunter
danzam98
Explore codebase with fresh eyes to find and fix obvious bugs and issues
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
cli-error-tolerance
danzam98
Make CLI tools forgiving of minor syntax issues for agent ergonomics
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 7, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danzam98
- 0.502score
ga4
danzam98
Configure GA4 + GTM for Next.js SaaS: funnel tracking, scroll depth, CTA clicks, conversions, feature usage.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
ab-testing
danzam98
Build home-rolled A/B testing platform for Next.js 16 SaaS.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
admin-page-for-nextjs-sites
danzam98
Design cohesive Next.js SaaS admin cockpits.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
beads-workflow
danzam98
Convert markdown plans into beads with dependencies using br CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.433score
e2e-testing-for-webapps
danzam98
E2E testing for Next.js + Playwright + Supabase.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
deep-project-primer
danzam98
Essential first step to fully understand a project before any work
SkillDFreshness: D★ 1Claude Code +9
Cite this page
cost-estimate skill. Agent Mart. https://agentmart.dev/skills/danzam98-cost-estimate (last updated 2026-10-24)