/data-analytics-skills:data-storytellingfrom data-analytics-skills
Verifies figures in analysis write-ups match source data (CSV/JSON), checks headlines and caveats, and validates chart choices. Use when reviewing reports, dashboards, or findings memos.
Ships in data-analytics-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Hand it the results (CSV or JSON) and the draft write-up (markdown). It traces every figure in the prose back to the data, checks that the headline states a finding and the caveats are there, and checks the charts you plan to draw.
Before (assets/flawed_numbers_draft.md, excerpt):
Orders grew 45% from January to June, from 1,180 to 1,632. The conversion rate rose 0.9% over the same period,
and it fell from 3.0% in February to 3.8% in June. Revenue is now over 85,000 a month, nearly double where it started.
After running number_checker.py (exit 1, excerpt of the real output):
FIX 7 issue(s)
Read: assets/sample_results.csv (CSV): 6 rows, 5 columns (numeric: orders, revenue, visitors, conversion_rate; time: month; category: none); draft assets/flawed_numbers_draft.md: 10 figure(s) found, 5 matched, tolerance 1.0%
1. [unmatched-number] draft line 3: Orders grew 45% from January to June, from 1,180 to 1,632.
problem: '45%' matches no value in the data within 1.0%; nearest: 38.31% (orders, 2026-01 to 2026-06)
2. [pct-vs-pp] draft line 3: The conversion rate rose 0.9% over the same period, ...
problem: '0.9%' is a difference of 0.9 percentage points (conversion_rate, 2026-01 to 2026-06), not a relative change
fix: Write '0.9 percentage points' (or 'pp'); the relative change is a different figure.
3. [threshold-claim] draft line 3: Revenue is now over 85,000 a month, nearly double where it started.
problem: 'over 85,000' but the data says 82,700 (revenue at 2026-06)
The sound draft (assets/sample_draft.md) returns PASS with a paste-ready claim ledger: every figure, the line it is on and the cell or calculation it comes from.
Quick start (from this skill folder):
python3 scripts/number_checker.py assets/sample_results.csv assets/flawed_numbers_draft.md
python3 scripts/finding_checker.py assets/flawed_story_draft.md --data assets/flawed_survey.csv
python3 scripts/chart_recommender.py assets/sample_regions.csv --spec assets/flawed_chart_spec.json
Before checking, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--design).--n for aggregates).--ignore so they are not reported as unmatched).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | You hand it | You get |
|---|---|---|
number_checker.py | Results CSV/JSON and the draft | Figures with no counterpart in the data, percent vs percentage-point mix-ups, wrong direction, "doubled" and "over 50%" claims the data does not support, a paste-ready claim ledger |
finding_checker.py | The draft, optionally the results (--data) | Title that names a topic instead of a finding (with a suggested title built from your data), buried result, missing caveat at small n, causal wording on observational data, "significant" with no test |
chart_recommender.py | Results CSV/JSON, optionally a chart spec (--spec) | A chart per question the data's shape can answer; flags for a pie with too many slices, a dual axis, a truncated bar axis, a line over categories, 3D |
Every tool prints a verdict (PASS, FIX n issue(s)), says what it read, quotes the input behind each finding with a fix, and gives at most three next actions. --format json returns the same report. Exit codes: 0 clean, 1 findings, 2 unusable input (one BLOCKED: line on stderr). Missing cells are reported as missing, never scored as zero. Thresholds are internal heuristics and labelled so in the output.
number_checker.py results.csv draft.md. Fix findings in this order: wrong direction, percent vs points, unsupported "over/doubled", then unmatched figures.--ignore.finding_checker.py draft.md --data results.csv --design <experiment|observational>. Rewrite the title with the suggested one as the starting point.PASS. Attach the claim ledger as an appendix so a reader can see where each figure comes from.chart_recommender.py results.csv and read the recommended chart per question.--help for the format), then run with --spec.--design set from what the author tells you, not from what the prose implies.Mistake: "Conversion rose 0.9%" when it went from 2.9% to 3.8%. The relative change is 31%; the change is 0.9 percentage points. Readers act on whichever they assume.
Mistake: "Over 85,000 a month" for 82,700, or "more than doubled" for 1.4x. Round the figure, not the conclusion.
Mistake: "Quarterly sales update" tells a reader nothing they can repeat. State the result with its number in the title.
Mistake: "driven by the new app", "led to renewals" from a survey or logs with no control group. Use "associated with" unless the design supports cause.
Mistake: quoting 71% for a group of 14 without saying n. Show n beside each result and merge or flag groups under the threshold.
Mistake: dual axes let the author choose scales so any two series appear to move together. Use two panels that share the x axis.
scripts/number_checker.py: figures in the draft traced to the datascripts/finding_checker.py: title, lede, small-n caveat, causal wordingscripts/chart_recommender.py: chart per data shape, spec checkerscripts/story_core.py, scripts/figure_index.py: shared loading, profiling and matching (libraries, not commands)references/matching-rules.md: what counts as a match, tolerance, and the heuristics usedreferences/chart-rules.json: chart limits with their sources (check them against your style guide)assets/: sample_* (sound, exit 0), flawed_* (exit 1) and malformed_* (exit 2) inputs, and contract.json listing every runIn scope: checking prose against a results table you supply, headline and caveat hygiene, chart-type choice from data shape, planned-chart flags.
Out of scope: statistical testing (use statistical-analyst for intervals and p-values), rendering charts, fetching data, judging whether the analysis itself is sound, and figures that live only in an image or a PDF.
Limits you should know: a figure can match by coincidence (a prose number equal to some unrelated cell), so a match shows the figure is derivable from the data, not that the sentence means that quantity; the ledger names the source so you can see it. Bare integers up to 10, years and dates are not checked. Causal-wording and caveat rules are word lists; they miss paraphrases. All thresholds are internal heuristics except where a source is named in the output.
README.md (opens in a new tab)assets/contract.json (opens in a new tab)assets/flawed_chart_spec.json (opens in a new tab)assets/flawed_numbers_draft.md (opens in a new tab)assets/flawed_story_draft.md (opens in a new tab)assets/flawed_survey.csv (opens in a new tab)assets/malformed_chart_spec.json (opens in a new tab)assets/malformed_draft.md (opens in a new tab)assets/malformed_results.csv (opens in a new tab)assets/malformed_results.json (opens in a new tab)assets/sample_chart_spec.json (opens in a new tab)assets/sample_draft.md (opens in a new tab)assets/sample_regions.csv (opens in a new tab)assets/sample_results.csv (opens in a new tab)assets/sample_story_draft.md (opens in a new tab)assets/sample_survey.csv (opens in a new tab)references/chart-rules.json (opens in a new tab)references/matching-rules.md (opens in a new tab)scripts/chart_recommender.py (opens in a new tab)scripts/figure_index.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/analytics-engineerAnalytics engineering across data modeling, dbt, transformation, and semantic layers, with tools that check a dbt manifest/catalog (model quality, downstream impact, schema drift, model docs). Use when building dbt models, designing star schemas, writing staging or mart SQL, configuring data tests, optimizing warehouse queries, or before merging a dbt change that may break dashboards.
/business-intelligenceScore KPIs against targets, validate metric definitions, lay out dashboards and review a finished dashboard spec for overload, chart misuse and conflicting definitions. Use when designing, reviewing or automating BI dashboards and KPIs.
/data-analystProfiles CSV/JSON exports for data-quality problems (with the fix per column), checks SQL for correctness traps and slow patterns, and builds a paste-ready summary report. Use when someone shares a data export or a query and asks what it says, whether it can be trusted, or how to fix it; also for cohort, funnel and dashboard work.
/data-scientistExperiment design and A/B readouts (sample size, sample-ratio and contamination checks, tests with intervals), feature screening for leakage, model evaluation against a no-skill baseline, and fair experiment comparison. Use when sizing or reading out an A/B test, choosing features, judging a model from its predictions, or picking between training runs.
/ml-ops-engineerMLOps across model deployment, ML pipelines, monitoring, and feature stores, with three offline tools: a PSI/KS drift check on two CSV files, a pipeline definition validator, and a local model registry with regression-aware version comparison. Use when deploying models to production, validating a training pipeline definition, checking a production dataset for drift against training data, promoting or comparing model versions, setting up a feature store, or automating ML CI/CD workflows.
/statistical-analystApplied statistics for business and product questions — test selection, assumption checks, power planning, effect sizes with intervals, multiplicity correction. Use when interpreting an experiment, sizing a study, or vetting a claim.
npx claudepluginhub borghei/claude-skills --plugin data-analytics-skillsOther plugins' skills for the same job