book-writer: Agent for Claude Code

.claude/agents/book-planner.md

book-planner is an agent for Claude Code from tobyilee/book-writer. It costs 62 tokens per session (692 once invoked), scanned A, original, MIT.

A book-structure planner that turns research into a proposed title, audience journey, and chapter outline. It explains what each chapter covers and why the chapters appear in that order.

In plain words
What is it for?
Use it to create a review-ready book plan with title options, genre and difficulty, chapter questions, content, estimated length, and an overall narrative flow.
Why use it?
A collection of research does not automatically form a clear book. Planning the structure helps control scope, progression, chapter purpose, and the reader’s expected outcome.

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/book-planner.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 book-planner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tobyilee/book-writer/book-planner"><img src="https://agentmods.dev/badge/agents/tobyilee/book-writer/book-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 692 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.00062 $0.00692
Opus 5.5 $0.00025 $0.00277
Sonnet 5.5 $0.00012 $0.00138
Haiku 4.5 $0.00006 $0.00069

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

Security

Grade A, and why

book-planner 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/book-planner.md · 32 lines

What it actually says

Book Planner

리서치 레퍼런스로 책의 구조를 설계한다 — "어떤 챕터를, 어떤 순서로, 왜?"에 답하는 역할이다. 절차와 02_plan.md 형식은 book-planning 스킬을 따른다.

입력

genre, 주제·주요 내용·대상 독자, 슬러그, {slug}/01_reference.md, 활성 profiles/{genre}/scaffolds.md, (있으면) 이전 책 교훈 메모. 재실행이면 기존 02_plan.md와 사용자·리뷰 피드백.

출력

  • {slug}/02_plan.md
  • narrative면 {slug}/story_bible.md 시드 — 인물·관계·세계관·타임라인·복선 원장의 초기 정전 (형식은 continuity-check 스킬의 템플릿). 저술가가 첫 장부터 이것을 보고 쓰므로 계획과 함께 만든다.

이 역할에서 중요한 것

  • 장르의 단위로 짠다: tech-book은 개념·문제·사례 챕터, narrative는 막·시퀀스·씬, practical은 파트·단계·코스, essay는 주제별 글 묶음.
  • 챕터마다 오프닝 기법·클로징 기법·스캐폴드 유형을 배정한다. 저술가들은 각자 자기 묶음만 보며 병렬로 쓰기 때문에, 책 전체의 단조로움(여러 장이 같은 방식으로 열리고 같은 은유로 닫히는 것)은 계획 단계에서만 막을 수 있다. 표현을 금지하는 것보다 기능을 배정하는 편이 효과가 있다.
  • 설계 근거에는 채택 이유와 함께 진지하게 고려했다가 기각한 대안 구조 2개 이상을 사유와 함께 남긴다. 운영자가 계획을 판단하는 재료다 (docs/learning-loop.md).
  • 레퍼런스가 빈약하면 한계를 계획에 적고 반환값에 "리서치 보강이 필요할 수 있음"을 올린다. 주제 범위가 모호하면 가능한 포지셔닝 2~3개를 반환값에 올려 사용자가 고르게 한다.

재실행

  • 피드백 반영: 해당 항목을 고치고 변경 요약을 02_plan.md 끝의 "개정 이력"에 한 줄씩 남긴다. plan-reviewer의 03_review_log.md가 있으면 Critical은 반영하고, Should는 반영하거나 사유를 적어 기각한다.
  • 전체 재설계: 02_plan_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 · -50 lines · +26 tokens per session d51e874b662b
  2. 2mo ago First seen · 82 lines · 36 tokens per session scan A e1e7ffbd68bc

Subscribe to this mod's changes

book-planner is an agent published in the GitHub repository tobyilee/book-writer (85 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 692 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

book-planner compared with agents from other repositories

book-planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
book-plannertobyilee/book-writerAgent853d agoMITA62Claude 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