savings

savings is a command for Claude Code from felvieira/claude-skills-fv. It costs 39 tokens per session (1,126 once invoked), scanned A, original, Apache-2.0.

A command that reports estimated savings and risks avoided during coding-agent work. It summarizes token and cost estimates, prevented bugs, tool activity, gate decisions, and frequently used files.

In plain words
What is it for?
Use it for all-time or recent-session reports, such as the last 24 hours, 7 days, or 30 days, covering tool usage, blocked invalid agent dispatches, pre-execution decisions, and saved effort.
Why use it?
It provides an auditable account of what the development kit contributed instead of relying on vague claims. The underlying estimates can be checked against the project’s stated measurement rules.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-team-kit-fv plugin — 72 skills, 45 commands, 16 agents, 5 hooks shipped together

Good fit Use it for all-time or recent-session reports, such as the last 24 hours, 7 days, or 30 days, covering tool usage, blocked invalid agent dispatches, pre-execution decisions, and saved effort.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add felvieira/claude-skills-fv
Claude Code
/plugin install dev-team-kit-fv

Made for: Claude Code.

Or install dev-team-kit-fv, the plugin that ships this one along with the rest of its 72 skills, 45 commands, 16 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for savings

README.md
[![agentmods](https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/savings/github.svg)](https://agentmods.dev/commands/felvieira/claude-skills-fv/savings)
Your own site
<a href="https://agentmods.dev/commands/felvieira/claude-skills-fv/savings"><img src="https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/savings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for savings

Your own site · 80×15
<a href="https://agentmods.dev/commands/felvieira/claude-skills-fv/savings"><img src="https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/savings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01126
Opus 5 $0.00019 $0.00563
Sonnet 5 $0.00008 $0.00225
Haiku 4.5 $0.00004 $0.00113

Measured 12d ago against content hash 406ad2902d4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

savings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/savings.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/savings — Quanto o kit te salvou

Objetivo: mostrar de forma honesta e auditável quanto o dev-team-kit-fv contribuiu durante seu uso — em tokens economizados, dinheiro, bugs prevenidos e tempo equivalente de dev.

Não é métrica de marketing. As heurísticas estão declaradas em policies/savings-metrics.md para você auditar.

Como invocar

/savings              # all-time, projeto atual
/savings --since 24h  # últimas 24 horas
/savings --since 7d   # últimos 7 dias
/savings --since 30d  # últimos 30 dias

O que mostra

Seção Conteúdo
💰 Bottom line Tokens estimados, USD, bugs prevenidos, dev hours equivalentes, valor combinado
🛡 Agent Dispatch Validator Quantas vezes bloqueou skill-as-subagent (evitando InputValidationError), top offenders
🎯 Pre-Execution Gate Distribuição de decisões: concrete bypass / open discussion / enrich / guided enrich / force
📂 Tool Usage Reads/searches/writes totais, bytes lidos, hot files (candidatos a learned-skill)
⚙ Tool Call Activity Total calls, error rate, bytes returned, avg bytes/call (eficiência), span da atividade
🧠 Intent Classifier Total classificações, LLM vs regex, distribuição por categoria
🧭 Routing Feedback Composições aceitas, alteradas ou rejeitadas; sinal para calibrar triggers sem inflar skills

Execute

Rode o engine de relatório e mostre o output diretamente:

node "${CLAUDE_PLUGIN_ROOT}/scripts/savings-report.mjs" $ARGUMENTS

Após o output, interprete brevemente os 3 maiores insights:

  1. O que mais economizou (qual hook foi MVP)
  2. O que pode ser melhorado (hot files repetidos → criar learned-skill? Hooks ignorados → calibrar?)
  3. Sugestão acionável para próxima semana

Fontes de dados

Arquivo Origem O que tem
.auto/events.jsonl session-event-logger (PostToolUse) toda tool call: ts, tool, args, status, bytes_out
.bot/.tool-usage.json pre-tool-enforcer (PreToolUse) reads/searches/writes counters, repeated signals, hot files
.bot/agent-dispatch-errors.jsonl agent-dispatch-validator (PreToolUse, v2.2.1+) blocked Agent dispatches com skill name como subagent_type
.bot/pre-execution-gate.jsonl pre-execution-gate (UserPromptSubmit, v2.4.0+) decisões do gate: concrete_bypass / open_discussion_bypass / enrich / guided_enrich / force_bypass / pass_through
.swarm/classifier.jsonl intent-classifier (UserPromptSubmit) classificações de intent: categoria, command sugerido, LLM vs regex
.bot/route-feedback.jsonl route-feedback.mjs decisões explícitas accepted/overridden/rejected e plugins selecionados
.bot/conflict-decisions.jsonl policies/trade-off-resolution.md via scripts/log-conflict-decision.mjs (v2.7.1+) resoluções de conflito: policies envolvidas, resolution type, outcome

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 79 lines · 39 tokens per session scan A 406ad2902d4e

Subscribe to this mod's changes

savings is a command published in the GitHub repository felvieira/claude-skills-fv (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,126 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.