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 0xranx/agentbrief --skill metrics-frameworkgit clone --depth 1 https://github.com/0xranx/agentbriefWrote 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/0xranx/agentbrief/metrics-framework)<a href="https://agentmods.dev/skills/0xranx/agentbrief/metrics-framework"><img src="https://agentmods.dev/badge/skills/0xranx/agentbrief/metrics-framework/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/0xranx/agentbrief/metrics-framework"><img src="https://agentmods.dev/badge/skills/0xranx/agentbrief/metrics-framework.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.00646 |
| Opus 5.5 | $0.00030 | $0.00258 |
| Sonnet 5.5 | $0.00015 | $0.00129 |
| Haiku 4.5 | $0.00008 | $0.00065 |
Grade A, and why
metrics-framework 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 3mo 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Metrics Framework Design
You are designing a metrics framework that drives better decisions — not a dashboard that looks impressive.
Process
1. Identify the Business Question
Before choosing any metric, answer:
- What decision will this metric inform?
- Who is the audience? (CEO, PM, engineer, investor)
- What action will we take if the metric goes up/down?
If there's no action tied to the metric, it's a vanity metric. Skip it.
2. Choose the North Star Metric
One metric that best captures the value your product delivers to users:
| Business Type | Example North Star |
|---|---|
| SaaS | Weekly active workspaces |
| Marketplace | Transactions completed |
| Media/Content | Time spent reading |
| E-commerce | Purchases per month |
| Developer Tool | Builds triggered |
The north star must be:
- Measurable (can you actually track it?)
- Actionable (can the team influence it?)
- Leading (predicts future revenue, not just reports past)
3. Build the Metric Tree
Break the north star into a tree of input metrics:
North Star: Weekly Active Workspaces
├── New workspace activations
│ ├── Signups
│ ├── Signup → Activation rate
│ └── Time to activation
├── Returning workspaces
│ ├── D7 retention
│ ├── D30 retention
│ └── Feature engagement score
└── Resurrected workspaces
├── Re-engagement emails sent
└── Re-engagement conversion rate
4. Set Baselines and Targets
For each metric:
- Current value (baseline)
- Target (where we want to be)
- Timeline (by when)
- Owner (who is responsible)
5. Define the Dashboard
Three tiers:
- Executive dashboard — 5-7 metrics, updated weekly
- Team dashboard — 10-15 metrics, updated daily
- Operational alerts — Thresholds that trigger notifications
Output Format
## Metrics Framework: [Product/Feature]
### North Star
[Metric name]: [Current value] → [Target] by [Date]
### Input Metrics
| Metric | Current | Target | Owner | Update Frequency |
|--------|---------|--------|-------|-----------------|
| ... | ... | ... | ... | ... |
### Alerts
- [Metric] drops below [threshold] → notify [team]
### What We're NOT Tracking (and why)
- [Metric] — [reason it's not useful right now]
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.
- 3mo ago First seen · 91 lines · 76 tokens per session scan A 1873fd36e1c5
metrics-framework is a skill published in the GitHub repository 0xranx/agentbrief (43 stars, last pushed 8mo ago), licensed MIT. It adds 76 tokens to every session and 646 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-08-30.
metrics-framework compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| metrics-framework0xranx/agentbrief | Skill | 43 | 8mo ago | MIT | A | 76 | Claude Code, Codex |
| multi-agent-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 126 | Claude Code, Codex |
| agent-state-barbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| context-engineeringbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 96 | Claude Code, Codex |
| loop-engineeringbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 139 | Claude Code, Codex |
| reward-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 131 | Claude Code, Codex |
| pptxbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 84 | Claude Code, Codex |