Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

cost-estimator成本估算器

Agent Skill

cost-estimator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

840

周安装

35

GitHub Stars

85

下载量

280
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cost-estimator(成本估算器)
来源仓库:https://github.com/alirezarezvani/claude-cto-team
仓库路径:skills/cost-estimator
安装命令:
npx skills add https://github.com/alirezarezvani/claude-cto-team --skill cost-estimator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alirezarezvani/claude-cto-team --skill cost-estimator

简介

cost-estimator 提供基础设施与开发投入的全生命周期 TCO 分析框架。

  • 适用于自建 vs 托管服务选型、扩容成本预测与投资回报论证。
  • 分解为基础设施、运维、机会成本等维度进行综合评估。
  • 输出包含弹性伸缩与灾备方案的成本差异对比表格。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Cost Estimator

Provides frameworks for estimating infrastructure costs, development effort, and total cost of ownership (TCO) for technical projects.

When to Use

  • Planning infrastructure budgets
  • Evaluating build vs. buy decisions
  • Projecting costs at different scale points
  • Comparing technology options by cost
  • Creating business cases for technical investments

Cost Categories

Total Cost of Ownership (TCO)

TCO = Infrastructure + Development + Operations + Opportunity Cost

┌─────────────────────────────────────────────────────────────────┐
│                    TOTAL COST OF OWNERSHIP                       │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  Infrastructure    Development    Operations    Opportunity      │
│  ────────────────  ────────────   ──────────    ────────────     │
│  • Compute         • Engineering  • Support     • What else      │
│  • Storage         • QA           • Monitoring  • could team     │
│  • Network         • DevOps       • On-call     • be building?   │
│  • Third-party     • Management   • Training                     │
│    APIs/SaaS       • Contractors  • Incidents                    │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Infrastructure Cost Reference

Cloud Compute Pricing (2024-2025)

AWS EC2 On-Demand (US regions)

InstancevCPURAMMonthly CostBest For
t3.micro21GB$8Dev/test
t3.medium24GB$30Small apps
t3.large28GB$60Light production
m6i.large28GB$70General production
m6i.xlarge416GB$140Medium workloads
m6i.2xlarge832GB$280Heavy workloads
c6i.2xlarge816GB$250CPU-intensive
r6i.2xlarge864GB$370Memory-intensive

GPU Instances

InstanceGPUVRAMMonthly CostBest For
g4dn.xlargeT416GB$380Inference
g5.xlargeA10G24GB$730ML training/inference
p4d.24xlarge8x A100320GB$23,000Large model training

Savings Options

PlanSavingsCommitment
On-Demand0%None
Reserved (1yr)30-40%1 year
Reserved (3yr)50-60%3 years
Spot Instances60-90%Can be interrupted

Database Pricing

Managed Database (AWS RDS PostgreSQL)

InstancevCPURAMMonthly CostConnections
db.t3.micro21GB$1550
db.t3.medium24GB$50100
db.m6g.large28GB$120200
db.m6g.xlarge416GB$240400
db.r6g.xlarge432GB$350500
db.r6g.2xlarge864GB$7001000

Add for storage: $0.115/GB/month (gp3) Add for IOPS: $0.02/IOPS/month (over 3000 baseline)

Redis/ElastiCache

Node TypeRAMMonthly Cost
cache.t3.micro0.5GB$12
cache.t3.medium3GB$50
cache.m6g.large6.4GB$100
cache.r6g.large13GB$175

Storage Pricing

ServiceCostUse Case
S3 Standard$0.023/GBFrequently accessed
S3 Infrequent$0.0125/GBBackups, archives
S3 Glacier$0.004/GBLong-term archive
EBS gp3$0.08/GBBlock storage
EBS io2$0.125/GB + IOPSHigh performance

Network Costs (Often Overlooked!)

Traffic TypeCost
Data INFree
Data OUT (first 10TB)$0.09/GB
Data OUT (next 40TB)$0.085/GB
Inter-AZ transfer$0.01/GB each way
Inter-region transfer$0.02/GB
CloudFront to internet$0.085/GB

