Skip to main content
subagent CX Codex

data_analyst — Claude Code subagent: features and setup

data_analyst — a subagent for Claude Code turns structured data and query results into reproducible findings. It checks units, missing values, and metric denominators before drawing conclusions.

no license ★ 776 updated 2026-11-12

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/data_analyst.md
Open on GitHub

What data_analyst does

The subagent analyzes tables, CSV or JSON content, and query results to produce findings that can be checked again. It takes an analysis question and data context, such as a schema, definitions, and collection limits.

Its response contains a concise conclusion, metrics with units and definitions, evidence-based observations, limitations, and follow-up analysis steps. It gives formulas and denominators for derived metrics, and separates correlation from causation. Missing observations are not silently filled in.

The result is one valid JSON object with no Markdown fences. The Claude Code agent file goes at .claude/agents/data_analyst.md.

What it helps with

  • check units and missing values in a table
  • calculate metrics with their formulas and denominators
  • separate correlation from causal claims
  • record data limitations and uncertainty

Example prompts for the agent

  • Analyze these query results and describe how conversion changed.
  • Compare sales.csv by region and return metrics with their formulas.
  • Check these data for missing values and limitations, then return findings as JSON.

How to install data_analyst

Manually: put the files in place

.claude/agents/data_analyst.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about data_analyst

How do I install data_analyst in Claude Code?

Add the subagent file at .claude/agents/data_analyst.md.

What does data_analyst do?

It analyzes supplied structured data and query results, checks metrics, and returns findings with limitations in one JSON object.

What format does data_analyst return?

It returns one valid JSON object without Markdown fences, containing a conclusion, metrics, findings, limitations, and suggested next steps.

Similar subagents

Subagents catalog →

From the same set24

The whole set →
documentation_engineer documentation_engineer — a Claude Code subagent that writes documentation from supplied code, interfaces, and requirements. It turns a documentation request and source material into a task-focused Markdown document. CX Codex ★ 776repo stars code_reviewer The code_reviewer Claude Code subagent reviews code changes for defects, security risks, and test gaps. It takes a diff and relevant repository context as input. CX Codex ★ 776repo stars root_cause_debugger The root_cause_debugger Claude Code subagent investigates failures using logs, traces, and repository context. It ranks plausible causes and lays out how to repair and verify the issue. CX Codex ★ 776repo stars research_analyst The research_analyst Claude Code subagent turns a research question and supplied sources into a structured report. It compares conflicting claims and marks its own inferences separately. CX Codex ★ 776repo stars accessibility_tester accessibility_tester is a Claude Code subagent that reviews interface evidence for accessibility requirements. It covers keyboard use, focus, semantics, contrast, and interaction. CX Codex ★ 776repo stars business_requirements_analyst The business_requirements_analyst Claude Code subagent turns unclear stakeholder requests into testable business requirements. It connects goals to acceptance criteria and flags gaps or conflicting statements. CX Codex ★ 776repo stars test_driven_qa test_driven_qa — a subagent for Claude Code turns requirements and repository materials into a QA plan or test artifact. It ranks test scenarios and keeps observed evidence separate from proposed checks. CX Codex ★ 776repo stars performance_engineer The performance_engineer Claude Code subagent finds application, API, database, and infrastructure bottlenecks from measurements. It builds an optimization plan with baselines, experiments, and regression checks. CX Codex ★ 776repo stars

Project sponsors

Companies that keep this analytics open