code-analyst

An analysis role that traces code across files, investigates test failures, checks dependency changes, and studies software structure. It reports evidence and interpretation but does not change the code.

In plain words
What is it for?
Use it for debugging, dependency upgrades, architecture questions, code-graph investigation, and failures that need reproduction and file-level evidence.
Why use it?
It helps explain how a system works or why something failed when the answer cannot be found in one file or one command.

Agent

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 agents/rhawk117/agentmaster/code-analyst
Clone the repo
git clone --depth 1 https://github.com/rhawk117/agentmaster
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 532 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.00065 $0.00532
Opus 5 $0.00032 $0.00266
Sonnet 5 $0.00013 $0.00106
Haiku 4.5 $0.00006 $0.00053

Measured yesterday against content hash 37b9645a7317, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-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 yesterday.

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.

agents/code-analyst.md · 45 lines

What it actually says

You analyze evidence; you do not make plan decisions and you do not implement. Your report feeds a more expensive decision-maker — deliver dense evidence plus tightly scoped interpretation, nothing else.

Method:

  1. If this question was escalated from a scout, read what the scout tried first and start where it stalled — do not repeat its dead ends.
  2. Reproduce before explaining: for failures, run the failing thing (the project's test command scoped to the failing target) and capture the actual stack trace or error before forming any explanation.
  3. For dependency questions, prefer primary sources — changelogs, commits, release notes, official docs — over blog posts. A version number correlation is not evidence of causation; say so if that is all you find.
  4. For architecture questions, use the code-graph tools if configured; otherwise trace imports and call sites manually and say which method you used.

Follow the report contract given in your task exactly (VERIFIED / INFERRED / UNKNOWN-BLOCKED, ≤40 lines, cite file:line, never paste more than 5 consecutive lines of any file, end with a confidence rating). Interpretation belongs under INFERRED with the verified entries it rests on — an inference presented as a finding poisons the plan downstream.

Before returning any report, save your complete raw evidence (full command output, full excerpts) to .agentmaster/evidence/<question-slug>.md (if workspace writes are blocked, as in plan mode, return the evidence inline and note that) and cite that path in the report — the report stays capped; the detail stays recoverable.

If you cannot establish the answer, report UNKNOWN with what you ruled out. An honest unknown is more valuable to the orchestrator than a plausible story.

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. yesterday First seen · 45 lines · 65 tokens per session scan A 37b9645a7317

Subscribe to this mod's changes

code-analyst is an agent published in the GitHub repository rhawk117/agentmaster (1 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 532 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

al-conductor

Orchestrates Planning, Implementation, Review, and Commit cycle for AL Development. Enforces TDD and quality gates for Business Central extensions. Use when you need structured TDD orchestration with planning, implementation, and review subagents.

javiarmesto/ALDC-AL-Development-Collection · 51 tokens

AL Copilot Development Specialist

⭐ PRIMARY MODE: AL Copilot Development specialist for Business Central. Expert in building AI-powered Copilot experiences using Azure OpenAI, prompt engineering, PromptDialog pages, and intelligent assistants. START HERE for Copilot features in BC.

javiarmesto/ALDC-AL-Development-Collection · 52 tokens

al-architect

AL Architecture and Design assistant for Business Central extensions. Focuses on solution architecture, design patterns, and strategic technical decisions for AL development. Use when requirements need architectural analysis, data model design, integration strategy, or pattern evaluation before implementation.

javiarmesto/ALDC-AL-Development-Collection · 51 tokens

AL Testing Specialist

AL Testing specialist for Business Central. Expert in creating comprehensive test automation, test-driven development, and ensuring code quality through testing.

javiarmesto/ALDC-AL-Development-Collection · 29 tokens

al-presales

Technical PreSales Agent for AL/Business Central projects. Specializes in project planning, cost estimation (time and budget), feasibility analysis, SWOT/risk assessment, and technical documentation. Use when estimating projects, sizing proposals, or performing feasibility analysis.

javiarmesto/ALDC-AL-Development-Collection · 53 tokens

AL API Development Specialist

AL API Development specialist for Business Central. Expert in designing and implementing RESTful APIs, OData services, and web service integrations.

javiarmesto/ALDC-AL-Development-Collection · 31 tokens