data-analysis

data-analysis is a skill for Claude Code from tozhax/plumbwork. It costs 106 tokens per session (1,314 once invoked), scanned B, original, MIT.

A method for analysing datasets, statistics, and Jupyter notebooks, which are interactive documents that combine code, results, and explanation. It checks row counts, joins, train/test separation, baselines, and chart scales.

In plain words
What is it for?
Use it to explore data, build or check statistical models, verify notebooks, account for filtered rows and joins, and report results honestly.
Why use it?
It catches silent data loss, accidental use of test data during training, stale notebook results, and charts that exaggerate differences.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Gemini CLI.

Good fit Use it to explore data, build or check statistical models, verify notebooks, account for filtered rows and joins, and report results honestly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tozhax/plumbwork/data-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tozhax/plumbwork --skill data-analysis
Clone the repo
git clone --depth 1 https://github.com/tozhax/plumbwork

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for data-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/tozhax/plumbwork/data-analysis/github.svg)](https://agentmods.dev/skills/tozhax/plumbwork/data-analysis)
Your own site
<a href="https://agentmods.dev/skills/tozhax/plumbwork/data-analysis"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/data-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for data-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/tozhax/plumbwork/data-analysis"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/data-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.01314
Opus 5.5 $0.00042 $0.00526
Sonnet 5.5 $0.00021 $0.00263
Haiku 4.5 $0.00011 $0.00131

Measured 2d ago against content hash f86c91e3f54b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

data-analysis scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Trivial Baseline Before Complexity:** Before training a complex model or deep pipeline, evaluate a deterministic heuristic (mean, median, last-seen value, majority class, or single-feature linear model) on the exact
skills/data-analysis/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Analysis: Reproducible Pipelines, Anti-Leakage, and Honest Reporting

Analytical scripts, statistical reports, and interactive notebooks fail silently: a script can exit with code 0 while dropping half the dataset via an unlogged join, leaking future test targets into feature normalization, relying on deleted out-of-order notebook cells, or plotting a truncated axis that exaggerates noise. This skill enforces deterministic accounting and methodological rigor across data workflows.

1. Explicit Shape & Drop Accounting (Zero Silent Row Loss)

Silent row or column loss invalidates downstream statistics:

  • Log Initial and Final Shapes: Print and record initial row count, column count, date/time span, and primary key uniqueness before any filtering or joining.
  • Account for Every Dropped Row: Before and after every dropna, inner join, deduplication, or outlier filter, record the exact number and percentage of removed rows and the reason they were excluded. Never apply .dropna() across an entire dataframe without specifying target columns and reporting the drop count.
  • Join Cardinality Verification: Assert expected join cardinality (one-to-one, many-to-one) explicitly before merging tables so duplicate keys do not silently multiply rows and inflate sums.
  • Missing-Data Mechanism Check: State whether missing values are missing at random or systematically tied to a cohort, timestamp, or sensor failure before imputing them.

2. Anti-Leakage & Split Invariant

Target leakage produces high validation scores that collapse in production:

  • Split Before Any Fit: Partition datasets into training, validation, and test splits before computing imputation statistics (mean, median), feature scaling (StandardScaler, min-max), target encodings, vocabulary dictionaries, or feature selection. Fit transformers exclusively on the training split and apply .transform() to validation and test splits.
  • Respect Temporal and Entity Boundaries:
    • Time-series data: Use chronological splits or rolling-origin evaluation; never shuffle future observations into the training set.
    • Grouped or user-level data: Group all records belonging to the same entity, user, or session into the same split so entity memorization cannot masquerade as generalization.
  • Feature Availability Audit: Verify that every feature used at prediction time is actually recorded at or before the prediction timestamp in production, not backfilled after the outcome occurs.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 106 tokens per session scan B f86c91e3f54b

Subscribe to this mod's changes

data-analysis is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 106 tokens to every session and 1,314 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

data-analysis compared with skills from other repositories

data-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-analysistozhax/plumbworkSkill332d agoMITB106Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38ktodayApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35kyesterdayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k4d agoApache-2.0A205Claude Code