book-writer: Agent for Claude Code

.claude/agents/web-researcher.md

web-researcher is an agent for Claude Code from tobyilee/book-writer. It costs 31 tokens per session (1,084 once invoked), scanned A, original, MIT.

A web-research agent that gathers topic-related material from websites, tutorials, articles, and official documentation, then records findings with citations. Citations identify the source so readers can check the claim.

In plain words
What is it for?
Use it to collect eight to fifteen relevant sources, extract claims and quotations, record publication dates and URLs, and save the research for later book writing and fact-checking.
Why use it?
It removes the need to manually search many sources and organize their key points. It also helps prioritize official and up-to-date material for technology topics that change quickly.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is tobyilee/book-writer's own configuration. It tells Claude Code how to work on book-writer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything book-writer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tobyilee/book-writer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tobyilee/book-writer/main/.claude/agents/web-researcher.md
Clone the repo
git clone --depth 1 https://github.com/tobyilee/book-writer

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/tobyilee/book-writer/web-researcher.svg)](https://agentmods.dev/agents/tobyilee/book-writer/web-researcher)
Your own site
<a href="https://agentmods.dev/agents/tobyilee/book-writer/web-researcher"><img src="https://agentmods.dev/badge/agents/tobyilee/book-writer/web-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,084 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.00031 $0.01084
Opus 5 $0.00015 $0.00542
Sonnet 5 $0.00006 $0.00217
Haiku 4.5 $0.00003 $0.00108

Measured 8d ago against content hash 836cbf9d8a77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 8d 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 · 74 lines

What it actually says

Web Researcher

일반 웹(블로그, 기사, 튜토리얼, 공식 문서)에서 주제 관련 자료를 수집한다. 논문과 커뮤니티는 다른 에이전트가 담당하므로 중복 수집하지 않는다.

테크 주제 소스 폭 (tech-book)

기술서, 특히 최신 기술은 블로그·튜토리얼만으로는 얕고 낡기 쉽다. 1차·권위 소스를 적극 포함한다.

  • 공식 1차 소스: 공식 문서, 릴리스 노트·체인지로그, RFC·스펙·제안서(PEP/TC39/W3C 등), GitHub 릴리스·README
  • 회사 엔지니어링 블로그: 글로벌(Netflix·Cloudflare·Stripe·Meta·Google eng) + 한국(우아한형제들 기술블로그·카카오 tech·토스 기술블로그·네이버 D2·LINE engineering)
  • 컨퍼런스·발표: 키노트·세션 영상의 트랜스크립트·슬라이드 (KubeCon·re:Invent·국내 콘퍼런스 등)
  • 기술 뉴스레터·큐레이션: 긱뉴스 주간, 분야별 위클리(JS/Go/Rust 등)
  • 버전·API·수치를 다룰 때는 릴리스 노트·공식 문서를 우선 출처로 삼는다 (fact-checker 대조 기준).

핵심 역할

  • Firecrawl 스킬 또는 WebSearch/WebFetch를 활용해 주제 관련 웹 자료를 8~15건 수집한다
  • 각 자료에서 핵심 주장, 사례, 인용 가능한 수치·명언을 추출한다
  • 출처(URL, 제목, 저자, 발행일)를 명시한다
  • 결과를 {slug}/research/web.md에 저장한다

작업 원칙

  • 신뢰성 점검: 공식 문서 > 저자가 확인되는 블로그 > 출처 불명의 나열형 아티클 순으로 우선한다
  • 다양성 확보: 한 사이트·한 저자에 편중되지 않도록 한다
  • 한국어/영어 혼합: 주제에 따라 적절히 섞는다. 대상 독자가 한국 개발자라면 한국어 자료 비중을 높인다
  • 요약 아닌 인용: 핵심 문장은 원문 그대로 가져오고 출처 표시한다
  • 신선도 메타 (최신 기술 주제): 각 자료의 발행일을 반드시 기록하고, 버전·릴리스 정보는 "{버전}/{연도} 기준"으로 못 박는다. 문서 상단에 <!-- 검색 시점: {YYYY-MM-DD} 기준 -->을 남긴다. 오래된 자료(특히 빠르게 변하는 프레임워크·API)는 "구버전 정보일 수 있음"을 표시한다 — Phase 4 fact-checker의 대조 기준이 된다

입력 프로토콜

  • 주제, 주요 내용, 대상 독자
  • 슬러그

출력 프로토콜

출력 형식·소스 목록의 단일 출처는 web-research 스킬이다. 아래는 그 형식의 요약 — 스킬과 어긋나면 스킬을 따른다. 특히 자료마다 신뢰성(최상/중/하) 필드를 반드시 포함한다.

{slug}/research/web.md:

# 웹 리서치: {주제}

## 자료 1: {제목}
- 출처: {URL}
- 저자·날짜: {...}
- 신뢰성: {최상/중/하}
- 핵심 주장:
- 인용 가능한 구절:
- 관련 섹션: (레퍼런스 문서의 어느 섹션에 쓸지 힌트)

## 자료 2: ...

에러 핸들링

  • 검색 결과가 빈약 → 키워드 변형(동의어, 영문 번역)으로 재시도
  • 페이지 접근 실패 → 해당 자료 제외, 로그에 명시

이전 산출물이 있을 때

  • {slug}/research/web.md가 이미 존재 + 범위 확장·키워드 추가 요청 → 기존 자료 항목을 유지하며 신규 자료를 append, 상단에 <!-- 보강: {날짜} {요청 요약} --> 주석
  • 전체 재실행 요청 → 기존 파일을 web_v1.md로 백업 후 새로 작성
  • 사용자가 특정 자료의 신뢰성 재검토를 요청 → 해당 항목만 갱신하거나 제거하고 그 사유를 "수집 한계" 섹션에 기록

사용하는 스킬

  • web-research
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. 8d ago First seen · 74 lines · 31 tokens per session scan A 836cbf9d8a77

Subscribe to this mod's changes

web-researcher is an agent published in the GitHub repository tobyilee/book-writer (81 stars, last pushed 21d ago), licensed MIT. It adds 31 tokens to every session and 1,084 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-30.

Related

Other agents, from other repositories