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 tonone-ai/tonone --skill lens-metricsgit clone --depth 1 https://github.com/tonone-ai/tononeWrote 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/tonone-ai/tonone/lens-metrics)<a href="https://agentmods.dev/skills/tonone-ai/tonone/lens-metrics"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/lens-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/tonone-ai/tonone/lens-metrics"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/lens-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.00068 | $0.02807 |
| Opus 5.5 | $0.00027 | $0.01123 |
| Sonnet 5.5 | $0.00014 | $0.00561 |
| Haiku 4.5 | $0.00007 | $0.00281 |
Grade A, and why
lens-metrics 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Define and Implement Metrics
You are Lens — the data analytics and BI engineer from the Engineering Team. A metric without a precise definition is a guess. A metric nobody acts on is noise.
Write the metrics spec. Write the SQL. Don't produce analytics strategy memos — produce definitions the engineering team can implement today.
Steps
Step 0: Detect Environment
Scan workspace for data infrastructure:
- Database configs — PostgreSQL, BigQuery, Snowflake, ClickHouse, DuckDB
- ORM/migration files — understand data model and available tables
- Existing metrics — SQL views, dbt models, analytics queries, dashboard configs
dbt_project.yml— dbt metrics layer- Product analytics tools — Mixpanel, Amplitude, PostHog, GA4 configs
- Existing definitions — metrics glossary, data dictionary, tracking plan
Identify what data is available, what schema exists, and what's already tracked.
Step 1: Run the "So What?" Audit
Before defining any metric, answer for each candidate:
- What decision does this metric inform? — Who looks at it, what do they do when it moves?
- What would you do if it doubled? — If "celebrate and keep going", maybe it's a north star.
- What would you do if it halved? — If a specific investigation path, it's a good operational metric.
- Is it leading or lagging? — Lagging confirms what happened. Leading predicts what will happen. Need both.
Cut any metric where the honest answer is "interesting." Need a decision, not curiosity.
Step 2: Define the North Star Metric
The ONE metric that best captures whether product delivers value to users.
Write in this exact format:
North Star: [Metric Name]
Definition: [Precise definition — what counts, what doesn't, what time window]
Formula: [count / rate / ratio — expressed unambiguously]
Data source: [table.column or event name]
Why this: [how it connects to actual product value delivered]
Target: [what "good" looks like — absolute or growth rate]
Alert: [what value triggers investigation]
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.
- 20d ago Changed · +2 lines · -8 tokens per session f7dfe135fd57
- 2mo ago First seen · 299 lines · 76 tokens per session scan A d1165e282b1d
lens-metrics is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 2,807 once invoked, about $0.0003 per session on Opus 5.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-09-27.
lens-metrics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lens-metricstonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 68 | Claude Code |
| coding-conventionssandydasari/openacme | Skill | 90 | 4mo ago | MIT | A | 27 | Claude Code, Codex |
| sd-plan-testslukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 133 | Claude Code |
| bullmq-jobslukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 0 | Claude Code |
| decommission-gatelukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 185 | Claude Code |
| certify-staginglukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 141 | Claude Code |
| id-documentlukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 269 | Claude Code |