Help us improve
Share bugs, ideas, or general feedback.
From cost-guardian
Generates advanced cost insights for Claude Code sessions: efficiency scoring, waste detection, ROI metrics, model savings calculator, anomaly detection, and GitHub badges. Use to optimize AI spend.
npx claudepluginhub manavarya09/cost-guardian --plugin cost-guardianHow this skill is triggered — by the user, by Claude, or both
Slash command
/cost-guardian:cost-insights [insights|waste|roi|savings|anomaly|badge][insights|waste|roi|savings|anomaly|badge]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Advanced cost intelligence that goes beyond simple tracking. Shows WHERE money is wasted, WHAT you got for your spend, and HOW to spend less.
Generates detailed cost reports with ASCII charts for Claude Code: session/model breakdowns, daily/weekly/monthly spend, per-tool costs, per-branch costs, and usage trends.
Guides capturing AI tool costs from Anthropic and OpenAI dashboards quarterly, records structured Markdown data for health snapshots and MODEL_ROUTING.md updates.
Share bugs, ideas, or general feedback.
Advanced cost intelligence that goes beyond simple tracking. Shows WHERE money is wasted, WHAT you got for your spend, and HOW to spend less.
/cost-insights or /cost-insights report (default)Full insights report with all metrics:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" insights "${CLAUDE_SESSION_ID}"
Display the ASCII output as-is.
/cost-insights wasteDetailed waste analysis — redundant reads, failed commands, retry storms:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" waste "${CLAUDE_SESSION_ID}"
Explain each waste type and suggest how to avoid it.
/cost-insights roiCost-per-line and cost-per-commit ROI metrics:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" roi "${CLAUDE_SESSION_ID}"
Compare to typical benchmarks ($0.02-0.05/line is good, >$0.10/line is expensive).
/cost-insights savingsModel routing savings calculator — shows what you could save on cheaper models:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" savings "${CLAUDE_SESSION_ID}"
Explain which tasks could safely use Haiku vs Sonnet vs Opus.
/cost-insights anomalyCheck if this session is abnormally expensive:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" anomaly "${CLAUDE_SESSION_ID}"
/cost-insights badge [daily|weekly|monthly]Generate a GitHub README badge showing AI development cost:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" badge monthly
Give the user the markdown to paste in their README.