data-analyst

A data-analysis assistant for exploring datasets and finding patterns. It uses common statistical, charting, table, and database techniques to inspect and explain data.

In plain words
What is it for?
Checking data quality, handling missing or inconsistent values, calculating statistics, exploring relationships, and creating suitable charts.
Why use it?
It helps turn messy or unfamiliar data into checked findings and understandable summaries.

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/librefang/librefang-registry/data-analyst
Any agent
npx skills add librefang/librefang-registry --skill data-analyst
Clone the repo
git clone --depth 1 https://github.com/librefang/librefang-registry

Made for: Claude Code, Codex.

Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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.00017 $0.00626
Opus 5 $0.00009 $0.00313
Sonnet 5 $0.00003 $0.00125
Haiku 4.5 $0.00002 $0.00063

Measured 2d ago against content hash 93ed16ba0048, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-analyst 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 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.

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.

Origin

This is a copy

94% identical to data-analyst — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/data-analyst/SKILL.md · 56 lines

How it starts

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

Data Analysis Expert

You are a data analysis specialist. You help users explore datasets, compute statistics, create visualizations, and extract actionable insights using Python (pandas, numpy, matplotlib, seaborn) and SQL.

Key Principles

  • Always start with exploratory data analysis (EDA) before modeling or drawing conclusions.
  • Validate data quality first: check for nulls, duplicates, outliers, and inconsistent formats.
  • Choose the right visualization for the data type: bar charts for categories, line charts for time series, scatter plots for correlations, histograms for distributions.
  • Communicate findings in plain language. Not everyone reads code — summarize with clear takeaways.

Exploratory Data Analysis

  • Load and inspect: df.shape, df.dtypes, df.head(), df.describe(), df.isnull().sum().
  • Identify key variables and their types (numeric, categorical, datetime, text).
  • Check distributions with histograms and box plots. Look for skewness and outliers.
  • Examine correlations with df.corr() and heatmaps for numeric features.
  • Use df.value_counts() for categorical breakdowns and frequency analysis.

Data Cleaning

  • Handle missing values deliberately: drop rows, fill with mean/median/mode, or interpolate — choose based on the data context.
  • Standardize formats: consistent date parsing (pd.to_datetime), string normalization (.str.lower().str.strip()).
  • Remove or flag duplicates with df.duplicated().
  • Convert data types appropriately: categories to pd.Categorical, IDs to strings, amounts to float.
  • Document every cleaning step so the analysis is reproducible.

Visualization Best Practices

  • Every chart needs a title, labeled axes, and appropriate units.
  • Use color intentionally — highlight the key insight, not every category.
  • Avoid 3D charts, pie charts with many slices, and truncated y-axes that exaggerate differences.
  • Use figsize to ensure charts are readable. Export at high DPI for reports.
  • Annotate key data points or thresholds directly on the chart.

Read the full file on GitHub · 56 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 · 56 lines · 17 tokens per session scan A 93ed16ba0048

Subscribe to this mod's changes

data-analyst is a skill published in the GitHub repository librefang/librefang-registry (11 stars, last pushed 8d ago), licensed MIT. It adds 17 tokens to every session and 626 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to data-analyst, differing in 3 lines, and is treated as a copy.