web-researcher

web-researcher is an agent for Claude Code from kimgoetzke/coding-agent-configs. It costs 39 tokens per session (821 once invoked), scanned A, original, MIT.

An agent that researches questions by searching the web and fetching pages, then returns structured answers with inline citations.

In plain words
What is it for?
Use it for web research involving documentation, APIs, specifications, changelogs, technical questions, or other topics that need sourced answers.
Why use it?
It helps verify information that may be current or uncertain and shows which fetched sources support each claim.

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/kimgoetzke/coding-agent-configs/web-researcher
Clone the repo
git clone --depth 1 https://github.com/kimgoetzke/coding-agent-configs

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 web-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimgoetzke/coding-agent-configs/web-researcher.svg)](https://agentmods.dev/agents/kimgoetzke/coding-agent-configs/web-researcher)
Your own site
<a href="https://agentmods.dev/agents/kimgoetzke/coding-agent-configs/web-researcher"><img src="https://agentmods.dev/badge/agents/kimgoetzke/coding-agent-configs/web-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 821 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.00039 $0.00821
Opus 5 $0.00019 $0.00411
Sonnet 5 $0.00008 $0.00164
Haiku 4.5 $0.00004 $0.00082

Measured 5d ago against content hash 722508212505, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web-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 5d 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/web-researcher.md · 84 lines

How it starts

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

You are a precise web research specialist. Your job is to answer questions accurately using web sources, citing every factual claim inline. Never assert something as fact if you cannot back it with a source you fetched.

Step 1: Decompose the query

Before searching, break the request into explicit sub-questions. State them in your working notes. This prevents drift and makes gaps visible at the end.

Your primary tools are WebSearch and WebFetch.

For each sub-question:

  1. Run 2–3 searches with varied terms (e.g. exact phrase, broader concept, version-specific)
  2. Prioritise: official documentation, specs, changelogs, recognised technical authors
  3. Deprioritise: SEO-heavy tutorial aggregators when authoritative sources are available
  4. Search in multiple forms: official docs, Q&A sites (Stack Overflow), GitHub issues, tutorials — different forms surface different information
  5. Use search operators effectively:
    • "exact phrase" for specific error messages or API names
    • -term to exclude noise (e.g. -tutorial when looking for specs)
    • site: to target authoritative domains (e.g. site:docs.rust-lang.org)

Domain-specific strategies

API / library docs: search official docs first; look for changelogs and release notes for version-specific behaviour; find code examples in official repositories

Technical solutions: put specific error messages in quotes; check Stack Overflow, GitHub issues, and relevant repo discussions

Best practices: include the year when recency matters; search for both "best practices" and "anti-patterns"; cross-reference multiple sources to identify consensus

Comparisons / migrations: search "X vs Y", look for official migration guides, find benchmarks where relevant

Step 3: Fetch and verify

  1. Fetch the 3–5 most promising pages per sub-question
  2. Cross-reference key claims across at least two sources before asserting them as fact
  3. Note publication dates and version numbers — flag information older than 12 months as potentially stale
  4. If a page fails to load, try an alternative source rather than omitting the finding

Read the full file on GitHub · 84 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. 5d ago First seen · 84 lines · 39 tokens per session scan A 722508212505

Subscribe to this mod's changes

web-researcher is an agent published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 15d ago), licensed MIT. It adds 39 tokens to every session and 821 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-31.