Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jggomez/expert-ai-developer-skills --skill agent-metricsgit clone --depth 1 https://github.com/jggomez/expert-ai-developer-skillsWrote 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.
[](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/agent-metrics)<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/agent-metrics"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/agent-metrics/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.
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/agent-metrics"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/agent-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00111 | $0.03210 |
| Opus 5.5 | $0.00044 | $0.01284 |
| Sonnet 5.5 | $0.00022 | $0.00642 |
| Haiku 4.5 | $0.00011 | $0.00321 |
Grade B, and why
agent-metrics scanned grade B with 1 finding 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 today.
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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- Editing `~/.claude/settings.json`, `~/.gemini/config/hooks.json` or `~/.gemini/settings.json` by hand instead of letting `agent-meter setup` / `agent-meter uninstall` do it (the latter file belongs to Gemini CLI and is How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Coding Metrics Skill (agent-metrics)
Overview
agent-meter is an optional, standalone CLI that reads the transcripts Claude Code and Antigravity (CLI, IDE and app) already write to disk and turns them into per-project, per-client, per-task and per-subagent metrics: tokens by type, API-equivalent cost (≈), cache hit ratio, task latency P50/P95/P99, active time vs wall-clock, parallelism, retries and tool-call counts.
- Option A — Local (default): a DuckDB file at
~/.agent-meter/meter.duckdb, a summary after each task or session, and an offline HTML report. No network, no cloud account. - Option B — Cloud (opt-in, on top of A): a BigQuery replica (dataset
agent_metrics) loaded with free-tier load jobs, plus a Looker Studio dashboard. The local store stays the source of truth.
It only stores numbers and metadata: never prompts, assistant text, code, tool inputs/outputs or file paths. Every cost is API-equivalent: it is not what a subscription plan bills.
This skill guides the user through installing and configuring the CLI, reading its output and querying the data. It never edits host settings files by hand: agent-meter setup does that with consent, a backup and a reversible agent-meter uninstall.
When to Use
Trigger Scenarios
- The user asks to install or configure agent-meter, or to "track how much my agents cost".
- The user asks what a task, session, project or client cost, or why a task was slow or expensive.
- The user wants a report (local HTML) or a cloud dashboard (BigQuery + Looker Studio).
agent-meter doctoror a summary reports unpriced models, a stale scheduler, missing hooks or a cloud backlog.- The user wants an ad-hoc question answered from the metrics (e.g. "cost per subagent type this month").
When NOT to Use
- Billing disputes with a provider: agent-meter shows API-equivalent cost, not invoices.
- Reading prompt or code content: agent-meter never stores it; do not try to recover it from transcripts.
- Users who did not ask for metrics: agent-meter is opt-in. Never install it or register hooks unprompted.
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.
- today First seen · 165 lines · 111 tokens per session scan B 479f22f6d65f
agent-metrics is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 111 tokens to every session and 3,210 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.
agent-metrics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-metricsjggomez/expert-ai-developer-skills | Skill | 30 | yesterday | Apache-2.0 | B | 111 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.0k | yesterday | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 252 | yesterday | MIT | A | 106 | Claude Code |