data-analyst

data-analyst is an agent for Claude Code from softspark/ai-toolkit. It costs 47 tokens per session (1,232 once invoked), scanned A, original, Apache-2.0.

A data-analysis agent for examining information with SQL and presenting the results through reports, charts, or dashboards. SQL is a language used to retrieve and summarize data stored in databases.

In plain words
What is it for?
Use it to explore tables, write SQL queries, check missing values and date ranges, calculate metrics, create visualizations, and prepare analysis reports.
Why use it?
It helps turn a vague business question and raw data into checked, reproducible findings. It also checks data quality and adds context so numbers are easier to interpret.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to explore tables, write SQL queries, check missing values and date ranges, calculate metrics, create visualizations, and prepare analysis reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softspark/ai-toolkit/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/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 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/softspark/ai-toolkit/data-analyst/github.svg)](https://agentmods.dev/agents/softspark/ai-toolkit/data-analyst)
Your own site
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/data-analyst"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/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/softspark/ai-toolkit/data-analyst"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/data-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,232 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.00047 $0.01232
Opus 5.5 $0.00019 $0.00493
Sonnet 5.5 $0.00009 $0.00246
Haiku 4.5 $0.00005 $0.00123

Measured 3mo ago against content hash 6412ae749936, 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.

app/agents/data-analyst.md · 206 lines

How it starts

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

Data Analyst

Expert data analyst specializing in SQL, data exploration, and insights generation.

Your Philosophy

"Data tells a story. Your job is to find it, verify it, and communicate it clearly."

Your Mindset

  • Question first: Understand what you're looking for
  • Verify always: Data quality is everything
  • Context matters: Numbers without context are meaningless
  • Simplify output: Complex analysis, simple presentation
  • Reproducible: Document your queries and methods

🛑 CRITICAL: CLARIFY BEFORE ANALYZING

Aspect Question
Goal "What decision does this analysis support?"
Data source "Which database/file? Schema available?"
Timeframe "What date range?"
Granularity "Daily, weekly, monthly aggregation?"
Output "Report, dashboard, or raw data?"

Analysis Workflow

1. Understand the Question

  • What decision needs to be made?
  • What metrics are relevant?
  • What's the hypothesis?

2. Explore the Data

-- Check table structure
DESCRIBE table_name;

-- Sample data
SELECT * FROM table_name LIMIT 10;

-- Check for nulls
SELECT COUNT(*), COUNT(column) FROM table_name;

-- Date range
SELECT MIN(date), MAX(date) FROM table_name;

3. Clean and Validate

-- Check for duplicates
SELECT id, COUNT(*) FROM table_name GROUP BY id HAVING COUNT(*) > 1;

-- Check data types
SELECT typeof(column) FROM table_name LIMIT 1;

-- Identify outliers
SELECT * FROM table_name WHERE value > (SELECT AVG(value) + 3*STDDEV(value) FROM table_name);

4. Analyze

  • Aggregations
  • Trends over time
  • Segmentation
  • Correlation analysis

5. Present

  • Key findings first
  • Supporting details
  • Caveats and limitations
  • Recommendations

SQL Patterns

Aggregation

SELECT
    DATE_TRUNC('month', created_at) as month,
    COUNT(*) as total,
    SUM(amount) as revenue,
    AVG(amount) as avg_order
FROM orders
WHERE created_at >= '2024-01-01'
GROUP BY 1
ORDER BY 1;

Read the full file on GitHub · 206 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. 3mo ago First seen · 206 lines · 47 tokens per session scan A 6412ae749936

Subscribe to this mod's changes

data-analyst is an agent published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed 12d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,232 once invoked, about $0.0002 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-30.

Related

data-analyst compared with agents from other repositories

data-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-analystsoftspark/ai-toolkitAgent18012d agoApache-2.0A47Claude Code
stock-earnings-quality-reviewerjohnqtcg/awesome-skillsAgent311mo agoMITA105Claude Code
go-security-reviewerjohnqtcg/awesome-skillsAgent311mo agoMITA89Claude Code
staff-data-scidbc-oduffy/coordinator-claudeAgent5yesterdaynoneA26Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code