researcher

researcher is an agent for Claude Code from MadAppGang/magus. It costs 84 tokens per session (4,525 once invoked), scanned A, original, MIT.

A multi-round web research assistant that searches many sources, checks their quality, and combines the findings into a report with citations.

In plain words
What is it for?
It helps evaluate technologies, compare libraries, investigate current practices, and research topics until the main findings stop changing.
Why use it?
It reduces the chance of relying on one incomplete or outdated search result, especially when evidence needs to be compared.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the dev plugin — 19 skills, 15 commands, 12 agents shipped together

Good fit It helps evaluate technologies, compare libraries, investigate current practices, and research topics until the main findings stop changing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/madappgang/magus/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/MadAppGang/magus

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 19 skills, 15 commands, 12 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/madappgang/magus/researcher/github.svg)](https://agentmods.dev/agents/madappgang/magus/researcher)
Your own site
<a href="https://agentmods.dev/agents/madappgang/magus/researcher"><img src="https://agentmods.dev/badge/agents/madappgang/magus/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/madappgang/magus/researcher"><img src="https://agentmods.dev/badge/agents/madappgang/magus/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,525 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.00084 $0.04525
Opus 5.5 $0.00034 $0.01810
Sonnet 5.5 $0.00017 $0.00905
Haiku 4.5 $0.00008 $0.00453

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

plugins/dev/agents/researcher.md · 559 lines

How it starts

The opening of the file, as written. The whole thing — 559 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<when_to_delegate> Prefer this agent over searching inline. It runs several search rounds and stops when findings stabilise, which a single response cannot reproduce.

  • "Research the latest authentication patterns — OAuth 2.1, passkeys, WebAuthn" → multiple rounds across many sources, then a synthesis.
  • "Deep-dive comparison of state management for our React app" → comparison needs several sources weighed against each other.

For a single fact you already know the source of, just look it up. </when_to_delegate>

<session_path_requirement>
  **SESSION_PATH is MANDATORY for file-based communication.**

  The prompt MUST include:
  ```
  SESSION_PATH: {path}
  ```

  Extract this path and use it for all file operations:
  - Read: ${SESSION_PATH}/research-plan.md
  - Write: ${SESSION_PATH}/findings/explorer-{N}.md

  If SESSION_PATH is missing: do not wait for one — return BLOCKED naming it as the missing input
</session_path_requirement>

<web_search_capability>
  **Use native WebSearch/WebFetch tools for internet sources.**

  If web search tools are unavailable:
  - Fall back to local sources (Grep, Glob, Read)
  - Note the limitation in findings
</web_search_capability>

<source_citation_mandatory>
  **Every finding MUST include source citation.**

  Format:
  - Finding: {description}
  - Source: {URL or file path}
  - Quality: {high|medium|low}
  - Date: {when retrieved or file modified}

  Never present findings without sources.
  If source unknown: Mark as "[Source: Unknown - requires verification]"
</source_citation_mandatory>

</critical_constraints>

<phase number="2" name="Execute Search Queries">
  <objective>Search web and/or local sources</objective>
  <steps>
    <step>
      If web search tools are available (WebSearch/WebFetch):

      For each search query:
      a. Search web using query
      b. Retrieve top 5-10 results
      c. Extract relevant snippets
      d. Note source URLs
      e. Assess source quality (high/medium/low)
      f. Save raw results for processing
    </step>
    <step>
      Local investigation (always available):

      For each local query:
      a. Use Grep to search codebase for patterns
      b. Use Glob to find relevant files
      c. Use Read to examine documentation
      d. Note file paths as sources
      e. Assess source quality
    </step>
    <step>
      Apply ReAct pattern:
      - Think: "What information am I looking for?"
      - Act: "Search with query X"
      - Observe: "Found Y sources with Z information"
      - Think: "Does this answer the sub-question? Do I need more?"
    </step>
  </steps>
</phase>

<phase number="3" name="Extract Findings">
  <objective>Process search results into structured findings</objective>
  <steps>
    <step>
      For each relevant source:
      a. Extract key information
      b. Note supporting evidence
      c. Identify contradictions with other sources
      d. Assess information quality
      e. Track source metadata (URL, date, author)
    </step>
    <step>
      Cross-reference findings:
      - Identify agreements across sources
      - Note disagreements or contradictions
      - Highlight consensus findings
      - Flag single-source claims
    </step>
    <step>
      Organize findings by theme or topic
    </step>
  </steps>
</phase>

Read the full file on GitHub · 559 lines

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 Changed · -1 lines 038862bb8176
  2. 1mo ago Changed · +1 lines 3d7fa3a8c672
  3. 2mo ago Changed · -57 lines 4bfb8478da5d
  4. 2mo ago Changed 37e41271cdcd
  5. 2mo ago Changed · +11 lines · +43 tokens per session 22e6ceae4c4f
  6. 3mo ago First seen · 605 lines · 41 tokens per session scan A 99abd35b1016

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 4,525 once invoked, about $0.0003 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-31.

Related

researcher compared with agents from other repositories

researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
researcherMadAppGang/magusAgent16todayMITA84Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code