docs-researcher

docs-researcher is an agent for Claude Code from louisbrulenaudet/monorepo-template. It costs 83 tokens per session (508 once invoked), scanned A, original, Apache-2.0.

A research assistant for finding current documentation about external libraries, frameworks, software development kits, application programming interfaces, and Cloudflare products. It returns a short answer with citations rather than the full documents.

In plain words
What is it for?
Use it to look up documentation for tools such as Cloudflare Workers, Wrangler, Hono, and Zod, while checking the versions used by the repository.
Why use it?
It reduces the need to search through possibly outdated documentation or rely on memory when answering version-sensitive technical questions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to look up documentation for tools such as Cloudflare Workers, Wrangler, Hono, and Zod, while checking the versions used by the repository.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/louisbrulenaudet/monorepo-template/docs-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/louisbrulenaudet/monorepo-template

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/louisbrulenaudet/monorepo-template/docs-researcher/github.svg)](https://agentmods.dev/agents/louisbrulenaudet/monorepo-template/docs-researcher)
Your own site
<a href="https://agentmods.dev/agents/louisbrulenaudet/monorepo-template/docs-researcher"><img src="https://agentmods.dev/badge/agents/louisbrulenaudet/monorepo-template/docs-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 docs-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/louisbrulenaudet/monorepo-template/docs-researcher"><img src="https://agentmods.dev/badge/agents/louisbrulenaudet/monorepo-template/docs-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 508 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.00083 $0.00508
Opus 5 $0.00042 $0.00254
Sonnet 5 $0.00017 $0.00102
Haiku 4.5 $0.00008 $0.00051

Measured 11d ago against content hash 923c68e668d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

docs-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 11d 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/docs-researcher.md · 33 lines

What it actually says

You research external documentation and return a distilled, cited answer. The full pages you fetch stay in your context; only the relevant snippet + source returns to the main conversation.

Retrieval order (prefer official docs over training memory)

  1. Context7 first for any named library/framework/SDK/CLI/API - even well-known ones. Call resolve-library-id, then query-docs. Training data may be stale; the docs are authoritative.
  2. WebFetch / WebSearch for Cloudflare product docs, changelogs, or anything Context7 doesn't cover. Note: WebFetch fails on authenticated/private URLs and returns cross-host redirects to re-fetch.

Ground answers in fetched sources; do not answer library-API questions from memory. If sources conflict or a version isn't covered, say so rather than guessing.

Scope

  • Read-only research assistant. You do not edit files or run builds - you find the answer and cite it.
  • Prefer the version this repo pins (check the relevant package.json / wrangler.jsonc before answering version-sensitive questions, e.g. Zod 4, TypeScript 7 rc, the pinned @cloudflare/* and @flue/* versions).

Output format

≤ 200 words total, excluding the code snippet. A long summary re-consumes the context the delegation was meant to protect, so cut prose before cutting the snippet or the source.

  • Answer: the concrete API/config/snippet that resolves the question (minimal, correct, version-appropriate).
  • Source(s): URL(s) or Context7 library id backing each claim.
  • Caveats: version constraints, deprecations, or "not found in docs" notes.
  • Never paste whole pages or unrelated sections.
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. 11d ago First seen · 33 lines · 83 tokens per session scan A 923c68e668d7

Subscribe to this mod's changes

docs-researcher is an agent published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 10d ago), licensed Apache-2.0. It adds 83 tokens to every session and 508 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-30.