Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cost-watchdog

Skill by evloghq

Runs a weekly review of evlog's model spend and performance, comparing cost by surface and checking whether each surface still uses a sensible model. Built for the evlog team's AI Gateway setup.

  • Score 80
  • 2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cost-watchdog

Built from the published package, never by AI.

git clone --depth 1 https://github.com/evloghq/evlog /tmp/evlog && mkdir -p ~/.claude/skills && cp -r /tmp/evlog/apps/evi/agent/skills/cost-watchdog ~/.claude/skills/cost-watchdog

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cost-watchdog in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs a recurring cost and model review for evlog's AI assistant. Each week it pulls spend and token figures from the AI Gateway report, grouped by tag and by model, and compares the last 7 full days with the 7 days before them. It then builds a candidate set of alternative models from the gateway catalog and scores each one on agentic quality, cost per task, speed and projected cost on real traffic.

The output is a Linear document with spend, drift, the comparison table and per-surface recommendations. Each recommendation is a swap, a run of evals, or a keep. The skill files Linear issues only for the one or two strongest recommendations and does not change models itself. It is written for the evlog team and its Hugo, who makes model decisions.

Written from the project's SKILL.md and checked against it.

What it can do

  • Spend report by surfaceReads AI Gateway cost and token figures per surface, per agent and for the environment total.
  • Drift detectionCompares two 7-day windows and flags cost, model mix and token shape changes.
  • Candidate model setBuilds alternatives from the AI Gateway model catalog using tool-use, reasoning, image input and price limits.
  • Model comparison tableScores the current and candidate models on quality, cost per task, speed and projected cost.
  • Per-surface verdictsGives each candidate a swap, run evals or keep verdict with projected weekly cost.
  • Linear report and issuesPublishes a Linear document and files or updates Linear issues for decision-worthy changes.

What you need

  • Access to the AI Gateway report for the evlog environment
  • Linear access on the evlog team
  • Web search and fetch for model benchmark sources
  • PostHog access for eval comparisons

Try asking

  • Run the weekly cost and model watchdog for the gateway
  • Give me a per-surface model analysis for last week
  • Check whether our spend drifted this week and why

Good to know

  • Built for evlog's own AI Gateway tags and team setup
  • Today the agent runs one model everywhere, so per-surface swaps need routing work first
  • Model changes are left to the team to decide

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: apps/evi/agent/skills/cost-watchdog/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to cost-watchdog

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

cost-watchdog: common questions

What does the cost watchdog check each week?

It compares the last 7 full days of AI Gateway spend and token use with the 7 days before, by surface, agent and model. It also checks whether each surface's model is still a sensible choice.

Where does the report get published?

The full report goes to a Linear document on the evlog team. Only one or two strong recommendations become Linear issues, and the thread gets a short summary.

Does it change the production model automatically?

No. The source says a model change is the team lead's decision, and the skill files an issue for it instead.

How do I install cost-watchdog?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cost-watchdog free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is cost-watchdog safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cost-watchdog?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

cost-watchdog Install

Add to stack

Loading.