research-codebase

research-codebase is an agent for Claude Code from parcadei/Continuous-Claude-v3. It costs 10 tokens per session (422 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to document project structure, components, behavior, and recurring implementation patterns, with file and line references.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/parcadei/continuous-claude-v3/research-codebase
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,945 stars · on GitHub

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/parcadei/Continuous-Claude-v3

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 research-codebase

README.md
[![agentmods](https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/research-codebase/github.svg)](https://agentmods.dev/agents/parcadei/continuous-claude-v3/research-codebase)
Your own site
<a href="https://agentmods.dev/agents/parcadei/continuous-claude-v3/research-codebase"><img src="https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/research-codebase/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 research-codebase

Your own site · 80×15
<a href="https://agentmods.dev/agents/parcadei/continuous-claude-v3/research-codebase"><img src="https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/research-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00010 $0.00422
Opus 5.5 $0.00004 $0.00169
Sonnet 5.5 $0.00002 $0.00084
Haiku 4.5 $0.00001 $0.00042

Measured 1mo ago against content hash 1c87200fc4f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.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. 1mo 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,945 stars, last pushed 8mo ago), licensed MIT. It adds 10 tokens to every session and 422 once invoked, about $0.0000 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-30.