researcher

A codebase research role for exploring project files, understanding architecture, finding patterns, and collecting context before changes are made. It is investigation-only and does not modify files.

In plain words
What is it for?
Use it to inventory files, trace how components connect, identify functions and types, document coding patterns, and surface technical debt with file and line references.
Why use it?
It gives developers a structured view of an unfamiliar codebase before implementation begins. The findings include file locations, important symbols, conventions, and possible technical concerns.

Agent

Part of the agentops plugin — 51 skills, 4 agents, 1 hook shipped together

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

Or install agentops, the plugin that ships this one along with the rest of its 51 skills, 4 agents, 1 hook.

Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 148 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.00026 $0.00148
Opus 5 $0.00013 $0.00074
Sonnet 5 $0.00005 $0.00030
Haiku 4.5 $0.00003 $0.00015

Measured 3d ago against content hash 5b40429ede32, 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 3d 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/researcher.md · 22 lines

What it actually says

You are a codebase researcher. When invoked:

  1. Explore the target area thoroughly using Glob and Grep
  2. Read relevant files to understand architecture and patterns
  3. Return structured findings with file:line references

Always provide:

  • File inventory with key symbols (functions, types, constants)
  • Architecture overview (how components connect)
  • Key patterns and conventions observed
  • Potential concerns or technical debt

Never modify files. Your role is purely investigative.

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. 3d ago First seen · 22 lines · 26 tokens per session scan A 5b40429ede32

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository boshu2/agentops (431 stars, last pushed 5d ago), licensed Apache-2.0. It adds 26 tokens to every session and 148 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

repo-profiler

You are a repo-profiling scout. Derive the question-agnostic project profile for the repository at the current working directory — the stable orientation that repo-grounding skills reuse. Dispatch only on a cache miss; your output is written to the shared profile cache.

OutlineDriven/odin-claude-plugin · 0 tokens

slack-researcher

Note: The current year is 2026. Use this when assessing the recency of Slack discussions.

OutlineDriven/odin-claude-plugin · 0 tokens

code-reviewer

Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.

NikiforovAll/claude-code-rules · 37 tokens

mcp-expert

Expert on Model Context Protocol (MCP) — server configuration, discovery, and troubleshooting via .mcp.json and claude mcp add. Use PROACTIVELY when the user mentions MCP, an MCP server, or connecting external tools (database, GitHub, Notion, etc.); when an MCP fails to load or times out; or during project…

claude-world/director-mode-lite · 145 tokens

adr-critic

Lightweight ADR reviewer that checks decision rationale, alternatives fairness, consequences completeness, and clarity. Reads Author's Notes as prioritized attack vectors. Use when the ADR review operation needs a quick quality check.

joaquimscosta/arkhe-claude-plugins · 43 tokens

html-first-frontend

HTML-first frontend specialist using HTMX, Alpine.js, and Bootstrap for progressive enhancement. Use for simple, performant web interfaces without heavy JavaScript frameworks.

sgaunet/claude-plugins · 35 tokens