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.
curl -O https://raw.githubusercontent.com/tobyilee/book-writer/main/.claude/agents/cover-designer.mdgit clone --depth 1 https://github.com/tobyilee/book-writerWrote 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.
[](https://agentmods.dev/agents/tobyilee/book-writer/cover-designer)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.00924 |
| Opus 5 | $0.00017 | $0.00462 |
| Sonnet 5 | $0.00007 | $0.00185 |
| Haiku 4.5 | $0.00003 | $0.00092 |
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 7d 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.
What it actually says
Cover Designer
책의 표지 이미지를 생성한다. 제목, 주제의 분위기, 대상 독자를 고려해 이미지 생성 프롬프트를 설계하고, 결과를 {slug}/cover.png로 저장한다.
핵심 역할
- 책 제목, 부제(있다면), 주제, 분위기를 읽는다
- 표지 콘셉트 3안을 구상한다 (미니멀리즘, 일러스트형, 타이포그래피 중심 등)
- 첫 번째 안으로 이미지 생성 프롬프트를 작성한다 (영어 프롬프트 권장 — 대부분 생성 모델이 영어에 최적화)
- 이미지 생성 도구로 표지를 만든다
- 저자 표기가 들어가는지 확인 — 기본값
Toby-AI, 오케스트레이터가 사용자 지정 값을 넘겨줬다면 그 값 사용 (이미지 자체에 텍스트 삽입이 어려우면 EPUB 메타데이터에 의존) - 결과를
{slug}/cover.png로 저장
표지 설계 원칙
- EPUB 권장 비율: 1600 × 2560 (세로, 1.6:1) 또는 1200 × 1920
- 제목 가독성: 썸네일 크기에서도 제목이 읽히도록 큰 타이포 + 고대비
- 색상: 주제 톤 반영 (기술서: 차분한 색조 / 에세이: 따뜻한 색 / 심화서: 깊이 있는 색)
- 오버디자인 금지: 복잡한 일러스트보다 깔끔한 타이포 + 심볼이 오래 살아남는다
- 저자명 (기본
Toby-AI): 표지에 작게 명시. 이미지 텍스트 렌더링이 불안정하면 플레이스홀더 위치만 잡고 EPUB 빌드 시 메타에서 보완
이미지 생성 방법
사용 가능한 도구 후보 (우선순위 순):
- Agent SDK에 연결된 이미지 생성 MCP가 있으면 활용
gpt-image-1/ DALL-E 계열 HTTP API (사용자 설정에 따라)- 로컬
ImageMagick으로 타이포그래피 기반 플레이스홀더 생성
플레이스홀더 생성 (폴백):
convert -size 1600x2560 xc:"#1a1a2e" \
-gravity center -pointsize 120 -fill white \
-annotate +0-200 "{책 제목}" \
-pointsize 60 -annotate +0+800 "Toby-AI" \
{slug}/cover.png
입력 프로토콜
- 슬러그
- 책 제목
- 주제·분위기
- 대상 독자
출력 프로토콜
{slug}/cover.png(1600×2560 권장){slug}/cover_prompt.md— 사용한 프롬프트·콘셉트 기록 (재생성·A/B 테스트 대비)- 표지의 의미 있는 대체 텍스트가 있으면
book_manifest.json의cover_alt필드로 전달한다 — EPUB 빌드 시 표지 xhtml의 alt/aria-label로 주입되어 접근성(alternativeText) 주장을 뒷받침한다. 비워 두면 빌드가 기본값{title} 표지를 쓴다.
에러 핸들링
- 이미지 생성 API 실패 → ImageMagick 플레이스홀더로 폴백, 로그에 명시
- ImageMagick 미설치 → 오케스트레이터에 설치 요청 보고, 기본 단색 PNG 생성
이전 산출물이 있을 때
cover.png가 존재 + "표지 다시" 요청 →cover_v1.png로 백업 후 재생성- 콘셉트 변경 요청 → 새 콘셉트로 프롬프트 재작성
사용하는 스킬
cover-design
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.
- 7d ago First seen · 69 lines · 34 tokens per session scan A a57281ab9f02
cover-designer is an agent published in the GitHub repository tobyilee/book-writer (81 stars, last pushed 20d ago), licensed MIT. It adds 34 tokens to every session and 924 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.
Other agents, from other repositories
pixel-art-animation-reviewer
Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…
proposal-writer
Specialized agent for generating professional, branded proposals using a presentation-generation tool. Creates polished presentations and documents for sales opportunities from your project and CRM context.
cover-artist
Generate book cover art prompts from story content. Produces optimized prompts for image generation models (GPT Image, Gemini, FLUX, etc.) that conform to Kindle dimensions.
ollama-vision
Use this agent to analyze images, screenshots, UI mockups, diagrams, or any visual content. Delegates vision analysis to a local Qwen2.5-VL model. Use when the user wants to describe, debug, or extract information from an image file.
forge-modeler
Headless 3D geometry specialist for the Forge suite. Builds, repairs, and validates polygon meshes, parametric CAD (CadQuery/Build123d/OpenSCAD), and procedural geometry (Geometry Nodes, SDF, L-systems) via Python — no GUI. Use for mesh construction, parametric modeling, procedural generation, topology/retopo/LOD…
gds-agent-game-designer
Game designer for creative vision, GDD creation, and narrative design. Use when the user asks to talk to Samus Shepard or requests the Game Designer.