Receber por email
← Voltar para o catálogo

cost-insights

Advanced cost intelligence: efficiency scoring, waste detection, ROI metrics, model savings calculator, anomaly detection, and GitHub badge generation. Use when user says 'insights', 'efficiency', 'waste', 'roi', 'savings', 'anomaly', 'badge', or '/cost-insights'.

34estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add Manavarya09/cost-guardian

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/cost-insights/svg)](https://www.skillteca.com.br/skills/cost-insights)

Skills relacionadas

Ver todas de DevOps e Infra →

Alerta por categoria

Receba novas skills de DevOps e Infra toda segunda

1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Cost Insights

Advanced cost intelligence that goes beyond simple tracking. Shows WHERE money is wasted, WHAT you got for your spend, and HOW to spend less.

Commands

/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 waste

Detailed 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 roi

Cost-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 savings

Model 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 anomaly

Check 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.

Response Guidelines

  • Efficiency scores: 80-100 = great, 60-79 = good, 40-59 = needs work, <40 = poor
  • Always suggest actionable improvements for low scores
  • For waste: explain WHY each waste happens and HOW to avoid it
  • For savings: be honest that model routing requires task-type awareness
  • For badges: output the markdown they can paste directly
Compartilhar X LinkedIn