Development Cost Estimation

Engineering Cost Framework

Development Cost = (Hours × Hourly Rate) × Complexity Factor × Risk Buffer

Hourly Rate (Fully Loaded):
- Junior Engineer: $75-100/hr
- Mid-level Engineer: $100-150/hr
- Senior Engineer: $150-200/hr
- Staff/Principal: $200-300/hr

Complexity Factors:
- Greenfield, known tech: 1.0x
- Existing codebase, known tech: 1.2x
- New technology for team: 1.5x
- Complex integrations: 1.3x
- Regulatory/compliance: 1.4x

Risk Buffer:
- Well-defined requirements: 1.2x
- Ambiguous requirements: 1.5x
- Experimental/R&D: 2.0x

Story Point to Cost Mapping

SizeStory PointsHoursCost (Mid-level)
XS12-4$200-400
S24-8$400-800
M38-16$800-1,600
L516-32$1,600-3,200
XL832-64$3,200-6,400
XXL13+64+$6,400+

Team Cost Calculator

## Monthly Team Cost

Engineering Team:
- 2 Senior Engineers × $15,000 = $30,000
- 3 Mid-level Engineers × $10,000 = $30,000
- 1 Engineering Manager × $18,000 = $18,000

Overhead (benefits, tools, etc.): 30%
Monthly Burn: ($78,000) × 1.3 = $101,400

Annual Team Cost: ~$1.2M

Build vs. Buy Analysis

Decision Framework

Build vs Buy Decision Matrix:

                    LOW Differentiation    HIGH Differentiation
                   ┌────────────────────┬────────────────────┐
    HIGH Volume/   │                    │                    │
    Usage          │     Consider       │       BUILD        │
                   │      Build         │    (competitive    │
                   │   (cost savings)   │     advantage)     │
                   ├────────────────────┼────────────────────┤
    LOW Volume/    │                    │                    │
    Usage          │       BUY          │       BUY          │
                   │   (no question)    │  (then consider    │
                   │                    │   build if scales) │
                   └────────────────────┴────────────────────┘

TCO Comparison Template

## Option A: Build Custom Solution

### Initial Development
- Engineering time: X months × $Y/month = $Z
- Infrastructure setup: $A

### Ongoing Costs (Annual)
- Infrastructure: $B
- Maintenance (20% of dev time): $C
- On-call/support: $D

### 3-Year TCO
Year 1: $Z + $A + $B + $C + $D
Year 2: $B + $C + $D
Year 3: $B + $C + $D
Total: $XXX

---

## Option B: Buy SaaS Solution

### Initial Costs
- Implementation/integration: $X
- Training: $Y

### Ongoing Costs (Annual)
- License fees: $Z/year
- Per-user costs: $A × users
- API costs: $B

### 3-Year TCO
Year 1: $X + $Y + $Z + $A + $B
Year 2: $Z + $A + $B
Year 3: $Z + $A + $B
Total: $XXX

Common Build vs Buy Scenarios

CapabilityBuild WhenBuy When
AuthenticationUnique security requirementsStandard OAuth/OIDC works
PaymentsCore business differentiatorStandard e-commerce
SearchDomain-specific relevanceGeneric search needs
AnalyticsProprietary insights neededStandard dashboards work
EmailHigh volume, custom deliveryStandard transactional
ML/AIProprietary models neededPre-trained models work

Cost Projection by Scale

SaaS Application Cost Model

ScaleUsersMonthly InfraNotes
Startup0-1K$200-500Single server, managed DB
Growth1K-10K$500-2,000Load balancer, caching
Scale10K-100K$2,000-10,000Horizontal scaling
Enterprise100K-1M$10,000-50,000Multi-region, HA
Large1M+$50,000+Global, custom CDN

Cost Per User Benchmarks

Application TypeCost/User/MonthNotes
Simple web app$0.05-0.20Static + API
Data-intensive$0.20-0.50Analytics, storage
Real-time$0.50-2.00WebSockets, streaming
ML-powered$1.00-5.00Inference costs
Video/media$2.00-10.00Transcoding, CDN

E-commerce Cost Model

## Monthly Infrastructure Cost by GMV

$0-100K GMV/month:
- Basic infrastructure: $500
- Payment processing (2.9%): ~$2,000
- Total: ~$2,500

$100K-1M GMV/month:
- Scaled infrastructure: $2,000
- Payment processing: ~$20,000
- Fraud protection: $500
- Total: ~$22,500

$1M-10M GMV/month:
- HA infrastructure: $10,000
- Payment processing: ~$200,000
- Fraud/security: $5,000
- CDN/performance: $3,000
- Total: ~$218,000

Hidden Cost Checklist

Often Missed in Estimates

Infrastructure:

  • Data transfer costs (egress)
  • Backup storage
  • Log storage (CloudWatch: $0.50/GB)
  • SSL certificates
  • DNS queries
  • Load balancer hours

Development:

  • Code reviews (add 20-30% to dev time)
  • Documentation
  • Testing infrastructure
  • CI/CD pipeline (GitHub Actions: $0.008/min)
  • Staging environments

Operations:

  • Monitoring tools (Datadog: ~$15/host/month)
  • Error tracking (Sentry: $26+/month)
  • Log management
  • On-call compensation
  • Incident response time

Third-Party Services:

  • Email (SendGrid: $0.00025-0.001/email)
  • SMS (Twilio: $0.0075/message)
  • Video (encoding, streaming)
  • Maps/geocoding (Google: $7/1K requests)

Cost Optimization Strategies

Quick Wins

StrategySavingsEffort
Reserved instances30-60%Low
Right-sizing instances20-40%Medium
Spot instances (non-critical)60-90%Medium
Storage tiering50-80%Low
CDN caching30-50% bandwidthLow

Architecture Optimizations

OptimizationImpactComplexity
Caching (Redis)50-80% DB load reductionMedium
Queue-based processingSmooth traffic spikesMedium
Auto-scalingPay for what you useMedium
Serverless (appropriate use)Variable → zero when idleHigh
Multi-region read replicasReduce cross-region costsHigh

Cost Estimation Templates

Project Budget Template

# Project: [Name]
# Duration: [X months]

## Development Costs

| Phase | Duration | Team Size | Cost |
|-------|----------|-----------|------|
| Discovery/Design | 2 weeks | 2 | $X |
| MVP Development | 8 weeks | 4 | $X |
| Testing/QA | 2 weeks | 3 | $X |
| Deployment | 1 week | 2 | $X |
| **Total Development** | | | **$X** |

## Infrastructure Costs (First Year)

| Component | Monthly | Annual |
|-----------|---------|--------|
| Compute | $X | $X |
| Database | $X | $X |
| Storage | $X | $X |
| Network | $X | $X |
| Third-party APIs | $X | $X |
| Monitoring/Tools | $X | $X |
| **Total Infrastructure** | **$X** | **$X** |

## Ongoing Costs (Annual)

| Category | Cost |
|----------|------|
| Infrastructure | $X |
| Maintenance (20% of dev) | $X |
| Support/On-call | $X |
| Tool licenses | $X |
| **Total Annual** | **$X** |

## Summary

| Metric | Value |
|--------|-------|
| Total First Year | $X |
| Annual Run Rate | $X |
| 3-Year TCO | $X |
| Cost per User (at scale) | $X |

Quick Estimate Calculator

## Quick Infrastructure Estimate

Inputs:
- Expected users: [X]
- Requests per user/day: [Y]
- Data storage per user: [Z GB]
- Growth rate: [W%/month]

Calculations:
- Daily requests: X × Y
- Monthly requests: Daily × 30
- Required compute: (Monthly requests / 100K) × $50
- Storage: X × Z × $0.10
- Database: (X / 10K) × $200
- Estimated monthly: Compute + Storage + Database × 1.3

12-month projection with growth:
Sum of (Monthly × (1 + W%)^month) for months 1-12

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.15%
按下载量换算98

Claude

30.82%
按下载量换算86

Cursor

19%
按下载量换算53

Gemini CLI

10.16%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills