navveenb/lean-agentic-ai / lean-agentic-ai-claude-implementation/.claude/skills/cost-analyzer
cost-analyzer
VerifiedGenerate a lean cost analysis report with model right-sizing recommendations and savings estimates
Cost Analyzer Report Skill
Generate a cost analysis report from scan results in context. Write to reports/cost-analysis.md.
Report Structure
# Lean Cost Analysis Report
> Principle 2: "Not every prompt deserves a 70B response"
## Summary
- Total LLM calls found: [count]
- Calls using frontier models: [count]
- Calls that could be downgraded: [count]
- Estimated current monthly cost: $[amount] (at [N] calls/day)
- Estimated optimized monthly cost: $[amount]
- Monthly savings: $[amount] ([X]% reduction)
## Findings by File
[Per-call analysis with file:line, model, task type, recommendation, status emoji]
## Cost Breakdown Table
[Task type | Count | Current tier | Recommended tier | Monthly savings]
## Top 3 Quick Wins
[Highest impact changes]
## Carbon Impact
[Current vs optimized CO₂ estimates]
## Next Steps
[Actionable checklist]
Rules
- Write to
reports/cost-analysis.md - Use concrete numbers
- Assume 10,000 calls/day if volume not specified
- Use 0.005 kWh per medium call, 0.03 kWh per frontier call for carbon
- Be honest — if frontier IS needed, say so
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |