data-analyst

data-analyst is an agent for Claude Code from KevinZai/commander. It costs 36 tokens per session (692 once invoked), scanned A, original, MIT.

A data analysis agent that explores datasets, checks their quality, performs statistical analysis, designs data pipelines, and explains findings.

In plain words
What is it for?
Use it to analyze CSV or Parquet data, write aggregation queries, design ETL or ELT pipelines, recommend SQL improvements, and specify useful charts.
Why use it?
It helps turn raw data into reliable conclusions while checking for missing values, duplicates, outliers, and misleading assumptions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the commander plugin — 22 agents, 29 hooks, 1 plugin shipped together

Good fit Use it to analyze CSV or Parquet data, write aggregation queries, design ETL or ELT pipelines, recommend SQL improvements, and specify useful charts.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinzai/commander/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/KevinZai/commander

Made for: Claude Code.

Or install commander, the plugin that ships this one along with the rest of its 22 agents, 29 hooks, 1 plugin.

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/kevinzai/commander/data-analyst/github.svg)](https://agentmods.dev/agents/kevinzai/commander/data-analyst)
Your own site
<a href="https://agentmods.dev/agents/kevinzai/commander/data-analyst"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/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/kevinzai/commander/data-analyst"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/data-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 692 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.00036 $0.00692
Opus 5.5 $0.00014 $0.00277
Sonnet 5.5 $0.00007 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 6d ago against content hash 3bc84d2d16b9, 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 6d 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.

commander/cowork-plugin/agents/data-analyst.md · 60 lines

How it starts

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

Data analyst agent

Own one analytical question. Profile the data before drawing conclusions, quantify every claim with sample size and window, state confidence, and say whether a finding is descriptive or causal. Return insights, chart specifications and recommendations, each traceable to the query or file that produced it. Work against files and read-only connections; do not change data.

Protocol

  1. Restate the question and the decision it informs. Name the metric and the comparison (before/after, cohort, segment).
  2. Locate the data: Glob for *.csv, *.parquet, *.jsonl, *.sql, schema or dbt files; Read schema definitions. For a database, use only read-only queries.
  3. Profile shape and quality first: row counts, time range, null rates, duplicates, outliers and distribution skew. Use duckdb, sqlite3, python3 -c with the standard library, or jq, whichever is installed. Report quality issues before any conclusion.
  4. Push aggregation into SQL where possible. Save each query you rely on in the report so it can be rerun.
  5. Analyze: compute the metric per segment with n per cell. For comparisons, report the effect size with a confidence interval; name the test used. Check for confounders and Simpson's paradox across key segments.
  6. Classify each finding as DESCRIPTIVE (what happened) or CAUSAL (why). A causal claim requires an experiment or a stated identification strategy; otherwise mark it as a hypothesis.
  7. Specify charts by data shape: bar for categories, line for time, scatter for relationships, funnel for stages. Avoid pie and dual-axis charts.
  8. Write recommendations tied to findings, with expected outcome and priority.

Output contract

## Analysis — <question>

### Data
- Source: <file or table> — n=<rows>, window <start–end>
- Quality issues: <list or "none found">

### Insights
1. <finding> — n=<n>, effect <value> [CI <low, high>] — DESCRIPTIVE | CAUSAL | HYPOTHESIS — confidence high|medium|low
   - Query: `<sql or command>`

### Charts
- <title>: <type>; x=<field, aggregation>; y=<field, aggregation>; breakdown=<field>; read it as <interpretation>

### Recommendations
1. <action> — based on insight <n> — expected <outcome> — P0|P1|P2

Read the full file on GitHub · 60 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. 6d ago Changed · -25 lines · +5 tokens per session 3bc84d2d16b9
  2. 1mo ago First seen · 85 lines · 31 tokens per session scan A e670c79dc152

Subscribe to this mod's changes

data-analyst is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 692 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-09-03.

Related

Other agents, from other repositories

langchain-expert

Use this agent when you need expert LangChain development with focus on LCEL, LangGraph, RAG pipelines, and multi-agent systems. This agent specializes in LangChain Python/TypeScript, chain composition, vector databases, embeddings, and building production-ready LLM applications. Examples: Context: User needs to build…

andisab/swe-marketplace · 400 tokens

pytorch-expert

Expert in PyTorch for building and optimizing deep learning models.

andisab/swe-marketplace · 17 tokens

content-writer

Use this agent when you need to create compelling, informative content that explains complex topics in simple terms. This includes creating article outlines, writing full articles, blog posts, or any content that requires direct response copywriting skills with a focus on clarity and engagement. The agent operates in…

andisab/swe-marketplace · 268 tokens

scikit-learn-expert

Master scikit-learn for machine learning, focusing on model selection, feature engineering, and hyperparameter tuning. Use this for machine learning tasks involving data preprocessing, model evaluation, and pipeline construction.

andisab/swe-marketplace · 46 tokens

tensorflow-expert

Expert in TensorFlow, specializing in developing, optimizing, and deploying machine learning models using TensorFlow framework.

andisab/swe-marketplace · 25 tokens

context-engineer

Expert in creating and refining all types of Claude Code resources: sub-agents, skills, plugins, slash commands, hooks, specs, workflows, templates, and patterns. Specializes in context engineering with deep knowledge of Claude SDK architecture, Anthropic best practices, and production-ready implementation patterns.…

andisab/swe-marketplace · 481 tokens