metrics-anomaly-investigator
Skill20 starsChanged 5 months agoMITView on GitHub
Investigate metric anomalies — build a ranked hypothesis framework and stakeholder narrative from a plain-language description. Use when a dashboard number drops or spikes unexpectedly. Triggers: 'investigate metric anomaly', 'my metric dropped', 'расследуй аномалию метрики', 'у меня упала метрика'.
In this repository68 other files it gives its agents.
- company-policy-drafterSkill
- data-room-prep-checklistSkill
- fundraise-pipeline-trackerSkill
- legal-matter-trackerSkill
- proposal-and-quote-drafterSkill
- win-loss-debrief-writerSkill
- csv-data-analyzerSkill
- experiment-results-interpreterSkill
- report-analyzerSkill
- retention-cohort-interpreterSkill
- jobs-to-be-done-extractorSkill
- user-feedback-synthesizerSkill
- user-persona-synthesizerSkill
- accounts-receivable-followup-writerSkill
- invoice-and-payment-tracker-summarySkill
- monthly-close-checklist-and-reconciliation-prepSkill
- hiring-pipeline-reviewerSkill
- interview-debrief-synthesizerSkill
- job-description-and-scorecard-builderSkill
- onboarding-plan-30-60-90Skill
- changelog-narratorSkill
- feature-announcement-writerSkill
- prd-review-challengerSkill
- release-notes-generatorSkill
- survey-results-analyzerSkill
- competitive-feature-matrix-builderSkill
- industry-trend-briefSkill
- weekly-competitor-trackerSkill
- campaign-retrospective-writerSkill
- content-performance-reporterSkill
- research-to-content-briefSkill
- exec-metrics-storytellerSkill
- kpi-digest-builderSkill
- north-star-metric-auditorSkill
- weekly-metrics-story-writerSkill
- daily-admin-briefSkill
- newsletter-digest-builderSkill
- reading-list-prioritizerSkill
- research-folder-synthesizerSkill
- workspace-health-monitorSkill
- backlog-grooming-assistantSkill
- context-builder-coworkSkill
- decision-logSkill
- project-onboardingSkill
- retro-pattern-analyzerSkill
- sprint-review-summarizerSkill
- memory-auditor-chatSkill
- memory-auditor-coworkSkill
- prompt-builderSkill
- prompt-library-curatorSkill
- context-window-health-checkSkill
- cowork-session-plannerSkill
- session-handoff-composerSkill
- cowork-plugin-auditSkill
- feature-guideSkill
- routines-setup-assistantSkill
- setup-wizardSkill
- skill-usage-log-reviewerSkill
- weekly-ai-workflow-reviewSkill
- morning-standup-brief-generatorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
If Russian (or contains Cyrillic): respond in Russian
- Distinctive: line 23
If English (or other Latin-script language): respond in English
- Distinctive: line 24
If ambiguous: respond in the language of the trigger phrase used
- Distinctive: line 32
Check that the user provided at minimum:
- Distinctive: line 35
If either is missing: stop and respond: "To investigate the anomaly I need at minimum: (1) metric name, (2) time period, (3) observed …
- Distinctive: line 37
If the input is vague (e.g., "our metrics are bad" with no specific anomaly):
- Distinctive: line 38
Ask the user to identify one specific metric and its observed change before proceeding.
- Distinctive: line 45
If no context provided: proceed, flag assumptions explicitly in output, and add a closing line at the end of the response asking the user …
- Distinctive: line 54
If the user describes a gradual trend: note that short-term hypotheses (e.g., tracking bug, one-off event) are lower priority.
- Distinctive: line 56
If multiple metrics changed simultaneously: reframe as a systemic investigation and add cross-metric hypotheses.
- Distinctive: line 94
If no context was provided: default priority order is Data/Tracking → Product changes → External factors → Behaviour shifts.
- Distinctive: line 98
Write a 5–8 sentence narrative in Slack/email format covering:
- Distinctive: line 107
If anomaly is a gradual trend (weeks): prioritise structural hypotheses (cohort mix, SEO, product flow).
- Distinctive: line 108
If multiple metrics changed: add a "Correlated pattern" note to the Anomaly Summary.
- Distinctive: line 109
If delta is small (<5%): note that significance depends on baseline variance.
- Distinctive: line 116
No metric name or delta: Do not generate a framework.
- Distinctive: line 117
Input is only "metrics are bad" or similarly vague: Ask the user to name one specific metric and its observed change before proceeding.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Metrics Anomaly Investigator
This skill takes a plain-language description of a metric anomaly (metric name, time period, delta, and any available context) and produces a structured investigation framework with ranked hypotheses and a ready-to-send stakeholder narrative. No database access or code required — designed for product managers working in Cowork.
Input:
- Free-form description of the anomaly: metric name, observed period, magnitude of change, and any context (recent releases, campaigns, external events)
Output:
- Markdown response with Anomaly Summary, Investigation Framework table, Priority Checks, and Draft Stakeholder Narrative
Language Detection
Detect the user's language from their message:
- If Russian (or contains Cyrillic): respond in Russian
- If English (or other Latin-script language): respond in English
- If ambiguous: respond in the language of the trigger phrase used
Instructions
Step 1: Validate Input
- Check that the user provided at minimum:
- A metric name (or description of what was measured)
- An observed change (delta, direction, or time period)
- If either is missing: stop and respond: "To investigate the anomaly I need at minimum: (1) metric name, (2) time period, (3) observed change. Please provide these details." Do not generate a framework.
- If the input is vague (e.g., "our metrics are bad" with no specific anomaly):
- Ask the user to identify one specific metric and its observed change before proceeding.
- Note what context is available:
- Recent product changes, feature releases, or experiments
- Marketing campaigns or traffic source changes
- Seasonality or external events
- Related metrics (correlated changes)
- If no context provided: proceed, flag assumptions explicitly in output, and add a closing line at the end of the response asking the user to share any recent product changes, campaigns, or external events that may be relevant.
Step 2: Classify the Anomaly
- Determine the anomaly type:
- Direction: spike (unexpected increase) vs. drop (unexpected decrease)
- Shape: sharp (1–2 day change) vs. gradual (trend over days/weeks)
- Scope: isolated (single metric) vs. correlated (multiple metrics moving together)
- If the user describes a gradual trend: note that short-term hypotheses (e.g., tracking bug, one-off event) are lower priority; focus on structural factors.
- If multiple metrics changed simultaneously: reframe as a systemic investigation and add cross-metric hypotheses.
Step 3: Generate Investigation Framework
Generate 5–7 ranked hypotheses covering four investigation axes:
Axis 1 — Data / Tracking issues (always include, check first)
- Tracking code broken or missing on key pages
- Metric definition or aggregation logic changed
- Data pipeline delay or processing error
- Segment filter or attribution window changed
Axis 2 — Product changes
- Feature release or rollback in the relevant period
- A/B test or experiment affecting the metric
- UI change affecting user flow
- Pricing or access change
Axis 3 — External / Traffic factors
- Organic traffic source change (SEO, social, referral)
- Marketing campaign launched or paused
- Competitor action, press coverage, or viral event
- Platform algorithm change (App Store, Google, social)
Axis 4 — User behaviour shifts
- Seasonal pattern or day-of-week effect
- User cohort mix shift (new vs. returning users ratio)
- Device or geography mix change
- Onboarding or activation funnel change upstream
For each hypothesis:
- Assign likelihood: High / Medium / Low (based on context provided)
- Specify one concrete validation step
Step 4: Identify Priority Checks
- Select the top 2–3 hypotheses most consistent with the provided context.
- For each, write one sentence explaining why this is a priority given the specific anomaly described.
- If no context was provided: default priority order is Data/Tracking → Product changes → External factors → Behaviour shifts.
Step 5: Draft Stakeholder Narrative
Write a 5–8 sentence narrative in Slack/email format covering:
- What happened (metric, period, magnitude)
- Current status of investigation (just started / hypotheses identified / root cause found)
- Top hypotheses being checked
- Next steps and who is responsible (use placeholder [owner] if not specified)
- ETA for the next update
Edge Cases:
- If anomaly is a gradual trend (weeks): prioritise structural hypotheses (cohort mix, SEO, product flow); downweight single-event hypotheses.
- If multiple metrics changed: add a "Correlated pattern" note to the Anomaly Summary; include cross-metric hypotheses in the framework.
- If delta is small (<5%): note that significance depends on baseline variance; prioritise Data/Tracking hypotheses first.
- If no context provided: proceed with full hypothesis set and explicitly state "No context provided — all four axes are equally prioritised." At the end of the response, add: "To help narrow down the hypotheses, please share any recent product changes, campaigns, or external events that occurred around the time of the anomaly."
Negative Cases
- No metric name or delta: Do not generate a framework. Respond with a clear request for the minimum required information.
- Input is only "metrics are bad" or similarly vague: Ask the user to name one specific metric and its observed change before proceeding.
Output Format
## Anomaly Summary
- **Metric:** [metric name]
- **Period:** [time range]
- **Change:** [delta — e.g., "-23% vs. prior week"]
- **Type:** [spike / drop] — [sharp / gradual] — [isolated / correlated]
- **Context provided:** [summary of user-provided context, or "none"]
---
## Investigation Framework
| # | Hypothesis | Axis | Likelihood | How to validate |
|---|-----------|------|------------|-----------------|
| 1 | [hypothesis] | Data/Tracking | High | [specific check] |
| 2 | [hypothesis] | Product | Medium | [specific check] |
| 3 | [hypothesis] | External | Low | [specific check] |
| ... | | | | |
---
## Priority Checks
1. **[Hypothesis name]** — [1 sentence: why this is most consistent with the described anomaly]
2. **[Hypothesis name]** — [1 sentence rationale]
3. **[Hypothesis name]** — [1 sentence rationale]
---
## Draft Stakeholder Narrative
**To:** [channel / team]
**Status:** Investigating
We noticed [metric] [dropped/increased] by [delta] over [period]. We are currently investigating the root cause and have identified [N] hypotheses. The most likely causes are [top 2 hypotheses]. [Owner] is checking [specific validation steps] and we expect initial findings by [timeframe]. We will share an update by [date/time]. No action required from your side at this stage.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.

