data-analysis
Skill39 starsChanged 6 months agoMITView on GitHub
Use when the user needs to design, run, or audit product or GTM analytics — metric hierarchies and north stars, funnels, cohort retention, churn, pipeline velocity, forecasting, lead scoring, NRR, A/B tests, or analytical SQL — or uploads a dataset to analyze. Triggers on questions like "why did activation drop", "is this metric meaningful", "review my dashboard", or "what should I measure". For writing the spec that defines a feature's success metrics, use product-spec.
50 other projects use a version of this.
Adopted by
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- CatCatUncle/openworkbuddytheir own version, first seen Oct 2, 2026
- JPeetz/agent-skillstheir own version, first seen Sep 29, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Sep 27, 2026
- velonx/agent-skillstheir own version, first seen Sep 24, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use algorithm-design, review-r 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.
lingzhi227Skillalgorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
lingzhi227Skilllatex-formatting
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.
Also in 3 projects that use this
thoitiettxl-cyberSkillconsulting-analysis
Build consulting-grade analysis frameworks and final reports in two phases: (1) define a structured analysis blueprint with hypotheses, data requirements, and visualization plan; (2) synthesize collected evidence into a polished consulting-style report. Use when the user explicitly wants a professional research report, market/industry/consumer/brand/financial analysis deck-in-markdown, or a framework for downstream evidence collection.
Also in 3 projects that use this
michaelboedingSkillslide-generation
Use this skill to create presentation slides from structured content. Triggers: "create slides", "generate presentation", "make powerpoint", "create pptx", "build slides", "presentation from content", "slide deck", "slides for" Outputs: PPTX files, Markdown slides, or HTML presentations. Used by: pitch-deck-agent, market-researcher-agent, and other agents needing slides.
Also in 3 projects that use this
BlockSkillgithub-research
Search GitHub issues, PRs, and code using the gh CLI.
Also in 3 projects that use this
- +4 more from lingzhi227
Other versions50 projects use a version of this.
Word for word · 1
- Hassaan146/claude-skills★ 18100% same
Edited · 0
None found.
Wrote their own version · 49
- bytedance/deer-flow★ 83ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- claude-office-skills/skills★ 497same name
- spytensor/openmozi★ 423same name
- lingzhi227/agent-research-skills★ 376same name
- liangdabiao/claude-data-analysis-ultra-main★ 289same name
- CatCatUncle/openworkbuddy★ 259same name
- maxwell2732/paper-replicate-agent-demo★ 136same name
- nahid-sparktales/agent-dispatcher★ 59same name
- itallstartedwithaidea/agent-skills★ 39same name
39 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 repository14 other files it gives its agents.
- channel-expertSkill
- copywriter-skillSkill
- designSkill
- devopsSkill
- motion-pictureSkill
- plg-skillSkill
- pricingSkill
- product-positionSkill
- product-specSkill
- prospectingSkill
- sales-skillSkill
- script-writer-skillSkill
- seoSkill
- software-architectSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 19 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
19
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 17
Always produce structured deliverables rather than conversational advice.
- Distinctive: line 22
No reference citations the reader can't see ("§3.2", "per the knowledge base", "KB §1.4").
- Distinctive: line 23
No mode or process narration ("Mode: Generate", "I have everything I need", "following the skill's methodology").
- Distinctive: line 24
No skill-handoff chatter inside the deliverable.
- Very specific: line 30
Every recommendation must be grounded in these first principles.
- Distinctive: line 34
Start from the decision, not the data.
- Distinctive: line 40
If analysis won't change a decision, say so and recommend skipping it.
- Distinctive: line 44
Never treat a pattern found during exploration as a validated finding.
- Distinctive: line 61
Always report sample sizes alongside metrics.
- Distinctive: line 70
When the user asks "what should I measure" or needs a metric hierarchy:
- Distinctive: line 106
When the user asks about conversion, drop-off, or user flow:
- Distinctive: line 136
Avoid these funnel mistakes:
- Distinctive: line 155
When the user asks about pipeline, forecasting, win rates, or revenue:
- Distinctive: line 203
When randomized experiments aren't possible, recommend quasi-experimental methods (DiD, regression discontinuity, synthetic control) with …
- Distinctive: line 207
When reviewing an existing dashboard or metric setup:
- Distinctive: line 224
When the user provides actual data (CSV, database, etc.):
- Distinctive: line 226
Validate first: Check for nulls, duplicates, schema issues, tidy data violations (values in column headers, multiple variables in one …
- Distinctive: line 231
Label everything: Every finding is either exploratory (hypothesis) or confirmatory (tested).
- Distinctive: line 232
Deliver structured output: Use the appropriate deliverable template from above, not free-form narrative.
- Distinctive: line 236
When reviewing any analysis, actively scan for these failure modes and call them out:
“Common” is measured: kept by at least 6 in 10 of the 33 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
Data Analysis Skill
Purpose
Coach anyone doing product or GTM data analysis through rigorous, decision-useful analytical work. This skill operates in three modes:
- Advisory / Coaching — User describes a data question → guide them to the right framework, flag biases, recommend methodology.
- Hands-on Execution — User provides data → perform the analysis in Python/SQL following best practices.
- Review / Audit — User shares an existing analysis, metric, or dashboard → critique it and recommend improvements.
Always produce structured deliverables rather than conversational advice.
Output discipline
Deliver only what the user will actually use. Never leak internal scaffolding into the output:
- No reference citations the reader can't see ("§3.2", "per the knowledge base", "KB §1.4").
- No mode or process narration ("Mode: Generate", "I have everything I need", "following the skill's methodology").
- No skill-handoff chatter inside the deliverable.
Apply frameworks silently — name one only when it helps the reader, not to show your work. When context is missing, state your assumption in one line and proceed; don't interrogate.
Core Principles
Every recommendation must be grounded in these first principles. Read references/knowledge-base.md for the full knowledge base when you need detailed methodology or when the user asks a deep question.
1. Decision-First
Start from the decision, not the data. Before any analysis, answer:
- Who is the decision-maker?
- What will they do differently based on this output?
- What precision is actually needed for the decision?
- Is the cost of analysis justified by the decision's value?
If analysis won't change a decision, say so and recommend skipping it.
2. Exploratory ≠ Confirmatory
Never treat a pattern found during exploration as a validated finding. Exploration generates hypotheses; confirmation tests them on held-out data. When presenting exploratory findings, always label them as hypotheses and recommend the confirmatory step.
3. Variation Thinking
Report distributions, not just averages. Show P25, median, P75, P90 alongside any mean. Build control charts (upper/lower bounds from historical σ) before reacting to metric movements. Distinguish common-cause variation (stable system noise) from special-cause variation (genuine signal demanding investigation).
4. Bias Awareness
Actively check for and flag these biases in every analysis:
- Survivorship bias: Are you only analyzing users/deals that survived? What about churned users, lost deals, leads that never progressed?
- Base rate neglect: Is the sample large enough to distinguish the result from the historical base rate?
- Anchoring: Is a single cohort or benchmark distorting interpretation?
- Narrative fallacy: Is a causal story being constructed from sequential correlation?
- Simpson's Paradox: Does the aggregate trend reverse when stratified by a key segment?
5. Statistical Rigor
- Always report sample sizes alongside metrics.
- Report 95% confidence intervals for proportions and rates.
- For A/B tests: compute required sample size before running, define a single primary metric, do not peek, do not stop early.
- For forecasts: distinguish point estimates from prediction intervals.
Workflows
A. Metric Design
When the user asks "what should I measure" or needs a metric hierarchy:
Deliverable: Metric Hierarchy Document
# Metric Hierarchy: [Product/Team]
## North Star Metric
- Definition: [precise definition]
- Why: [captures value delivered to users, not just business output]
- Measurement: [exact SQL/event logic]
## L1 Input Metrics (direct drivers of north star)
| Metric | Definition | Owner | Cadence |
|--------|-----------|-------|---------|
| ... | ... | ... | ... |
## L2 Input Metrics (levers teams can directly influence)
| Metric | Definition | Drives L1 | Owner |
|--------|-----------|-----------|-------|
| ... | ... | ... | ... |
## Guardrail Metrics (must not degrade)
| Metric | Threshold | Rationale |
|--------|-----------|-----------|
| ... | ... | ... |Key rules:
- North star must capture value delivered to users, not just revenue.
- Build bottom-up: identify behaviors that move the north star, then find leading indicators of those behaviors.
- Retention is an output, not an input — trace it to activation, feature engagement, and resurrection.
- Include guardrail metrics to prevent Goodhart's Law gaming.
B. Funnel Analysis
When the user asks about conversion, drop-off, or user flow:
Deliverable: Funnel Analysis Report
# Funnel Analysis: [Name]
## Definition
| Step | Event/Condition | Max Time to Next Step |
|------|----------------|----------------------|
| 1 | ... | ... |
## Results
| Step | Users | Step Conversion | Cumulative | 95% CI |
|------|-------|----------------|------------|--------|
| 1 | ... | ... | ... | ... |
## Segmented View
[Break down by channel, device, cohort — at minimum 2 segments]
## Time Distribution
[How long users take at each step — P25, median, P75]
## Diagnosis
[Where is the biggest drop? Is it consistent across segments?]
## Recommended Actions
[Specific, testable interventions]Avoid these funnel mistakes:
- Step conflation (combining two actions into one step)
- Omitting time windows between steps
- Counting sessions instead of unique users
- Building only on current-period entrants
C. Cohort Retention Analysis
Deliverable: Retention Analysis Report
Include:
- Time-based cohort curves (signup week/month)
- Behavioral cohort comparison (activated vs. not, feature X users vs. not)
- Curve shape diagnosis: does it flatten (retained core found) or decline to zero (no PMF)?
- Track the second aha moment, not just the first
- Specific retention period where intervention has highest leverage
D. Sales & Revenue Analytics
When the user asks about pipeline, forecasting, win rates, or revenue:
Deliverable: Revenue Analytics Report
Cover as relevant:
- Pipeline velocity = (# Opportunities × ACV × Win Rate) / Avg Sales Cycle — decompose to find which component is dragging
- Deal slippage by stage, rep, and deal size
- Pipeline coverage ratio validated against historical win rates (not industry benchmarks)
- Forecast accuracy: compute MAPE, track bias by forecaster and deal type
- Revenue cohort NRR: disaggregated by acquisition channel, ACV band, segment
- Churn/contraction analysis: survival curves, leading indicators (login drops, feature usage decline, support spikes)
For lead scoring: train on ALL leads that entered top-of-funnel with outcome labels, not just closed deals (survivorship bias).
For CRM data quality: flag zombie deals (open beyond 2σ of avg cycle), recommend minimum required fields, automated enrichment over manual entry.
E. A/B Test Design & Review
Deliverable: Experiment Design Doc or Audit
For design:
# Experiment: [Name]
## Hypothesis
[Specific causal claim, not vague improvement goal]
## Primary Metric
[Single metric the test is powered for]
## Guardrail Metrics
[Metrics that must not degrade]
## Sample Size Calculation
- Baseline rate: X%
- MDE: Y% (smallest change worth acting on)
- Power: 80%
- Required N per arm: Z
## Duration
[Pre-specified, covers at least one full business cycle]
## Analysis Plan
[Pre-registered: primary metric, segments to examine, correction method]For audit, check for: peeking, multiple comparisons without correction, wrong unit of analysis, novelty effects, Sample Ratio Mismatch, underpowered tests declared "no effect."
When randomized experiments aren't possible, recommend quasi-experimental methods (DiD, regression discontinuity, synthetic control) with explicit assumption checks.
F. Dashboard Review / Audit
When reviewing an existing dashboard or metric setup:
Deliverable: Dashboard Audit
For every metric/dashboard, answer:
- What specific decision does this change?
- Who makes that decision and at what cadence?
- Is the definition precise and shared across teams?
- Is there a guardrail metric preventing gaming?
- Does it show distributions or just averages?
- Does it include confidence intervals or sample sizes?
- Does it follow Tufte's data-ink ratio principle (no chartjunk, direct labels, appropriate chart type)?
Flag data theater: dashboards built because data exists, not because a decision depends on them.
G. Hands-on Data Analysis
When the user provides actual data (CSV, database, etc.):
- Validate first: Check for nulls, duplicates, schema issues, tidy data violations (values in column headers, multiple variables in one column).
- Explore before concluding: Show distributions, not just summaries. Use histograms, scatter plots, box plots before computing any aggregate.
- Use clean code patterns:
- SQL: One CTE per purpose, descriptive CTE names, window functions over self-joins, comments at CTE level.
- Python: Method chaining, clear cell structure (imports → load → validate → explore → analyze → summarize), parameterized notebooks.
- Label everything: Every finding is either exploratory (hypothesis) or confirmatory (tested). Never blur this line.
- Deliver structured output: Use the appropriate deliverable template from above, not free-form narrative.
Anti-Pattern Detection
When reviewing any analysis, actively scan for these failure modes and call them out:
| Anti-Pattern | Signal | Correction |
| Data theater | Dashboard with no attached decision | Attach a decision-maker and action, or kill it |
| Metric proliferation | Teams use different definitions of "active" | Canonical metric hierarchy with single-source definitions |
| Survivorship bias | Analysis built only on active users or won deals | Include churned/lost cohorts explicitly |
| Correlation → causation | "Users who do X retain better, so push X" | Ask: what's the mechanism? Can we test causally? |
| Over-indexing on averages | Single mean reported on skewed distribution | Show P25/P50/P75/P90 and the distribution |
| False precision | Point estimate with no CI or sample size | Add confidence intervals and sample size |
| Analysis paralysis | Decision deferred pending more data | Pre-specify what data suffices; set a deadline |
When NOT to Analyze
Flag these conditions and recommend skipping analysis:
- Decision already made (data is post-hoc justification)
- Sample too small to distinguish signal from noise
- Data doesn't measure the phenomenon of interest
- Time to collect credible data exceeds the decision's relevance window
Reference Material
For deep methodology, read references/knowledge-base.md. It covers:
- Sections 1-2: First principles, cognitive biases, tidy data, data quality
- Section 3: Product analytics (metric hierarchy, funnels, cohorts, activation, segmentation)
- Section 4: Sales analytics (pipeline velocity, forecasting, lead scoring, NRR, churn, CRM quality)
- Section 5: Experimentation (A/B testing, quasi-experimental methods, guardrails)
- Section 6: Analytical workflow (SQL/Python patterns, documentation, BI tools)
- Section 7: Visualization (Tufte's principles, chart selection, uncertainty communication)
- Section 8: Anti-patterns (data theater, metric proliferation, survivorship bias, analysis paralysis)
Consult the relevant section when the user's question requires detailed methodology beyond what's in this SKILL.md.
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.

