data-analysis

A workflow for exploring, cleaning, and analyzing tabular data such as CSV files with tools like pandas and NumPy. It starts with a specific question and records uncertainty, sample size, and possible bias.

In plain words
What is it for?
Use it to inspect datasets, prepare them for analysis, investigate patterns, and produce data-based answers for business or research questions.
Why use it?
It helps prevent misleading conclusions from missing values, duplicate rows, unusual data, or patterns that do not answer the real question.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00092 $0.01012
Opus 5 $0.00046 $0.00506
Sonnet 5 $0.00018 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured yesterday against content hash bc309f5464b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-analysis scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skills/data-analysis/SKILL.md · 92 lines

How it starts

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

data-analysis

An analysis is only as good as the question it answers and the caveats it discloses. A number without its uncertainty, sample size, or known bias is a number that will be misused. Anchor every step in the actual question being asked — don't just run statistics because the data supports them.

1. Start with the question, not the data

  • Write down the specific question before opening the dataset: "did feature X change conversion?" is answerable; "tell me about this data" isn't — it invites cherry-picking whatever pattern looks interesting.
  • Identify what decision this analysis feeds. That determines the bar for rigor — a rough sanity check for internal curiosity needs less than a number going into a public report.

2. Profile before you touch anything

Before cleaning or analyzing:

df.shape                       # rows, columns
df.dtypes                      # are numbers actually numeric, dates actually dates?
df.isnull().sum()              # nulls per column
df.duplicated().sum()          # exact duplicate rows
df.describe(include="all")     # ranges, distinct counts, obvious outliers
df.sample(10)                  # eyeball real rows, don't trust the schema blindly

Know the data's shape and quality before drawing any conclusion from it — most bad analyses trace back to an unnoticed null-heavy column or a units mismatch (cents vs dollars, UTC vs local) caught too late.

3. Clean deliberately, and log every change

  • Document every row/column you drop or value you impute, and why — a colleague (or future you) needs to know the cleaned data isn't the raw data.
  • Don't silently drop nulls/outliers without checking whether they're meaningful (a null "cancellation_reason" might mean "not cancelled", not "missing data").
  • Prefer flagging over deleting when unsure (is_outlier column) — deletion is a one-way door that hides the decision from later review.

4. Sanity-check before concluding

  • Check sample size — a "40% lift" on 12 users isn't a finding, it's noise. Report the N alongside every rate/percentage.
  • Check for sampling bias — does the data represent who/what you're claiming to generalize to, or just who was easiest to measure (e.g. only logged-in users, only completed transactions)?
  • Watch for Simpson's paradox — a trend that holds in aggregate can reverse within every subgroup. Slice by the obvious confounders (cohort, region, time period) before trusting an aggregate number.
  • Correlation is not causation. If the question is causal ("did X cause Y"), say explicitly whether the analysis can actually support that claim (controlled experiment) or only an association (observational data) — don't let the phrasing imply more certainty than the method supports.

Read the full file on GitHub · 92 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. yesterday First seen · 92 lines · 92 tokens per session scan A bc309f5464b4

Subscribe to this mod's changes

data-analysis is a skill published in the GitHub repository duyet/oma (5 stars, last pushed 12d ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,012 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens