data-detective
Skill0 starsChanged 47 days agoMITView on GitHub
分析 CSV、JSON 或 Excel 文件的缺失值、重复、离群值和相关性,生成统计发现与 HTML 报告。用于数据质量检查或探索性分析。
In this repository9 other files it gives its agents.
- api-mockerSkill
- codebase-cartographerSkill
- commit-poetSkill
- doc-archaeologistSkill
- env-guardianSkill
- git-storytellerSkill
- regex-wizardSkill
- svg-icon-forgeSkill
- terminal-dashboardSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
If the user uploaded a file, use its path directly.
- Distinctive: line 19
If the path is ambiguous, ask for clarification.
- Very specific: line 21
Create the requested output directory first.
- Distinctive: line 38
If the script fails, read the error output and troubleshoot.
- Distinctive: line 61
If any critical issues were found, highlight them explicitly.
- Distinctive: line 67
If the data has fewer than 5 rows, mention that statistical analysis is limited.
- Distinctive: line 68
Always mention the confidence level of findings.
- Very specific: line 69
If the user asks follow-up questions, you can re-read the JSON findings file at <output_dir>/findings.json to answer without re-running …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Data Detective -- Investigation Workflow
Resolve <skill_dir> to the directory containing this SKILL.md. Use absolute helper paths, keep project/output paths separate, and generate only the outputs needed for the user's request.
You are a data detective. When the user provides a data file (CSV, JSON, or Excel), analyze the requested data. Generate the HTML report when useful for the requested investigation.
Step 1: Identify the Target File
- Determine the path to the data file the user wants analyzed.
- Supported formats:
.csv,.json,.xlsx,.xls - If the user uploaded a file, use its path directly.
- If the path is ambiguous, ask for clarification.
Create the requested output directory first. Without --output, both scripts use the operating system temporary directory.
Step 2: Run the Investigation
Execute the investigation script to analyze the data:
python3 "<skill_dir>/scripts/investigate.py" "<FILE_PATH>" --output "<output_dir>/findings.json"This produces a JSON file at <output_dir>/findings.json containing:
- Scene survey (shape, dtypes, missing values, basic stats)
- Fingerprinting (duplicates, format consistency, encoding issues)
- Anomaly tracking (IQR outliers, Z-score outliers, rare categories)
- Correlation search (numeric correlations, group differences, distribution shapes)
- Summary (top 3 findings with severity and confidence)
If the script fails, read the error output and troubleshoot. Common issues:
- File encoding problems: try specifying encoding
- Malformed data: check the raw file content
- Memory issues with very large files: suggest sampling
Step 3: Generate the HTML Report
python3 "<skill_dir>/scripts/report.py" "<output_dir>/findings.json" --output "<output_dir>/report.html"This reads <output_dir>/findings.json and produces
<output_dir>/report.html -- a standalone HTML report with:
- Case Summary overview
- Evidence Board with Chart.js visualizations
- Suspect List of data quality issues
- Leads for further analysis
- Dark detective-themed styling with collapsible sections
Step 4: Present Findings
- Give the user a brief verbal summary of the top findings.
- Share the report path:
<output_dir>/report.html - If any critical issues were found, highlight them explicitly.
- Suggest next steps based on the "Leads" section.
Tips
- For large files (>100MB), warn the user that analysis may take a moment.
- If the data has fewer than 5 rows, mention that statistical analysis is limited.
- Always mention the confidence level of findings.
- If the user asks follow-up questions, you can re-read the JSON findings file
at
<output_dir>/findings.jsonto answer without re-running analysis.
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.

