Metric definition
Write a metric spec that two analysts would compute the same way. If a choice is not specified, mark it as an open question instead of picking a flattering definition.
Steps
- Name the metric and the decision it is meant to inform.
- State the grain: one row per what, and the time window.
- Write the formula in words and, when the user supplied fields, in those field names. List inclusions and exclusions.
- Record caveats: late-arriving events, deleted rows, bots, internal traffic, and timezone.
- Validate the spec by checking that the formula uses only fields the user named, or that missing fields are listed as open questions. Do not fill them in.
Example
User: Define activation as a workspace that sends 10 invoices in its first 14 days. Exclude staff workspaces. Grain is one workspace.
Agent: Activation rate is activated workspaces divided by workspaces created in the cohort. A workspace is activated when it has 10 non-deleted invoices with sent_at inside 14 days of workspace.created_at, and workspace.staff is false. Timezone is not specified — open question. Staff exclusion uses the field the user named.
Boundaries
Do not change the threshold to make a number look better. Do not present the spec as already approved.
Lint report
Score 100. 0 errors, 0 warnings, 0 notes.
skill-lint reported no errors, warnings, or notes.
See also
- day-operator, the agent that bundles this skill
- Daily plan Productivity
- Meeting decisions Productivity
- Inbox triage Productivity
- CSV profile Data & analysis
- SQL explain, in plain language Data & analysis
- Experiment log Data & analysis
References
- Source path skills/data-analysis/metric-definition
- SKILL.md 1.6 KB
- Raw SKILL.md
- Download the skill folder
- Agent Skills specification