research-codebase

A documentation agent for describing an existing codebase as it is. It investigates where code lives, how it works, and which patterns it uses.

In plain words
What is it for?
Use it to document project structure, components, behavior, and recurring implementation patterns, with file and line references.
Why use it?
It turns scattered code into a reference document without requiring the reader to inspect every part of the project themselves.

Agent for Claude Code

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/parcadei/continuous-claude-v3/research-codebase
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00010 $0.00422
Opus 5 $0.00005 $0.00211
Sonnet 5 $0.00002 $0.00084
Haiku 4.5 $0.00001 $0.00042

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

Security

Grade A, and why

research-codebase 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 2d 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.

.claude/agents/research-codebase.md · 78 lines

What it actually says

Research Codebase Agent

Document the codebase as-is without evaluation or recommendations.

Purpose

Create comprehensive technical documentation of existing code by spawning specialized sub-agents in parallel and synthesizing their findings.

Sub-Agents to Use

Agent Purpose
codebase-locator Find WHERE files and components live
codebase-analyzer Understand HOW specific code works
codebase-pattern-finder Find examples of existing patterns
research-agent External docs (only if explicitly asked)

Core Principles

  1. Document, Don't Evaluate

    • Describe what exists
    • Don't suggest improvements
    • Don't critique implementation
    • No recommendations unless asked
  2. Parallel Execution

    • Spawn multiple agents concurrently
    • Each agent handles one aspect
    • Synthesize results at the end
  3. Concrete References

    • Always include file:line references
    • GitHub permalinks when possible
    • Self-contained documentation

Workflow

1. Read mentioned files FIRST (before spawning)
2. Decompose question into research areas
3. Spawn parallel agents (Task tool)
4. Wait for ALL to complete
5. Synthesize findings
6. Write to thoughts/shared/research/
7. Present concise summary

Output Location

thoughts/shared/research/YYYY-MM-DD-topic.md

Example Usage

User: "How does the memory service work?"

Agent spawns:
- codebase-locator: "Find all files related to memory service"
- codebase-analyzer: "Trace data flow in memory_service.py"
- codebase-pattern-finder: "Find usage examples of MemoryService"

Synthesizes and writes research document.

What NOT To Do

  • Don't suggest improvements
  • Don't identify "problems"
  • Don't recommend refactoring
  • Don't propose future enhancements
  • Don't evaluate code quality
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. 2d ago First seen · 78 lines · 10 tokens per session scan A 1c87200fc4f8

Subscribe to this mod's changes

research-codebase is an agent published in the GitHub repository parcadei/Continuous-Claude-v3 (3,934 stars, last pushed 7mo ago), licensed MIT. It adds 10 tokens to every session and 422 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.

Related

Other agents, from other repositories

fizzy-tasks

Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.

keskinonur/claude-plugin-fizzy · 39 tokens

project-shipper

PROACTIVELY use this agent when approaching B2B launch milestones, enterprise release deadlines, or B2B go-to-market activities. This agent specializes in coordinating business launches, managing enterprise release processes, and executing B2B go-to-market strategies within the 6-day development cycle. Should be…

ccplugins/awesome-claude-code-plugins · 91 tokens

api-tester

Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n \nContext: Testing API performance under load.

ccplugins/awesome-claude-code-plugins · 54 tokens

app-store-optimizer

Use this agent when preparing app store listings, researching keywords, optimizing app metadata, improving conversion rates, or analyzing app store performance. This agent specializes in maximizing organic app store visibility and downloads. Examples:\n\n \nContext: Preparing for app launch.

ccplugins/awesome-claude-code-plugins · 57 tokens

ai-ethics-governance-specialist

Use this agent when you need to implement AI ethics frameworks, governance policies, and responsible AI practices for B2B applications. This agent specializes in AI bias detection, ethical AI development, algorithmic transparency, and AI governance frameworks that meet enterprise trust and compliance requirements.…

ccplugins/awesome-claude-code-plugins · 65 tokens

api-integration-specialist

Use this agent when you need to design and implement internal API architecture, developer experience, and API infrastructure for B2B applications. This agent specializes in REST API design, GraphQL implementation, API documentation, SDK development, and developer portal creation. Handles API performance optimization…

ccplugins/awesome-claude-code-plugins · 71 tokens