metrics
Skill304 starsChanged 2 months agoMITView on GitHub
Browse, search, and display metric definitions from the active dataset's metric dictionary. This skill provides quick access to how metrics are defined, computed, and validated. Use this skill whenever the user wants to see metric definitions, understand how a metric is calculated, check what metrics are available, or verify a metric's specification before using it in analysis. Trigger on phrases like "/metrics", "show me the metrics", "what metrics do we track?", "how is [metric name] calculated?", "what's the definition of [metric]?", "list all metrics", "show me revenue metrics", "what metrics are in this dataset?", "define conversion rate", "how do we measure retention?", "what's in the metric dictionary?", "search for engagement metrics", "show me all KPIs", or any question about metric definitions, specifications, or formulas. Also use this skill during analysis when you need to confirm a metric's exact definition before computing it, or when the user references a metric name and you need to verify its calculation logic. This skill is essential for ensuring analytical consistency and preventing metric confusion across the organization.
21 other projects use a version of this.
Adopted by
Most recently taken up by
- scolladon/crafttheir own version, first seen Nov 15, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- SatanshuMishra/interphasetheir own version, first seen Nov 1, 2026
- hiper2d/werewolf-ai-party-gametheir own version, first seen Nov 1, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use docgen, knowledge-graph and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
prsolansSkilldocgen
Generate professional contract/agreement PDFs (and .docx CLM templates) from a declarative YAML config using the yaml-doc-generator tool ("docgen"). Use this whenever the user wants to create, manufacture, or mock up agreement documents — an MSA, NDA, SaaS/subscription agreement, amendment, exhibit, SOW, renewal notice, loan/credit agreement, fund/investment doc, BAA/DPA, government contract, or a whole document FAMILY between named parties — especially demo/test documents to load into Docusign Navigator/CLM or to feed an agreement-lifecycle agent. Triggers include "generate an MSA/NDA/agreement", "make demo contracts", "create a document family for <party> and <party>", "use docgen", or "use the yaml-doc-generator". Produces real PDFs with parties, clauses, and a manifest of critical dates (renewal/expiration).
Also in 3 projects that use this
ddehartSkillknowledge-graph
Search, capture, and query the claude-code-plugins knowledge graph. Use when asked to "capture this", "add this to the graph", "what do we know about X", "update the graph", "check the graph for X", or when a decision, pattern, or non-obvious fact surfaces mid-session that's worth recording. Also: "log an observation", "what patterns do we have about skill triggering", "any decisions on the knowledge-commons plugin", "what do we know about the commit-creator agent".
Also in 3 projects that use this
rajnavakotiSkillscan
Run the AI dashboard scanner and generate the HTML report.
Also in 3 projects that use this
MicrosoftSkillretrospective
Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 5 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- google-gemini/gemini-cli★ 109ksame name
- ZimoLiao/scholaraio★ 585same name
- menkesu/awesome-pm-skills★ 441same name
- AsiaOstrich/universal-dev-standards★ 84same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- hiper2d/werewolf-ai-party-game★ 22same name
- ariaxhan/kernel-claude★ 15same name
- The-Utopia-Studio/skills★ 6same name
- AsiaOstrich/EngramGraph★ 4same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository65 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- always-compareSkill
- analysis-designSkill
- analyst-coreSkill
- archaeologySkill
- archive-analysisSkill
- auth-preflightSkill
- businessSkill
- causalSkill
- chart-to-driveSkill
- close-the-loopSkill
- codex-reviewSkill
- compare-datasetsSkill
- connect-dataSkill
- connect-snowflakeSkill
- context-compareSkill
- context-traceSkill
- data-inspectSkill
- data-mapSkill
- data-profilingSkill
- data-quality-checkSkill
- datasetsSkill
- distribution-profilerSkill
- evalSkill
- evaluate-graderSkill
- experiment-briefSkill
- experimentSkill
- exploreSkill
- exportSkill
- forecastSkill
- google-doc-exportSkill
- google-slides-exportSkill
- guardrailsSkill
- historySkill
- improve-contextSkill
- knowledge-bootstrapSkill
- log-correctionSkill
- maintain-contextSkill
- metric-specSkill
- monitor-evalsSkill
- notion-exportSkill
- paceSkill
- patternsSkill
- question-framingSkill
- question-routerSkill
- reliabilitySkill
- resume-pipelineSkill
- run-pipelineSkill
- runsSkill
- score-analysisSkill
- session-handoffSkill
- setup-dev-contextSkill
- setup-notionSkill
- setupSkill
- setup-slackSkill
- setup-snowflakeSkill
- srm-checkSkill
- stakeholder-communicationSkill
- stress-testSkill
- switch-datasetSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 9 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
When writing a metric spec, to check for existing definitions
- Very specific: line 27
Read .knowledge/active.yaml to identify the active dataset.
- Very specific: line 28
Read .knowledge/datasets/{active}/metrics/index.yaml for the metric list.
- Distinctive: line 29
If no metrics directory exists: "No metric dictionary for this dataset.
- Very specific: line 38
Read .knowledge/datasets/{active}/schema.md to explore available tables/columns
- Very specific: line 48
Fallback search strategy: Search working/, outputs/, and .knowledge/analyses/ for recent usage of the metric name
- Distinctive: line 49
If found in recent work, extract the formula/definition used and offer to formalize it
- Distinctive: line 50
If not found anywhere, suggest defining it via metric-spec skill
- Distinctive: line 55
If no matches: list available categories and suggest closest match
- Distinctive: line 58
Search metric names and descriptions (case-insensitive substring)
- Distinctive: line 61
Don't just say "not found" — be proactive
- Very specific: line 62
Read .knowledge/datasets/{active}/schema.md to explore tables/columns
- Distinctive: line 69
After displaying metrics, suggest relevant actions:
- Distinctive: line 77
Metric referenced but not in dictionary: Search recent work for usage, extract definition if found, offer to formalize it.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Metrics
Purpose
Browse, search, and display metric definitions from the active dataset's metric dictionary. Provides quick access to how metrics are defined, computed, and validated.
When to Use
- User says
/metricsor "show me the metrics" or "what metrics do we track?" - During analysis, to confirm a metric's definition before computing it
- When writing a metric spec, to check for existing definitions
Invocation
/metrics — list all metrics for the active dataset
/metrics {id} — show full spec for a specific metric
/metrics category={cat} — filter by category (e.g., monetization)
/metrics search={term} — search metric names and descriptions
Instructions
Step 1: Load Metric Dictionary
- Read
.knowledge/active.yamlto identify the active dataset. - Read
.knowledge/datasets/{active}/metrics/index.yamlfor the metric list. - If no metrics directory exists: "No metric dictionary for this dataset. Use the metric-spec skill to define metrics."
Step 2: Execute Command
List all (/metrics):
- Display as a table: id, name, category, direction, validation_status
- Group by category
- Show total count
- If dictionary is empty AND user mentions specific analysis context (e.g., "revenue analysis", "conversion analysis"):
- Read
.knowledge/datasets/{active}/schema.mdto explore available tables/columns - Suggest 3-5 relevant metrics the user could define for their analysis context
- Include suggested SQL formulas for each
- Reference the metric-spec skill for formalization
- Read
Show specific (/metrics {id}):
- Read
.knowledge/datasets/{active}/metrics/{id}.yaml - Display: name, category, owner, full definition (formula, unit, direction, granularity), source tables, dimensions, guardrails, typical range, validation status
- If metric not found:
- Suggest closest match from index (fuzzy string match on name)
- Fallback search strategy: Search
working/,outputs/, and.knowledge/analyses/for recent usage of the metric name - If found in recent work, extract the formula/definition used and offer to formalize it
- If not found anywhere, suggest defining it via metric-spec skill
Filter by category (/metrics category=monetization):
- Filter index by category field
- Display filtered table
- If no matches: list available categories and suggest closest match
Search (/metrics search=revenue):
- Search metric names and descriptions (case-insensitive substring)
- Display matching metrics
- If no matches found:
- Don't just say "not found" — be proactive
- Read
.knowledge/datasets/{active}/schema.mdto explore tables/columns - Identify columns related to the search term (e.g., "revenue" → find
total_amount,revenue,salescolumns) - Suggest 3-5 metrics the user could define based on available data
- Include table.column references and suggested formulas
- Offer to define the metric via metric-spec skill
Step 3: Contextual Suggestions
After displaying metrics, suggest relevant actions:
- "Want to validate {metric} against the current data? Use the data-profiling skill."
- "Need to define a new metric? Use the metric-spec skill."
- "Want to see how {metric} trends over time? Ask me to analyze it."
Edge Cases
- No active dataset: Prompt to connect one via
/connect-data - Empty metric dictionary: Suggest using metric-spec skill. If user mentioned specific analysis context (revenue, conversion, engagement), proactively suggest relevant metrics to define.
- Metric referenced but not in dictionary: Search recent work for usage, extract definition if found, offer to formalize it.
- Stale validation: Flag metrics where last_validated is >30 days ago
- Search returns no results: Explore schema and suggest metrics related to the search term rather than just reporting "not found"
Why These Guidelines Matter
The goal is to make the metrics skill helpful in all scenarios — even when the dictionary is empty or search fails. Users often ask about metrics before they're formally defined. Instead of dead-ending with "not found," we want to:
- Understand user context — If they mention "revenue analysis" or search for "revenue", they're signaling what domain they care about
- Explore available data — Read the schema to see what's actually available
- Suggest concrete next steps — Provide specific metric candidates with formulas, not just generic advice
- Lower friction for formalization — Make it easy to go from "I need this metric" to "this metric is now defined"
This approach turns the metrics skill from a simple dictionary lookup into an intelligent assistant that helps users build their metric dictionary organically.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

