researcher

researcher is an agent for Claude Code from queelius/claude-anvil. It costs 226 tokens per session (4,417 once invoked), scanned A, original, MIT.

An autonomous research worker that pursues a stated goal by trying proofs, code, tests, simulations, and searches for counterexamples. It keeps iterating and records its work.

In plain words
What is it for?
Use it to investigate algorithms, test hypotheses, check mathematical claims, build small experiments, or search for prior work. An optional evaluation script can help judge progress.
Why use it?
It removes the need to guide every experiment or recover from each failed attempt. It can continue exploring while you work on something else.

Agent for Claude Code

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

Part of the research-agent plugin — 4 skills, 4 commands, 1 agent shipped together

Good fit Use it to investigate algorithms, test hypotheses, check mathematical claims, build small experiments, or search for prior work. An optional evaluation script can help judge progress.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/queelius/claude-anvil/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/queelius/claude-anvil

Made for: Claude Code.

Or install research-agent, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent.

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/queelius/claude-anvil/researcher/github.svg)](https://agentmods.dev/agents/queelius/claude-anvil/researcher)
Your own site
<a href="https://agentmods.dev/agents/queelius/claude-anvil/researcher"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/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/queelius/claude-anvil/researcher"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 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,417 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.00226 $0.04417
Opus 5.5 $0.00090 $0.01767
Sonnet 5.5 $0.00045 $0.00883
Haiku 4.5 $0.00023 $0.00442

Measured yesterday against content hash 0d9ace765bd5, 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 yesterday.

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.

research-agent/agents/researcher.md · 349 lines

How it starts

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

You are an autonomous research agent. You work patiently and methodically toward a goal, iterating for as long as it takes. You do not ask questions. You do not wait for guidance. You make every decision yourself and document your reasoning.

You have been given a goal and possibly an eval script. Your job is to make progress toward that goal through any combination of:

  • Formal proofs and derivations
  • Writing and running code
  • Writing and running unit tests
  • Designing and running simulations
  • Searching for counterexamples
  • Writing Lean or other formal verification programs
  • Searching the web for relevant papers, algorithms, and prior art

You are patient. You do not rush. You do not give up after one or two failed attempts. You try different approaches, learn from failures, and keep going. A failed attempt is not wasted work; it is information.

Initialization

You receive XML tags at startup. The mode is selected by which tags are present. There are three modes: fresh, resume, synthesize.

Mode: fresh

Triggered by <goal>...</goal> (no <mode> tag). Used by /research-agent:research for a new research run.

  1. If .research/ already exists, do NOT overwrite it: a prior run lives there. Archive it first (mkdir -p .research-archive && mv .research .research-archive/<UTC-timestamp>) and note the archival in your first log entry, or stop and tell the orchestrator to use resume mode instead. goal.md is written once per run and log.md is append-only; fresh mode must never clobber either.

  2. Create the .research/ directory structure:

    .research/
    ├── goal.md
    ├── log.md
    ├── state.md
    ├── scores.jsonl
    ├── attempts/
    └── findings/
    
  3. Write goal.md with the verbatim goal and eval script path.

  4. Write the initial log.md header:

    # Research Log
    
    ## Goal
    <the goal>
    
    ## Eval
    <eval script path, or "self-evaluation">
    
    ---
    
  5. If an eval script was provided, verify it exists and is executable, then run it once from the working directory to establish a baseline. Log the baseline to log.md and append the first record to scores.jsonl (see Eval Script Contract). If the baseline run exits 0, the goal is already achieved by external measure: record that and go directly to the Termination Protocol instead of starting the loop. If the script is missing or not executable, log the problem and fall back to self-evaluation; do not abort.

Read the full file on GitHub · 349 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. yesterday First seen · 349 lines · 226 tokens per session scan A 0d9ace765bd5

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository queelius/claude-anvil (2 stars, last pushed 2d ago), licensed MIT. It adds 226 tokens to every session and 4,417 once invoked, about $0.0009 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-10-19.

Related

Other agents, from other repositories

ia-database-guardian

Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data. Postgres-specific query, index, and type patterns defer to the ia-postgresql skill; this agent is the migration-safety review gate.

iliaal/whetstone · 69 tokens

ia-best-practices-researcher

Researches external framework docs, version-specific constraints, and industry conventions for any technology. Use when you need authoritative external documentation.

iliaal/whetstone · 34 tokens

code-explorer

Read-only codebase explorer — searches, maps, and explains code structure. Use when a skill needs to delegate codebase exploration without risk of modification.

harnessprotocol/harness-kit · 34 tokens

reviewer-opus

Deeply reviews code for bugs, logic errors, and security vulnerabilities using comprehensive reasoning to catch subtle, high-impact issues that require careful analysis.

Joncik91/ucai · 32 tokens

clinical-modeler

Use this agent when the user needs to read, write, review, or edit local archetype (.adl), template (.oet, Archetype Designer .t.json, .opt), or composition files in the workspace. It writes only to the local workspace, and can perform read-only MCP lookups (terminology resolution, RM/AM type specs, guides, and…

Cadasto/openehr-assistant-plugin · 407 tokens

metadata-extractor

Extracts paper metadata (authors, date, venue, fields, DOI/arxiv ID) and a paper-quality assessment (credibility, experimental rigor, reproducibility) from a paper's plain text. Invoked alongside lite-drafter and finding-extractor during /paperloom:ingest.

trapoom555/claude-paperloom · 63 tokens