Skip to content

navveenb/lean-agentic-ai / lean-agentic-ai-claude-implementation/.claude/skills/cost-analyzer

cost-analyzer

Verified

Generate a lean cost analysis report with model right-sizing recommendations and savings estimates

FileKindSize
SKILL.mdskill md1.3 KB
---
name: cost-analyzer
description: Generate a lean cost analysis report with model right-sizing recommendations and savings estimates
allowed-tools: Read, Write
---

# Cost Analyzer Report Skill

Generate a cost analysis report from scan results in context. Write to `reports/cost-analysis.md`.

## Report Structure

```markdown
# 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
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall