analyst

analyst is a command for coding agents from ai-analyst-lab/ai-analyst-plugin. It costs 20 tokens per session (388 once invoked), scanned A, original, MIT.

A guided workflow for analyzing data to support a specific decision. It frames the question, checks the data, compares relevant groups or trends, creates charts when needed, and traces conclusions back to their source.

In plain words
What is it for?
Use it to define the decision, inspect files or tables, analyze segments, funnels, trends, or contributing factors, and validate the numbers used in the conclusions.
Why use it?
It prevents analysis from starting with data exploration that has no clear purpose. It also checks for missing values, duplicates, unusual records, and other issues that can make results misleading.

Command

Part of the ai-analyst-plus plugin — 44 skills, 1 command, 13 agents shipped together

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 commands/ai-analyst-lab/ai-analyst-plugin/analyst
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin

Or install ai-analyst-plus, the plugin that ships this one along with the rest of its 44 skills, 1 command, 13 agents.

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 analyst

README.md
[![agentmods](https://agentmods.dev/badge/commands/ai-analyst-lab/ai-analyst-plugin/analyst.svg)](https://agentmods.dev/commands/ai-analyst-lab/ai-analyst-plugin/analyst)
Your own site
<a href="https://agentmods.dev/commands/ai-analyst-lab/ai-analyst-plugin/analyst"><img src="https://agentmods.dev/badge/commands/ai-analyst-lab/ai-analyst-plugin/analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00388
Opus 5 $0.00010 $0.00194
Sonnet 5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

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 3d 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.

ai-analyst-plus/commands/analyst.md · 35 lines

What it actually says

Start a data analysis using the ai-analyst-plus method. The user's request: $ARGUMENTS

Follow the analyst-core skill's rules for the whole session. Concretely:

  1. Frame first. If $ARGUMENTS is empty or does not state the decision the analysis will inform, ask for it before touching data. Use the question-framing skill to establish goal, decision, metric, and hypotheses. If the request is already clearly framed, confirm the framing in one or two sentences and proceed.

  2. Load context. Check for a .knowledge/ folder in the working folder. If present, read the dataset notes, quirks, and logged corrections before any query. If absent, offer to bootstrap it with the knowledge-bootstrap skill.

  3. Profile the data. Run the data-profiling and data-quality-check skills on the files or tables involved: row counts, date ranges, nulls, duplicate keys, anomalies. Report what you found before analyzing.

  4. Analyze. Do the comparison the question needs (segment, funnel, trend, decomposition). Every number carries a comparison per the always-compare skill. Build any chart with the visualization-patterns skill.

  5. Validate. Trace every headline number to its source rows. Sum parts back to totals. Cross-check with the triangulation and trace skills.

  6. Deliver. Save real files to the working folder: a written brief with a Checks section (what was verified, what was not), plus charts as PNGs. Log any correction the user makes to .knowledge/corrections/.

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. 3d ago First seen · 35 lines · 20 tokens per session scan A 5f916085ec71

Subscribe to this mod's changes

analyst is a command published in the GitHub repository ai-analyst-lab/ai-analyst-plugin (32 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 388 once invoked, about $0.0001 per session on Opus 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.