analyze-data
Skill11 starsChanged 9 days agoMITView on GitHub
General data analysis companion — EDA, dataset provision, visualization mapping, insight extraction, metric value evaluation, and PM metric co-piloting. Use when the user says "analyze this dataset", "generate mock data", "how should we visualize this", "what insights are in this chart", "is this metric worth measuring", or invokes /analyze-data.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Indium-AI-Labs/indium-agentkittheir own version, first seen Nov 1, 2026
- Ionate-Technologies/indium-agentkittheir own version, first seen Oct 20, 2026
- cyyeh/duckdb-data-agenttheir own version, first seen Feb 23, 2026
- gu-dsan6725/ai-assisted-codingtheir own version, first seen Feb 1, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Indium-AI-Labs/indium-agentkit★ 18same name
- Ionate-Technologies/indium-agentkit★ 17same name
- cyyeh/duckdb-data-agent★ 1same name
- gu-dsan6725/ai-assisted-coding★ 0same name
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 repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- craft-lessonSkill
- create-agentSkill
- create-skillSkill
- customize-agentSkill
- customize-skillSkill
- designSkill
- deslopSkill
- developSkill
- discovery-reportSkill
- elicitationSkill
- empathy-mapSkill
- explore-ideaSkill
- grill-meSkill
- help-meSkill
- humanizeSkill
- incidentSkill
- iterateSkill
- journey-mapSkill
- jtbdSkill
- kanbanSkill
- launchSkill
- legal-safety-auditSkill
- maintenance-executeSkill
- maintenance-planSkill
- memorySkill
- motionSkill
- phaseSkill
- planSkill
- research-planSkill
- retroSkill
- reviewSkill
- root-causeSkill
- round-tableSkill
- shape-upSkill
- shut-upSkill
- statusSkill
- teach-meSkill
- testSkill
- unpack-problemSkill
- validate-ideaSkill
- validation-patternsSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 54
When you need realistic sample data for testing, prompt validation, or schema prototyping:
- Distinctive: line 64
When given raw data, telemetry logs, or summary statistics:
- Distinctive: line 71
When mapping data dimensions to visual chart representations:
- Distinctive: line 80
Graphical Integrity: Ensure visual elements match numerical proportions (avoid truncated Y-axes that artificially amplify minor noise).
- Distinctive: line 81
Color Palette: Use muted, accessible, functional colors for data.
- Distinctive: line 84
When extracting strategic meaning from visual representations or chart specs:
- Distinctive: line 93
When auditing existing or proposed metrics to ensure they drive real value:
- Distinctive: line 94
The "So What?" Test: Ask: "If this number changes by 20%, what specific decision changes?" If the answer is "nothing," flag it as a vanity …
- Very specific: line 179
In-app dashboards do not stop here: If the target is in-app, hand the spec to /design — the panels become screen states and the queries …
“Common” is measured: kept by at least 6 in 10 of the 4 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
Analyze Data — General Data Analysis & Metric Strategy Workflow
What this skill does
Provides a structured, end-to-end framework for data analysis, synthetic dataset creation, visual encoding design, chart-to-insight decoding, metric necessity auditing, and product manager metric co-design.
Persona delegation
This skill delegates to @data-analyst (Nova). Nova provides the analytical rigor, Edward Tufte visual display principles, Avinash Kaushik measurement frameworks, and Socratic challenge stance.
When to use
- "Analyze this dataset / telemetry log"
- "Generate synthetic / mock data for this user flow"
- "How should we visualize these metrics?"
- "What insights can we extract from this chart or visualization?"
- "Evaluate if this metric actually matters and why we're measuring it"
- "Collaborate with PM to define product metrics and event tracking plans"
- Trigger command:
/analyze-data
Workflows & Primary Modes
The agent will prompt or auto-detect which mode fits your request:
Mode 1: General Data Analysis & Exploration Partner
Focuses on raw data, synthetic dataset generation, exploratory data analysis, visual encodings, narrative insight extraction, and metric purpose validation.
Step 1: Mode & Sub-Flow Selection
Identify which data activity is requested:
- Provide Data — Synthetic & mock dataset generation
- Analyze Data — Exploratory Data Analysis (EDA) & diagnostics
- Translate Data to Visualization — Visual encoding & chart selection
- Translate Visualization to Insight — Narrative extraction & "so what?" analysis
- Understand What Matters & Why We Measure This — First-principles metric audit
Step 2: Sub-Flow Execution
1. Provide Data (Synthetic & Mock Dataset Generation)
When you need realistic sample data for testing, prompt validation, or schema prototyping:
- Define the schema: entity fields, data types, constraints, and relationships.
- Specify realistic statistical distributions:
- User activity / session counts: Log-normal or Poisson distribution.
- Conversion rates / probabilities: Beta distribution.
- Response times / latency: Skewed gamma distribution with long-tail outliers.
- Include edge cases: zero-states (new users), null/missing values, extreme outliers, and invalid inputs.
- Output clean Markdown tables, JSON event arrays, or CSV sample rows.
2. Analyze Data (Exploratory Data Analysis & Diagnostics)
When given raw data, telemetry logs, or summary statistics:
- Central Tendencies & Variance: Calculate mean, median, P90/P95/P99, standard deviation, and interquartile range (IQR).
- Funnel & Cohort Breakdown: Analyze step-by-step conversion drop-offs, user retention decay curves, and segment variations (e.g., mobile vs. desktop, free vs. paid).
- Anomaly Detection: Flag values exceeding 2+ standard deviations from baseline or sudden step-function shifts.
- Correlation vs. Causation Check: Identify potential confounding variables (seasonality, marketing campaign overlap, feature rollout flags) before making causal assertions.
3. Translate Data to Visualization (Tufte Visual Display Standards)
When mapping data dimensions to visual chart representations:
- Encoding Matrix:
- Trends over continuous time: Line charts, sparklines, or area charts.
- Discrete category comparisons: Horizontal bar charts (sorted by magnitude).
- Correlation / relationship between 2 continuous variables: Scatter plots or bubble charts.
- Multidimensional cohort comparisons: Small multiples (grid of synchronized small graphs).
- Flows & drop-offs: Sankey diagrams or funnel charts.
- Edward Tufte Audit:
- Data-Ink Ratio: Strive for maximum data-ink. Remove heavy gridlines, dark backgrounds, 3D shadows, and decorative elements (chartjunk).
- Graphical Integrity: Ensure visual elements match numerical proportions (avoid truncated Y-axes that artificially amplify minor noise).
- Color Palette: Use muted, accessible, functional colors for data; reserve bright colors exclusively for highlighted insights or alerts.
4. Translate Visualization to Insight (Chart Decoding)
When extracting strategic meaning from visual representations or chart specs:
- Pattern Identification: Locate inflection points, inflection speed changes, plateaus, seasonality cycles, and outlier clusters.
- Root-Cause Hypotheses: Formulate 2–3 plausible hypotheses for why the visual pattern occurred.
- The "So What?" Action Map: Translate visual patterns into direct business decisions:
- Observation: "Conversion drops 45% at step 2 on mobile."
- Insight: "Mobile layout forces keyboard overlap on input field."
- Action: "Redesign mobile step 2 to auto-focus and auto-advance."
5. Understand What Matters & Why We Measure This (Metric Evaluation)
When auditing existing or proposed metrics to ensure they drive real value:
- The "So What?" Test: Ask: "If this number changes by 20%, what specific decision changes?" If the answer is "nothing," flag it as a vanity metric.
- Core vs. Proxy vs. Vanity Classification:
- Core Metric: Direct measure of user value or business sustainability (e.g., 30-day retention rate).
- Proxy Metric: Intermediate surrogate predicting core outcome (e.g., key feature activation in week 1).
- Vanity Metric: Feel-good count that increases regardless of product health (e.g., total signups, pageviews).
- Goodhart's Law Audit: Examine how the metric could be gamed or distorted by teams or users if aggressively targeted.
Mode 2: PM Metric Strategy & Collaboration Co-Pilot
Partner directly with @product-manager to define product metrics, driver trees, and telemetry tracking plans during product scoping.
Step 1: Joint Metric Discovery
- Load product requirements (
artifacts/output/03-strategy/requirements.mdor PRD). - Apply Avinash Kaushik's Digital Analytics Measurement Framework:
- Business Objective: Core purpose of the feature/product.
- Goals: Specific strategies supporting the objective.
- KPIs: Measurable metrics tracking each goal.
- Targets: Explicit quantitative success benchmarks (e.g. above 20% weekly active usage).
- Segments: Key user cohorts to analyze.
Step 2: Construct Metric Drivers Tree
Build a top-down metric hierarchy:
graph TD
NSM["North Star Metric (NSM)"]
NSM --> PD1["Primary Driver 1"]
NSM --> PD2["Primary Driver 2"]
PD1 --> IMA["Input Metric A"]
PD1 --> IMB["Input Metric B"]
PD2 --> IMC["Input Metric C"]
PD2 --> IMD["Input Metric D"]
IMA --> E1["Event 1"]
IMB --> E2["Event 2"]
IMC --> E3["Event 3"]
IMD --> E4["Event 4"]Step 3: Guardrail & Counter Metrics
Pair every primary KPI with a guardrail metric to catch negative side effects:
- Primary KPI: increase free trial conversions → Guardrail: 30-day refund / chargeback rate.
- Primary KPI: reduce onboarding completion time → Guardrail: profile completion accuracy rate.
Step 4: Telemetry Tracking Plan & Data Dictionary
Produce an implementation-ready specification for @developer:
- Event Name: Standardized snake_case or noun_verb format (e.g.,
checkout_step_completed). - Trigger Condition: Exact user interaction or system condition firing the event.
- Properties: Payload key-value pairs (e.g.,
step_number,payment_method,error_code). - Business Question: The precise question answered by this event.
Output Artifacts & Delivery
Both artifacts have a template on disk, and this skill referenced neither of them. The templates are 293 and 160 lines of declared structure; a run that never opened one produced an artifact with whatever shape it invented, and nothing noticed.
| Mode | Write to | Template to follow |
| Mode 1 — general analysis & insights | artifacts/output/07-iteration/analytics-insights.md | .agents/templates/quality/analytics-insights-template.md |
| Mode 2 — PM metric strategy & tracking plan | artifacts/output/03-strategy/measurement-plan.md | .agents/templates/quality/measurement-plan-template.md |
| Dashboard wire — when a dashboard is wanted | artifacts/output/03-strategy/dashboard-specs.md | .agents/templates/quality/dashboard-specs-template.md |
The wire from data to dashboard
There was none. measurement-plan-template.md §5 says which metrics to watch;
analytics-insights-template.md says what the data showed; sub-flow 3 below maps data shapes to
chart types. None of the three could be built from — a dashboard spec contained a metric list and no
chart, no source, no query, no layout, and dashboard-specs.md was named in exactly one place with
nothing reading it.
Produce dashboard-specs.md whenever a dashboard is the ask — the user says "dashboard", a panel
set is wanted for ongoing monitoring, or sub-flow 3's encoding output has somewhere to go. The
template declares a target (grafana | metabase | looker | superset | in-app | sql-only | other)
and then carries the fields every target needs: panel, metric, source, query or definition, chart,
layout, owner. Query / definition is PromQL in one target and a Metabase question ID in another —
which is why the target is named first and the template picks no vendor for you.
The chart column is where sub-flow 3 lands. The Encoding Matrix below is not advice that stays in this skill: each panel in the spec names the chart its data shape takes, so the mapping decided during analysis is the mapping the builder implements.
In-app dashboards do not stop here. If the target is in-app, hand the spec to /design — the
panels become screen states and the queries become data-layer work — and /develop builds it. Every
other target is configured by @devops-engineer from the same tables, with no code shipped.
The Mode 1 path is analytics-insights.md, not data-analysis-report.md. This skill used to name
the second. Nothing read it: the template's own header says "Save to:
artifacts/output/07-iteration/analytics-insights.md", and iteration-backlog-template.md,
iteration-results-template.md, /iterate and the agent contracts all consume that name. A run under
the old path produced an artifact the next skill in the pipeline could not find — the analysis was
done and the iteration loop never saw it.
Save key measurement decisions to shared memory via @memory-controller:
@memory-controller write active-decisions.md
### [DECISION] {Metric / Analysis Title} [date: YYYY-MM-DD] [agent: @data-analyst]
{Key metric selection, visual spec, or telemetry decision}
**Status:** activeHalt conditions
Any one halts the run:
- Mode 2 with no requirements document. Step 1 loads
artifacts/output/03-strategy/requirements.mdor a PRD. If neither exists, say so and ask for the business objective — a measurement plan built on a guessed objective measures the wrong thing. - A metric audit with no decision to change. The "So What?" test is the skill's own centrepiece: if a 20% change in the number changes no decision, the honest output is "this is a vanity metric", not a dashboard spec.
- Analysis with no denominator. A rate without its sample size cannot be reproduced. State
n, or state that it is unknown.
Done when — checked mechanically
node .agents/scripts/analyze_data_check.js check \
--kind measurement-plan --file artifacts/output/03-strategy/measurement-plan.md --json
node .agents/scripts/analyze_data_check.js check \
--kind insights --file artifacts/output/07-iteration/analytics-insights.md --json| Rule | What is checked |
| Template conformance | the sections the template declares are present, matched by stem so numbering and vs. / vs do not defeat it. Conditional sections (if applicable) are not required |
| Record hygiene | no unfilled template placeholders — an artifact still carrying [Feature Name] is the template |
| A metric carries a number or says it does not | a target with no number is a wish. n/a is accepted with a reason; a bare blank is not |
| No decision-less dashboard | the "So What?" action map is present: an observation, an insight and an action, not three observations |
And the dashboard wire:
node .agents/scripts/analyze_data_check.js check \
--kind dashboard-specs --file artifacts/output/03-strategy/dashboard-specs.md --json| Rule | What is checked |
| Target declared | **Target:** names one of the closed set, or other: <name>. An unnamed target cannot be built from — the same field is PromQL or a question ID depending on it |
| Live object field | present, even when it reads not yet built. A spec with no field for the finished object is a spec that will be lost |
| Every panel is buildable | each panel row names a metric, a source, a query or definition, and a chart. A row missing any of the four is a wish with a title |
| Alerts when real-time | a spec with Refresh: real-time must carry an alert threshold and a channel. A real-time panel with no threshold is a screen nobody watches |
| Access named | every data source names its access level. A spec that does not say who can read the data has not been designed, only drawn |
What the gate does not check: whether the metric is the right metric, whether the analysis is sound, whether the visualization is honest, or whether the recommendation follows from the data. Those need an analyst. A green gate means the artifact is structured, not that it is right.
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.

