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 The-AI-Directory-Company/agents-and-skills --skill metrics-frameworkgit clone --depth 1 https://github.com/The-AI-Directory-Company/agents-and-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/the-ai-directory-company/agents-and-skills/metrics-framework)<a href="https://agentmods.dev/skills/the-ai-directory-company/agents-and-skills/metrics-framework"><img src="https://agentmods.dev/badge/skills/the-ai-directory-company/agents-and-skills/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/the-ai-directory-company/agents-and-skills/metrics-framework"><img src="https://agentmods.dev/badge/skills/the-ai-directory-company/agents-and-skills/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.00032 | $0.01764 |
| Opus 5 | $0.00016 | $0.00882 |
| Sonnet 5 | $0.00006 | $0.00353 |
| Haiku 4.5 | $0.00003 | $0.00176 |
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 9d 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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Metrics Framework
Before you start
Gather the following from the user. If anything is missing, ask before proceeding:
- Business objective — What outcome are you trying to drive? (e.g., increase retention, reduce cost-to-serve, grow revenue per user)
- Product or team scope — Which product, feature area, or team does this framework cover?
- Current state — Do metrics exist today? What is being tracked, and what is missing?
- Audience — Who will consume these metrics? (executives, PMs, engineers, cross-functional reviews)
- Data infrastructure — What tools are in place? (warehouse, event tracking, BI layer, alerting)
- Review cadence — How often does the team review metrics today? How often should they?
If the user says "we need a dashboard," push back and ask what decisions the dashboard should inform. Dashboards without decision context become decoration.
Metrics framework template
1. Business Objective
State the business objective in one sentence. This anchors every metric choice — if a metric does not connect to this objective, it does not belong in the framework.
Objective: Increase 90-day user retention from 34% to 45% by Q3,
driving ARR expansion through reduced churn.
2. Metric Types
Every framework needs exactly three tiers. No more, no fewer.
| Type | Purpose | Count | Example |
|---|---|---|---|
| Primary | The single metric that defines success for this objective | 1 | 90-day retention rate |
| Guardrail | Metrics that must not degrade while pursuing the primary metric | 2-4 | Support ticket volume, NPS, p95 latency |
| Diagnostic | Metrics that explain why the primary metric is moving | 4-8 | Feature adoption rate, onboarding completion, time-to-value |
Primary metric rules:
- Exactly one. If you have two primary metrics, you have zero — pick one or combine them into a composite.
- Must be directly measurable, not derived from surveys or estimates.
- Must move on the timescale of your review cadence. A quarterly metric reviewed weekly creates noise, not signal.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 127 lines · 32 tokens per session scan A e2f0fb4d7dce
metrics-framework is a skill published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 1,764 once invoked, about $0.0002 per session on Opus 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-03.
Other skills, from other repositories
writing-workflow-skills
Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.
case-interview-practice
Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.
i18n-localization
Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.
electron-desktop
Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.
finance
Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and corporate finance decisions. Use when building financial models, analyzing statements, or making investment decisions.
investment-memo-generator
Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.