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.00076 | $0.02783 |
| Opus 5.5 | $0.00030 | $0.01113 |
| Sonnet 5.5 | $0.00015 | $0.00557 |
| Haiku 4.5 | $0.00008 | $0.00278 |
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 17d 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 — 299 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.
- 17d 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 (76 stars, last pushed 9d ago), licensed MIT. It adds 76 tokens to every session and 2,783 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.
Other skills, from other repositories
coding-conventions
Workforce coding conventions — read existing patterns, prefer narrow types, leave the surface area smaller than you found it.
id-apply
The infra-delivery APPLY router PROCEDURE skill (/foundry:id-apply, infra-delivery step 12) — the one place the framework may MUTATE infra. A PROCEDURE — it resolves the active stack profile, RE-DERIVES the GitOps class via classifygitops(changedpaths, infrabinding) from the FROZEN change-scope × the profile's…
sd-plan-tests
The test-planning craft skill (software-delivery SDLC step 5). Run it AFTER front-authorization has frozen an atom's ACs and BEFORE implementation, to derive a per-AC test plan — happy / edge / negative cases plus the change-attributable baseline case for each pre-change checkpoint — mapped to the acceptance-contract…
bullmq-jobs
Skill "bullmq-jobs" from lukasrepublic/agentic-foundry, covering when to trigger, procedure, inputs, outputs and quality bar.
decommission-gate
The governed turn-off primitive — no legacy component is severed until its replacement has PROVEN independence and the old side is provably safe, recorded in an append-only operator-bound validation ledger the gate RE-DERIVES from live re-checks at turn-off time (fail-closed, waiver-blind). Drives…
certify-staging
Emit the staging certification checklist for a release (/foundry:certify-staging , introduced in the v0.25.0 certification realignment, CONSTITUTION.md §V factory-mode tail). Fills context/staging-checklist-template.md from the release manifest + the staging binding in .claude/foundry-project.json, observes deploy…