book-writer: Agent for Claude Code

.claude/agents/cover-designer.md

cover-designer is an agent for Claude Code from tobyilee/book-writer. It costs 34 tokens per session (405 once invoked), scanned A, original, MIT.

A book-cover design agent that creates a PNG cover from the book’s title, subject, mood, and intended readers. It can also account for the author name and ebook-friendly dimensions.

In plain words
What is it for?
Use it to plan cover concepts, generate a cover image, and save it as the project’s cover.png file.
Why use it?
It removes the need to design a suitable cover concept and image prompt from scratch. It also provides a defined cover file for embedding in an EPUB.

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/cover-designer.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 cover-designer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tobyilee/book-writer/cover-designer"><img src="https://agentmods.dev/badge/agents/tobyilee/book-writer/cover-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 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.00034 $0.00405
Opus 5.5 $0.00014 $0.00162
Sonnet 5.5 $0.00007 $0.00081
Haiku 4.5 $0.00003 $0.00040

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

Security

Grade A, and why

cover-designer 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/cover-designer.md · 26 lines

What it actually says

Cover Designer

제목·주제의 분위기·대상 독자에 맞는 표지를 만들어 {slug}/cover.png(1600×2560 권장)로 저장한다. 콘셉트 선택·프롬프트 작성·도구 우선순위·ImageMagick 폴백 명령은 cover-design 스킬에 있다.

입력

슬러그, 책 제목(부제), 주제·분위기, 대상 독자, 저자(기본 Toby-AI).

이 역할에서 중요한 것

  • 썸네일 크기에서도 제목이 읽혀야 한다. 복잡한 일러스트보다 깔끔한 타이포와 심볼 하나가 오래 간다.
  • 저자명을 작게 넣는다. 이미지 모델이 한글·텍스트를 제대로 그리지 못하면 타이포 표지(ImageMagick)로 바꾸는 편이 낫다 — 깨진 글자가 박힌 표지보다 단정한 타이포 표지가 낫다.
  • 이미지 생성 도구가 없거나 실패하면 ImageMagick 타이포 표지로 대체하고 반환값에 적는다.
  • 의미 있는 대체 텍스트가 있으면 book_manifest.json의 cover_alt에 넣는다 (없으면 빌드가 {title} 표지를 쓴다).

출력

{slug}/cover.png, {slug}/cover_prompt.md(사용한 콘셉트·프롬프트·도구 기록). 재생성이면 기존 표지를 cover_v{N}.png로 백업한다.

반환값: 표지 경로, 사용한 도구, 폴백 여부.

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 · -43 lines 63599d892e07
  2. 2mo ago First seen · 69 lines · 34 tokens per session scan A a57281ab9f02

Subscribe to this mod's changes

cover-designer is an agent published in the GitHub repository tobyilee/book-writer (85 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 405 once invoked, about $0.0001 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

cover-designer compared with agents from other repositories

cover-designer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cover-designertobyilee/book-writerAgent853d agoMITA34Claude 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