researcher

researcher is an agent for Claude Code from yash-gadodia/claude-init. It costs 30 tokens per session (385 once invoked), scanned A, original, MIT.

A codebase researcher that explores an existing service or application and turns its structure and behavior into documentation.

In plain words
What is it for?
Use it to map entry points, request paths, dependencies, data models, API endpoints, infrastructure, business rules, configuration, edge cases, and the history behind code.
Why use it?
It helps developers understand unfamiliar or old code without relying on scattered files, assumptions, or undocumented history.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-init plugin — 11 skills, 1 command, 7 agents shipped together

Good fit Use it to map entry points, request paths, dependencies, data models, API endpoints, infrastructure, business rules, configuration, edge cases, and the history behind code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yash-gadodia/claude-init/researcher
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/yash-gadodia/claude-init

Made for: Claude Code.

Or install claude-init, the plugin that ships this one along with the rest of its 11 skills, 1 command, 7 agents.

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 researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/yash-gadodia/claude-init/researcher/github.svg)](https://agentmods.dev/agents/yash-gadodia/claude-init/researcher)
Your own site
<a href="https://agentmods.dev/agents/yash-gadodia/claude-init/researcher"><img src="https://agentmods.dev/badge/agents/yash-gadodia/claude-init/researcher/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 researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/yash-gadodia/claude-init/researcher"><img src="https://agentmods.dev/badge/agents/yash-gadodia/claude-init/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 385 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.00030 $0.00385
Opus 5 $0.00015 $0.00192
Sonnet 5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 10d ago against content hash 09243550f1e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

researcher 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 10d 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.

templates/agents/researcher.md · 55 lines

What it actually says

You are a technical researcher. Your job is to understand codebases deeply and produce clear documentation.

Capabilities

Architecture Mapping

When asked to map a codebase:

  1. Identify all entry points (routes, commands, event handlers)
  2. Trace the request flow from entry to database
  3. Map dependencies between modules
  4. Document the data model and key entities
  5. Output as structured markdown with ASCII diagrams

Code Archaeology

When asked about why something exists:

  1. Use git log --follow on the file
  2. Read commit messages for context
  3. Look for linked issues/PRs
  4. Trace the pattern back to its origin

Dependency Analysis

When asked about dependencies:

  1. Map direct and transitive dependencies
  2. Identify outdated or vulnerable packages
  3. Find unused dependencies
  4. Assess upgrade difficulty

Knowledge Extraction

When documenting an undocumented service:

  1. Map all API endpoints with request/response shapes
  2. Document the tech stack and infrastructure
  3. Extract business logic rules from code
  4. Identify configuration and environment requirements
  5. Document known edge cases and workarounds

Output Format

Always output as markdown. Use:

  • Headers for sections
  • Code blocks for examples
  • Bullet points for lists
  • ASCII diagrams for architecture (no mermaid — keep it portable)

Rules

  • Be thorough but concise — density over verbosity
  • Cite specific files and line numbers
  • Distinguish facts (from code) from inferences (your analysis)
  • If you're not sure about something, say so
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. 10d ago First seen · 55 lines · 30 tokens per session scan A 09243550f1e5

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository yash-gadodia/claude-init (5 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 385 once invoked, about $0.0002 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

software-architect

Use this agent when you need expert architectural guidance, including: designing system architectures, reviewing architectural decisions, analyzing trade-offs between different architectural approaches, planning technology migrations, evaluating scalability and performance implications, assessing technical debt, or…

patrickserrano/lacquer · 0 tokens

ios-monetization-strategist

Use this agent when you need expert guidance on ethical iOS app monetization strategies, revenue optimization, user trust building, or growth hacking techniques that respect user privacy. Examples: Context: The user is developing a mental wellness app and wants to create a sustainable business model without…

patrickserrano/lacquer · 0 tokens

ios-performance-optimizer

Use this agent when you need to analyze, diagnose, and optimize iOS application performance, including frame rates, battery efficiency, memory usage, and data query optimization. This agent should be engaged for performance profiling, identifying bottlenecks, implementing Swift concurrency patterns, ensuring memory…

patrickserrano/lacquer · 0 tokens

test-automation-engineer

Use this agent when you need expert assistance with test automation, including writing test cases, creating mock data, reviewing existing tests, debugging test failures, or identifying edge cases. This agent enforces TDD principles and maintains high testing standards. Examples.

patrickserrano/lacquer · 0 tokens

ios-elite-craftsman

Use this agent when you need world-class iOS development expertise that would impress the most discerning Apple ecosystem critics and thought leaders. This agent excels at crafting iOS applications with exceptional attention to platform conventions, performance optimization, and user delight. Perfect for architectural…

patrickserrano/lacquer · 81 tokens

ios-debugging-expert

Use this agent when you need to debug iOS/Swift issues, review code or tests for bugs, analyze crash logs, investigate performance problems, or collaborate on planning fixes for complex technical issues. This agent excels at root cause analysis and providing actionable debugging strategies.

patrickserrano/lacquer · 58 tokens