analyst

analyst is a command for Claude Code from rjmurillo/ai-agents. It costs 23 tokens per session (308 once invoked), scanned A, original, MIT.

A local pull-request review command that checks changed code for quality, effects on the rest of the project, and ease of maintenance. A pull request is a proposed set of changes submitted for review before merging.

In plain words
What is it for?
Use it to inspect the current branch against a base branch, review changed files and their full diff, and produce the project's required review report.
Why use it?
It catches problems before the changes are pushed or merged and produces a consistent pass, warning, or failure result.

Command for Claude Code

Part of the project-toolkit plugin — 22 commands, 33 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/rjmurillo/ai-agents/analyst
Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 22 commands, 33 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/rjmurillo/ai-agents/analyst.svg)](https://agentmods.dev/commands/rjmurillo/ai-agents/analyst)
Your own site
<a href="https://agentmods.dev/commands/rjmurillo/ai-agents/analyst"><img src="https://agentmods.dev/badge/commands/rjmurillo/ai-agents/analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 308 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.00023 $0.00308
Opus 5 $0.00012 $0.00154
Sonnet 5 $0.00005 $0.00062
Haiku 4.5 $0.00002 $0.00031

Measured 4d ago against content hash 287362eb029a, 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 4d 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.

Origin

Copies of this mod

5 near-identical copies found in the catalogue:

  • devops — 89% identical, 10 lines differ
  • architect — 88% identical, 12 lines differ
  • security — 86% identical, 10 lines differ
  • roadmap — 86% identical, 12 lines differ
  • qa — 84% identical, 10 lines differ
.claude/commands/pr-quality/analyst.md · 50 lines

What it actually says

PR Quality Gate - Analyst Review

Run the analyst quality gate locally on your current changes before pushing.

Context

Branch Information

Use the Bash tool to run git branch --show-current to determine the current branch.

Use $ARGUMENTS as the base branch if provided, otherwise default to main.

Review Criteria

Apply the criteria from: @.github/prompts/pr-quality-gate-analyst.md

Changed Files

Use the Bash tool to run git diff "<base_branch>" --name-only to list changed files.

Full Diff

Use the Bash tool to run git diff "<base_branch>" to obtain the full diff.

Output Format

Provide your verdict in EXACTLY this format. Do not add preambles, explanations, or additional text before the verdict:

VERDICT: [PASS|WARN|CRITICAL_FAIL]
MESSAGE: [One sentence summary]

[Detailed findings following prompt structure]

Then emit a fenced JSON block conforming to .agents/schemas/pr-quality-gate-output.schema.json with "agent": "analyst".

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. 4d ago First seen · 50 lines · 23 tokens per session scan A 287362eb029a

Subscribe to this mod's changes

analyst is a command published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 308 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.