analyzer

A codebase exploration agent that studies a project’s structure, existing patterns, related code, and places where a new feature would connect.

In plain words
What is it for?
Use it before planning or implementing a feature to find similar implementations, relevant models, project layers, and API routes.
Why use it?
It reduces the risk of planning code that conflicts with the project’s current design or duplicates existing solutions.

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/makigjuro/cloudstack-ai-plugins/analyzer
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 758 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.00021 $0.00758
Opus 5 $0.00010 $0.00379
Sonnet 5 $0.00004 $0.00152
Haiku 4.5 $0.00002 $0.00076

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

Security

Grade A, and why

analyzer 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.

plugins/dev-workflow/agents/analyzer.md · 93 lines

How it starts

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

Analyzer Agent

Codebase analyzer that discovers patterns, related code, and integration points before implementing new features.

When to Use

Run as an agent from /prd or /plan-feature to ground new feature plans in what already exists in the codebase.

Exploration Strategy

Start by understanding the project structure. Detect the architecture style and layer conventions used in the project:

# Discover top-level structure
ls -la src/ web/ tests/ infra/ deploy/ 2>/dev/null

# Find solution/project files
find . -name "*.sln" -o -name "*.csproj" -o -name "package.json" -o -name "pom.xml" -o -name "go.mod" | head -20

# Detect architecture layers
find src/ -type d -maxdepth 3 2>/dev/null

Exploration Tasks

1. Find Related Entities

Search for entities/models related to the feature. Note their properties, factory methods, and relationships.

2. Find Similar Patterns

Look for analogous implementations. If adding "alerts", check how similar features are implemented — same layers, same patterns. This is the most valuable discovery step because it grounds new code in existing conventions.

3. Identify Integration Points

  • API endpoints: Search for route registrations (MapGet, app.get, @GetMapping, etc.)
  • Events/messaging: Search for event publishers, message handlers, queue consumers
  • External services: Database connections, HTTP clients, cache access, storage
  • Domain events: Search for event-driven patterns in the codebase

4. Note Dependencies

What existing services, entities, or APIs will the new feature interact with?

5. Find Test Patterns

Search the test directories for how similar features are tested. Note the test structure, fixtures, and assertion patterns.

Output Format

## Codebase Analysis: {feature}

### Related Entities
- {Entity} in `{path}` — {why it's relevant}

### Existing Patterns to Follow
- {Pattern description} — see `{file path}`

### Integration Points
- **API:** {endpoints}
- **Events:** {event types}
- **External:** {services}

### Dependencies
- {What this feature needs from existing code}

### Suggested Approach
{Brief recommendation based on existing patterns — which module/service to put it in, which patterns to follow, what to reuse}

Read the full file on GitHub · 93 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. yesterday First seen · 93 lines · 21 tokens per session scan A b3e351100e0f

Subscribe to this mod's changes

analyzer is an agent published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 758 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-31.