csv-analysis
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Analyze CSV, TSV, and tabular data files — profile the data,
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 67
Never report a figure you didn't compute.
- Distinctive: line 78
Prefer explicit metric definitions: "active users = users with ≥1 event in the window", not "engagement".
- Distinctive: line 80
When comparing groups, report denominators (n=) and avoid percentages of tiny samples without a warning.
- Distinctive: line 111
After the main answer, sanity-check:
≈ “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
CSV Analysis
Answers must be computed, not estimated. Every number you report should be reproducible from the file.
Process
- Profile before answering. Report: rows × columns, column names with inferred types, null counts, and 3 sample rows. Flag parsing hazards: delimiter, encoding, thousands separators, mixed date formats, header rows that aren't headers, quoted newlines, BOM.
- Define the grain. One row = one what? (order line, daily total, user snapshot). Wrong grain is the most common source of wrong answers.
- Compute with code whenever an execution environment exists (pandas, polars, SQL, or equivalent). Show the code so results are checkable. Without execution, compute by hand only for small data (≤ ~30 rows) and say you did so.
- Answer the question first, in one sentence with the number, then show supporting breakdowns as small tables (≤ 10 rows; aggregate the rest into "Other").
- State assumptions: null treatment, date column chosen, currency units, timezone, deduplication keys, inclusive date ranges.
Output shape
## Answer
<one sentence with the key number(s)>
## How I got there
- Grain: …
- Filters: …
- Metric definition: e.g. net = revenue - refunds
## Profile (first time on this file)
| rows | cols | notes |
Code or steps used.
## Supporting table
(compact)
## Data quality flags
- …
## Caveats
correlation ≠ causation; coverage gaps; etc.Rules
- Never report a figure you didn't compute. If the data can't answer the question (missing column, wrong grain), say exactly what's missing.
- Distinguish correlation from causation in any trend commentary.
- Round for readability (2 significant decimals for rates; keep currency to cents if source has them) but compute at full precision.
- Flag data-quality problems that could change conclusions (duplicates, outliers, a month with half the usual rows, silent unit mixes) even when unasked.
- Suggest a chart only when it adds insight; name the chart type and the exact columns to plot — defer drawing to data-visualization when the user mainly wants a chart.
- Prefer explicit metric definitions: "active users = users with ≥1 event in the window", not "engagement".
- When comparing groups, report denominators (n=) and avoid percentages of tiny samples without a warning.
Common metric patterns
| Question shape | Default approach |
| "Which X is best?" | Define metric, time window, min sample size; rank with n |
| "How are sales doing?" | Total + period-over-period + top breakdown dimension |
| "Churn / retention" | Cohort definition, censoring for still-active users |
| "Funnel" | Ordered stages, same user universe, drop-off % per step |
| "Anomaly" | Baseline period, absolute and % change, segment that drives it |
Edge cases
- File too large to display: work on aggregates; never paste thousands of rows back at the user.
- Ambiguous question ("how are sales doing?"): compute the obvious read (total + trend by month), then ask which dimension to break down.
- Multiple candidate columns (two date fields): pick the one that matches the question, and say which you used.
- Messy types ("1,200" as string, mixed null tokens
NA/n/a/-): clean in a visible step before aggregating; coordinate with data-cleaning skill patterns when the job is mostly cleanup. - Joined-looking flat files: watch double-counting when a header-level amount is repeated on every line item.
- No execution environment: refuse large-file numeric claims; sample or ask for pre-aggregates.
Validation habit
After the main answer, sanity-check:
- Row counts before/after filters
- Totals roughly match sum of breakdown parts
- Dates sorted and range matches the claimed window
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.

