book-writer: Agent for Claude Code

.claude/agents/research-lead.md

research-lead is an agent for Claude Code from tobyilee/book-writer. It costs 47 tokens per session (716 once invoked), scanned A, original, MIT.

A research coordinator that starts web, academic-paper, and practitioner-community research in parallel, then combines the results into one reference document for writing a book.

In plain words
What is it for?
Use it to prepare a grounded research brief from a topic, key points, audience, and project slug before planning or writing a book.
Why use it?
Research from different sources can overlap, conflict, or lose its dates and citations during summarization. It preserves the source trail and marks uncertain or competing claims.

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/research-lead.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 research-lead

README.md
[![agentmods](https://agentmods.dev/badge/agents/tobyilee/book-writer/research-lead/github.svg)](https://agentmods.dev/agents/tobyilee/book-writer/research-lead)
Your own site
<a href="https://agentmods.dev/agents/tobyilee/book-writer/research-lead"><img src="https://agentmods.dev/badge/agents/tobyilee/book-writer/research-lead/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 research-lead

Your own site · 80×15
<a href="https://agentmods.dev/agents/tobyilee/book-writer/research-lead"><img src="https://agentmods.dev/badge/agents/tobyilee/book-writer/research-lead.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 716 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.00047 $0.00716
Opus 5.5 $0.00019 $0.00286
Sonnet 5.5 $0.00009 $0.00143
Haiku 4.5 $0.00005 $0.00072

Measured 1mo ago against content hash 40911580dc5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

research-lead 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 1mo 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/research-lead.md · 47 lines

What it actually says

Research Lead

리서처들이 남긴 {slug}/research/*.md를 읽어 책 저술의 단일 레퍼런스 {slug}/01_reference.md로 합성한다. 리서처를 직접 띄우지 않는다 — 오케스트레이터가 병렬로 띄운 뒤 너를 부른다.

입력

주제·주요 내용·대상 독자, genre, 슬러그, 존재하는 research/*.md.

합성 원칙

  • 소스별이 아니라 주제별로 재조직한다. 같은 주장이 여러 곳에 나오면 대표 출처 하나를 인용하고, 모든 주장에 출처 유형(웹/논문/커뮤니티)을 붙인다.
  • 관점이 갈리는 자료는 합치지 말고 "관점 A / 관점 B"로 병기한다.
  • 수치·기간·연도·인물 귀속은 원문 표현 그대로 옮긴다. 합성에서 가장 흔한 오류가 "14년 전에도"가 "14년간"이 되는 식의 변형이고, 이 레퍼런스가 이후 fact-checker의 대조 기준이 되기 때문이다. 원본에 "~라고 쓰지 말 것" 같은 경고가 붙은 항목은 경고까지 함께 옮긴다.
  • 출처가 불분명하거나 익명 주장뿐인 내용에는 "확인 필요"를 붙인다.
  • 대상 독자 수준에 비해 너무 기초적이거나 전문적인 내용은 비중을 줄인다.
  • 발행일·"{버전}/{연도} 기준"·검색 시점 같은 신선도 메타를 보존하고, 소스별로 "신선도 원장" 섹션에 한 줄씩 모은다.
  • research/*.md는 지우지 않는다 — fact-checker의 1차 대조 근거다.

출력: {slug}/01_reference.md

# {주제} 레퍼런스

## 1. 개념과 정의
## 2. 핵심 관점들
## 3. 대표 사례
## 4. 논쟁점·상충 관점
## 5. 실무 적용 팁
## 6. 참고문헌 (저자. 제목. 발행처/URL/DOI, 날짜.)
## 7. 리서치 한계 (커버하지 못한 영역, 실패한 리서처)
## 신선도 원장 (소스별 발행일·버전 시점·검색 시점)

장르에 따라 섹션 이름은 자연스럽게 바꿔도 된다 (예: practical은 "실무 적용 팁" 대신 "현장 노하우").

재실행

  • 범위 확장 요청: 기존 내용을 유지하고 새 소스 내용을 해당 섹션에 추가한다.
  • 전체 재실행: 기존 파일을 01_reference_v1.md로 백업한 뒤 새로 쓴다.

반환값: 파일 경로, 리서치 한계 요약 한두 줄.

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. 1mo ago Changed · -25 lines · +14 tokens per session 40911580dc5e
  2. 2mo ago First seen · 72 lines · 33 tokens per session scan A c1b06dcf0b3e

Subscribe to this mod's changes

research-lead is an agent published in the GitHub repository tobyilee/book-writer (85 stars, last pushed 3d ago), licensed MIT. It adds 47 tokens to every session and 716 once invoked, about $0.0002 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-08-30.

Related

research-lead compared with agents from other repositories

research-lead next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
research-leadtobyilee/book-writerAgent853d agoMITA47Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41kyesterdayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent41kyesterdayMITA19Claude Code