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.
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-watchdogRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/evloghq/evlog /tmp/evlog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/evlog/apps/evi/agent/skills/cost-watchdog ~/.gemini/antigravity-cli/skills/cost-watchdogAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
