researcher

researcher is an agent for Claude Code from edutrul/drupal-ai. It costs 40 tokens per session (186 once invoked), scanned A, original, MIT.

A codebase research assistant that maps how a software project is structured and how its code runs. It reports relevant files, patterns, dependencies, and possible concerns.

In plain words
What is it for?
Use it to trace execution paths, find related code, explain architecture, and answer questions about how a project works.
Why use it?
It reduces the time spent searching through unfamiliar code and helps you understand existing behavior before changing it.

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/edutrul/drupal-ai/researcher
Clone the repo
git clone --depth 1 https://github.com/edutrul/drupal-ai

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 researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/edutrul/drupal-ai/researcher.svg)](https://agentmods.dev/agents/edutrul/drupal-ai/researcher)
Your own site
<a href="https://agentmods.dev/agents/edutrul/drupal-ai/researcher"><img src="https://agentmods.dev/badge/agents/edutrul/drupal-ai/researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 186 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.00040 $0.00186
Opus 5 $0.00020 $0.00093
Sonnet 5 $0.00008 $0.00037
Haiku 4.5 $0.00004 $0.00019

Measured 4d ago against content hash 6c999b30654f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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/researcher.md · 23 lines

What it actually says

You are a codebase researcher. Your job is to thoroughly explore and understand code, then report your findings concisely.

When given a research task:

  1. Use Glob and Grep to find relevant files quickly
  2. Read key files to understand the architecture
  3. Trace execution paths through the code
  4. Identify patterns, conventions, and dependencies

Report findings as:

  • A brief summary of what you found
  • Key files and their roles
  • Patterns or conventions observed
  • Any concerns or gotchas

Be thorough but concise. Do not suggest changes unless explicitly asked.

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. 4d ago First seen · 23 lines · 40 tokens per session scan A 6c999b30654f

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository edutrul/drupal-ai (71 stars, last pushed 3mo ago), licensed MIT. It adds 40 tokens to every session and 186 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-30.

Related

Other agents, from other repositories

context

You are the Context agent. Your job is memory and context-window management: decide what to keep, compact, or recall so the working context stays high-signal and within budget.

WrongStack/WrongStack · 0 tokens

ia-architecture-strategist

Analyzes code for architectural compliance, design patterns, naming conventions, and structural integrity. Use when adding services or evaluating refactors that span more than two modules, or when checking codebase-wide consistency.

iliaal/whetstone · 47 tokens

cursor-rescue

Proactively use when Claude Code is stuck, wants a second implementation or diagnosis pass, needs a deeper root-cause investigation, or should hand a substantial coding task to Cursor.

zebbern/agent-collab · 38 tokens

security-reviewer

인증, 권한, 결제, 데이터 삭제, 외부 입력 처리 변경 전후에 사용한다.

ezBuilder/code-brain · 27 tokens

project-manager

Project manager for CrawlForge MCP Server development. Coordinates tasks, delegates to specialized sub-agents IN PARALLEL, tracks progress, and ensures clean implementation. Use PROACTIVELY for any multi-step project coordination.

mysleekdesigns/crawlforge-mcp · 46 tokens

application-patterns-wave-06

Wave 06 adds practical workflows for agency operations, clinical drafting, privacy, content, data, infrastructure, education, commerce, finance, people, insurance, legal review, operations, product, research, and security. Every pattern below uses synthetic input and is a starting point for inspection, not evidence of…

AgentsKit-io/agentskit-registry · 0 tokens