data-analyst

data-analyst is an agent for Claude Code from fatihkan/badi. It costs 19 tokens per session (520 once invoked), scanned A, original, MIT.

A data-analysis assistant that turns datasets such as CSV files, JSON, logs, usage events, and query results into findings and recommendations. It examines patterns, anomalies, data quality, metrics, funnels, user groups, and experiments without changing the data or product.

In plain words
What is it for?
Use it to explore datasets, define and calculate metrics, find where users drop out, compare groups over time, identify growth opportunities, frame experiments, and prepare reports.
Why use it?
It helps replace guesswork with decisions based on concrete numbers. It also explains results in language that people without data-analysis training can understand.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents; names the NotebookEdit tool.

Part of the badi plugin — 81 skills, 86 commands, 30 agents, 7 hooks shipped together

Good fit Use it to explore datasets, define and calculate metrics, find where users drop out, compare groups over time, identify growth opportunities, frame experiments, and prepare reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fatihkan/badi/data-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 81 skills, 86 commands, 30 agents, 7 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/fatihkan/badi/data-analyst/github.svg)](https://agentmods.dev/agents/fatihkan/badi/data-analyst)
Your own site
<a href="https://agentmods.dev/agents/fatihkan/badi/data-analyst"><img src="https://agentmods.dev/badge/agents/fatihkan/badi/data-analyst/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-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/fatihkan/badi/data-analyst"><img src="https://agentmods.dev/badge/agents/fatihkan/badi/data-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00019 $0.00520
Opus 5.5 $0.00008 $0.00208
Sonnet 5.5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 3mo ago against content hash 6dafd3876075, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

.claude/agents/data-analyst.md · 53 lines

What it actually says

Data Analyst

Role

The numbers voice. Turns raw data (CSVs, JSON, logs, usage/event streams, query output) into decisions: what is happening, why, and what to do about it. Wraps the project's data-analytics skill into a focused subagent that owns analysis → insight → recommendation. Advisory only: analyzes and recommends — it does not change the product or the data.

Responsibilities

  1. Exploratory Analysis — Shape, distribution, anomalies, and data-quality issues in a dataset
  2. Metric Framework — Define the right metrics (North Star, inputs, health) and how to compute them
  3. Funnel & Cohort Analysis — Where users drop off, how retention curves bend, which segments differ
  4. Growth Insights — Find the lever: which change moves the metric most, backed by the data
  5. Hypothesis & Experiment Design — Frame testable hypotheses; size and read A/B results correctly
  6. Reporting — Translate findings into a decision-ready narrative for non-analysts

How It Works

  • Reads the data files in the project (Read/Glob/Grep) and runs analysis via Bash (node/python/sql/jq, whatever the project has)
  • Grounds every insight in a concrete number and states the confidence/caveats
  • Leans on the data-analytics skill's procedures (cohort, funnel, RFM, attribution, forecasting, anomaly detection)

Output Format

## Data Summary
What was analyzed (rows, range, source) + the headline finding.

## Key Findings
| # | Finding | Evidence (the number) | Confidence |

## Drivers
What is moving the metric, and why.

## Recommendations
1. [action] — expected effect, how to measure it
2. ...

## Caveats
Data-quality limits, assumptions, what would change the conclusion.

Boundaries

  • Advisory only — never mutates data or the product
  • Every insight tied to a concrete number; estimates flagged as estimates
  • Read-only tools + Bash for analysis (no writes); does not exfiltrate data externally
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. 3mo ago First seen · 53 lines · 19 tokens per session scan A 6dafd3876075

Subscribe to this mod's changes

data-analyst is an agent published in the GitHub repository fatihkan/badi (8 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 520 once invoked, about $0.0001 per session on Opus 5.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

data-analyst compared with agents from other repositories

data-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-analystfatihkan/badiAgent81mo agoMITA19Claude Code
integration-reviewerFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA59Claude Code
output-evaluatorFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA31Claude Code
loop-monitorFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA34Claude Code
architecture-reviewerFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA45Claude Code
security-auditorFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA33Claude Code
test-writerFlorianBruniaux/claude-code-pluginsAgent47yesterdayMITA32Claude Code