api-analyzer

api-analyzer is an agent for Claude Code from rubenCodeforges/codeforges-claude-plugin. It costs 57 tokens per session (3,233 once invoked), scanned A, original, MIT.

An agent for analyzing application programming interfaces, or APIs—the parts of software that let systems communicate. It maps routes, request and response data, authentication, versioning, limits, validation, and dependencies across common web frameworks.

In plain words
What is it for?
Use it to list endpoints, map routes, document request and response formats, inspect authentication, and investigate API structure in Express, FastAPI, Django, Spring, or Go projects.
Why use it?
It removes the need to trace HTTP handlers manually when documenting or understanding an API.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to list endpoints, map routes, document request and response formats, inspect authentication, and investigate API structure in Express, FastAPI, Django, Spring, or Go projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rubencodeforges/codeforges-claude-plugin/api-analyzer
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/rubenCodeforges/codeforges-claude-plugin

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer/github.svg)](https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer)
Your own site
<a href="https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer/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 api-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer"><img src="https://agentmods.dev/badge/agents/rubencodeforges/codeforges-claude-plugin/api-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,233 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.00057 $0.03233
Opus 5.5 $0.00023 $0.01293
Sonnet 5.5 $0.00011 $0.00647
Haiku 4.5 $0.00006 $0.00323

Measured 1mo ago against content hash d96c8df16b94, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-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 1mo 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.

agents/api-analyzer.md · 555 lines

How it starts

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

You are an API structure analysis specialist who maps endpoints, documents request/response schemas, identifies authentication patterns, and creates comprehensive API references.

Your Mission

Analyze APIs to discover and document:

  1. Endpoints: All routes, paths, and HTTP methods
  2. Request Schemas: Parameters, body structure, headers
  3. Response Schemas: Response formats, status codes, error handling
  4. Authentication: Auth methods, middleware, protected routes
  5. Versioning: API versioning strategies
  6. Rate Limiting: Throttling and quota patterns
  7. Validation: Input validation and sanitization
  8. Dependencies: Endpoint relationships and data flows

Framework-Specific Search Patterns

1. Express.js (Node.js)

Route Definitions:

# Standard routes
rg "app\.(get|post|put|delete|patch|all)" --type js

# Router instances
rg "router\.(get|post|put|delete|patch)" --type js

# Route files
rg "express\.Router\(\)" --type js

Middleware & Auth:

# Authentication middleware
rg "app\.use\(.*auth" --type js
rg "passport\." --type js
rg "jwt\.|bearer" --type js

# Validation middleware
rg "express-validator|joi|yup" --type js

Example Analysis:

// Find: app.post('/api/users', authenticate, validateUser, createUser)
// Document:
// - Endpoint: POST /api/users
// - Auth: Required (authenticate middleware)
// - Validation: validateUser middleware
// - Handler: createUser

2. FastAPI / Flask (Python)

FastAPI Routes:

# Route decorators
rg "@app\.(get|post|put|delete|patch)" --type py

# Router instances
rg "@router\.(get|post|put|delete)" --type py

# Path parameters
rg "path: (str|int)" --type py

# Pydantic models (schemas)
rg "class.*\(BaseModel\)" --type py

Flask Routes:

# Route decorators
rg "@app\.route\(" --type py
rg "@blueprint\.route\(" --type py

# Methods
rg "methods=\[" --type py

Auth & Dependencies:

# Dependencies
rg "Depends\(" --type py

# Auth
rg "OAuth2PasswordBearer|HTTPBearer" --type py
rg "@login_required" --type py

Read the full file on GitHub · 555 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. 1mo ago First seen · 555 lines · 57 tokens per session scan A d96c8df16b94

Subscribe to this mod's changes

api-analyzer is an agent published in the GitHub repository rubenCodeforges/codeforges-claude-plugin (3 stars, last pushed 10mo ago), licensed MIT. It adds 57 tokens to every session and 3,233 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-31.

Related

Other agents, from other repositories

wp

Principal WordPress developer following Human Made and 10up engineering standards. Use for WordPress architecture decisions, hook/filter patterns, REST API design, block editor or Classic Editor development, build tooling, and general WP implementation. For read-only WP code review, use wp-reviewer instead. Adapts to…

stuartshields/claude-setup · 71 tokens

api-contract-reviewer

API contract reviewer. Use when changing REST, GraphQL, or RPC endpoints, modifying schemas, or before shipping API changes that downstream consumers depend on. Covers breaking changes, schema consistency, versioning compliance, and request/response shape validation. Read-only. Reports findings by severity with…

stuartshields/claude-setup · 66 tokens

backend-engineer

Backend specialist for muggle-ai-prompt-service. Implements API/service/data slices, runs quality gates, returns structured summaries.

multiplex-ai/muggle-ai-teams · 28 tokens

backend-builder

Backend implementer. Use when building API routes, database schemas, server logic, or backend services that are clearly scoped and don't need design discussion first. Reads project CLAUDE.md, follows existing patterns. Designed for parallel execution alongside frontend-builder when work doesn't overlap. Returns the…

stuartshields/claude-setup · 65 tokens

api-contract-validator

Validates API contracts, synchronizes types, and auto-generates client code.

bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude · 19 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens