skill-data-analysis
Skill0 starsChanged 3 months agoMITView on GitHub
Statistical analysis, hypothesis testing, anomaly detection, and dataset evaluation. MUST ACTIVATE when analyzing datasets, calculating statistical metrics, running regressions, evaluating scientific data, or detecting statistical anomalies.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- core/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- avoid-ai-writingSkill
- c-cpp-systemsSkill
- doubt-driven-developmentSkill
- marketing-copywritingSkill
- mempalace-recallSkill
- mempalaceSkill
- mempalace-taskSkill
- retro-emulation-engineeringSkill
- seo-optimization-and-auditSkill
- skill-ai-mlSkill
- skill-backend-architectSkill
- skill-codebase-onboardingSkill
- skill-code-reviewSkill
- skill-context-engineeringSkill
- skill-creative-designSkill
- skill-data-scienceSkill
- skill-design-engineeringSkill
- skill-devops-cloudSkill
- skill-emulator-wasmSkill
- skill-frontend-architectSkill
- skill-graph-analyticsSkill
- skill-graphics-webglSkill
- skill-low-level-programmingSkill
- skill-master-orchestratorSkill
- skill-mcp-builderSkill
- skill-monorepo-architectSkill
- skill-osint-engineeringSkill
- skill-plugin-architectureSkill
- skill-qa-engineerSkill
- skill-researchSkill
- skill-resume-tailorSkill
- skill-stealth-scrapingSkill
- skill-system-diagnosticsSkill
- skill-web-architectureSkill
- skill-web-performanceSkill
- spec-driven-developmentSkill
- spec-minerSkill
- wasm-emscriptenSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 27
Distribution analysis: Create histograms, check for skewness and kurtosis.
- Distinctive: line 29
Data type validation and coercion rules: Check for mixed types in columns (e.g., strings in numerical columns) and define strict coercion …
- Distinctive: line 34
Descriptive statistics first: Always compute the mean, median, mode, standard deviation, and quartiles.
- Distinctive: line 35
Correlation analysis: Use Pearson for linear relationships, Spearman for rank/monotonic relationships, and point-biserial for …
- Distinctive: line 37
Outlier detection: Use Interquartile Range (IQR), Z-scores, or DBSCAN to detect anomalies.
- Distinctive: line 52
Simpson's paradox awareness: Do the observed trends reverse or disappear when the data is aggregated or disaggregated into subgroups?
- Distinctive: line 58
Use the following format when presenting data analysis results:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Overview
Skill for analyzing datasets, evaluating statistical claims, and detecting bias. Use when working with data files, CSVs, databases, statistical reports, or when evaluating claims made with data. This skill enforces rigorous statistical protocols, prevents jumping to conclusions, and ensures all claims are empirically grounded.
When to Use
- Analyzing datasets (structured or semi-structured).
- Evaluating statistical claims made in reports or articles.
- Reviewing research data for soundness.
- Performing Exploratory Data Analysis (EDA).
- Checking for data quality issues, anomalies, or corruption.
- Bias detection in methodologies or datasets.
When NOT to Use
- System diagnostics or performance profiling (use
skill-system-diagnostics). - Pure code review or software architecture analysis (use
skill-code-review).
Data Quality Assessment Protocol
- Schema evaluation: Rigorously analyze column types, constraints, and relationships. Ensure data models match reality.
- Distribution analysis: Create histograms, check for skewness and kurtosis. Never assume normality without testing.
- Missing value analysis: Identify Missing Completely At Random (MCAR), Missing At Random (MAR), and Missing Not At Random (MNAR) patterns. The mechanism of missingness dictates the imputation strategy.
- Data type validation and coercion rules: Check for mixed types in columns (e.g., strings in numerical columns) and define strict coercion rules.
- Duplicate detection methodology: Identify exact duplicates and fuzzy duplicates. Determine if duplicates are valid records or data entry errors.
Statistical Analysis Methodology
- Descriptive statistics first: Always compute the mean, median, mode, standard deviation, and quartiles. Look at the raw numbers before applying any complex models.
- Correlation analysis: Use Pearson for linear relationships, Spearman for rank/monotonic relationships, and point-biserial for categorical-continuous relationships.
- Trend identification: Identify linear, seasonal, and cyclical trends. Differentiate between noise and signal.
- Outlier detection: Use Interquartile Range (IQR), Z-scores, or DBSCAN to detect anomalies. Do not discard outliers without a documented reason.
- Statistical significance testing: Calculate p-values, confidence intervals, and effect sizes. Always correct for multiple comparisons (e.g., Bonferroni correction) to avoid false discovery.
Claim Verification Framework
- Extract discrete verifiable claims: Break down complex, narrative assertions into individual, testable hypotheses.
- Evaluate claims against empirical evidence: Cross-reference the extracted claims with available raw data or aggregate statistics.
- Identify logical fallacies: Actively scan for ad hominem, strawman, false dichotomy, survivorship bias, and cherry-picking (especially highlighting only supportive data points).
- Assess overall credibility: Assign a confidence score based on the robustness of evidence, sample size, and methodology.
Bias Detection Checklist
- Selection bias: Is the sample truly representative of the target population?
- Confirmation bias: Is the analysis explicitly looking for evidence that contradicts the hypothesis, or only evidence that supports it?
- Survivorship bias: Are we evaluating only the data that 'survived' a filtering process (e.g., successful startups, retaining customers)?
- Simpson's paradox awareness: Do the observed trends reverse or disappear when the data is aggregated or disaggregated into subgroups?
- Confounding variable identification: What hidden, unmeasured variables might explain the observed relationship between the independent and dependent variables?
- Sample size adequacy: Is the dataset large enough to draw statistically significant conclusions, or is the statistical power too low?
Output Format
Use the following format when presenting data analysis results:
DATASET SUMMARY: [High-level overview of the data, size, and quality]
KEY TRENDS: [Observed patterns and descriptive statistics]
OUTLIERS & ANOMALIES: [Details of any data points that deviate significantly from the norm]
CLAIM VERIFICATION: [Assessment of specific claims against the data]
STRATEGIC TAKEAWAYS: [Actionable insights derived from the analysis]
Anti-Rationalization Table
| Agent Rationalization | BLOCKED Rebuttal |
| "The data looks clean enough." | BLOCKED: Always verify distributions, check for nulls, validate dtypes. Never assume cleanliness. |
| "The sample size is large so it's representative." | BLOCKED: Large samples can still be biased. Sample quality and selection mechanism matter more than sheer quantity. |
| "Correlation implies this relationship." | BLOCKED: Correlation != causation. Explicitly check for confounders and underlying mechanisms. |
| "One source confirms this claim." | BLOCKED: Cross-reference with independent sources. Single sources can be flawed or biased. |
| "The p-value is significant." | BLOCKED: Check effect size, multiple testing correction, and sample size. Statistical significance does not equal practical significance. |
| "I can remove these outliers." | BLOCKED: Document removal justification, report results with and without outliers. Outliers often contain the most important information. |
Red Flags
- Skipping Exploratory Data Analysis (EDA) and jumping straight to machine learning or complex statistical models.
- Failing to explicitly document data cleaning steps and imputation choices.
- Presenting correlation as causation in the final takeaways.
- Ignoring missing data mechanisms and blindly applying mean-imputation or assuming MCAR.
- Dropping outliers without thorough investigation and documentation.
Verification Gates
- Data Quality Gate: Has the dataset been rigorously checked for missing values, mixed types, and anomalies?
- Statistical Validity Gate: Are the chosen statistical tests mathematically appropriate for the given data types and distributions?
- Bias Check Gate: Have potential confounding variables and selection biases been considered and documented?
- Claim Verification Gate: Have all empirical claims been traced back to specific, verifiable data points in the dataset?
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.

