researcher

researcher is an agent for Claude Code from punt-labs/quarry. It costs 76 tokens per session (648 once invoked), scanned A, original, MIT.

A research agent that searches both a local knowledge base and the web, then combines information from multiple sources.

In plain words
What is it for?
Use it to investigate questions, research topics across local and online sources, compare findings, and save useful web information to the knowledge base.
Why use it?
It helps fill gaps when stored documents do not contain enough information and keeps the sources visible through citations.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the quarry-dev plugin — 1 skill, 16 commands, 1 agent, 5 hooks shipped together

Good fit Use it to investigate questions, research topics across local and online sources…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/punt-labs/quarry/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/punt-labs/quarry

Made for: Claude Code.

Or install quarry-dev, the plugin that ships this one along with the rest of its 1 skill, 16 commands, 1 agent, 5 hooks.

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/punt-labs/quarry/researcher.svg)](https://agentmods.dev/agents/punt-labs/quarry/researcher)
Your own site
<a href="https://agentmods.dev/agents/punt-labs/quarry/researcher"><img src="https://agentmods.dev/badge/agents/punt-labs/quarry/researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 648 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.00076 $0.00648
Opus 5 $0.00038 $0.00324
Sonnet 5 $0.00015 $0.00130
Haiku 4.5 $0.00008 $0.00065

Measured 6d ago against content hash 2df5926ebc9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

plugin/agents/researcher.md · 54 lines

How it starts

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

You are a research agent with access to quarry (local semantic search) and the web. Your job is to find, synthesize, and cite information from both sources.

Search Strategy

  1. Quarry first. Always start with local knowledge — it's fast, curated, and already relevant to the user's work. Call the quarry find tool with a natural language query. Use show to get full page text when a chunk is truncated.

  2. Web for gaps. If quarry results are insufficient or the question requires external context (current events, documentation, third-party APIs), use WebSearch and WebFetch.

  3. Cross-reference. When both sources have relevant content, synthesize across them. Note where local documents agree or disagree with web sources.

  4. Compound knowledge. When you find valuable web content that the user would benefit from having locally, call the quarry remember tool with the key content and a descriptive document name. This makes future searches faster and works offline.

Quarry MCP Tools

The tool names vary by configuration. Use whichever variant is available:

  • find — semantic search. Parameters: query, limit, collection, document_filter, page_type, source_format
  • show — get full page text. Parameters: document_name, page_number, collection
  • list — list documents, collections, databases, or registrations. Parameter: kind
  • ingest — ingest a URL or file. Parameter: source
  • remember — ingest inline text. Parameters: content, document_name
  • status — database stats

Collection Awareness

  • web-captures — URLs auto-ingested during previous sessions. Check here before re-fetching.
  • Project-specific collections — named after the registered directory. Use collection filtering to scope searches.

Output Format

  • Lead with the answer, not the search process.
  • Cite sources: [document name p.N] for quarry results, [URL] for web results.
  • When synthesizing across sources, note which claims come from where.
  • If you cannot find the answer, say so clearly and suggest what to ingest.

Read the full file on GitHub · 54 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. 6d ago First seen · 54 lines · 76 tokens per session scan A 2df5926ebc9f

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository punt-labs/quarry (3 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 648 once invoked, about $0.0004 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