Arcanea book cover

From frankxai/claude-skills-library · View interactive version

Arcanea book cover is an AI agent skill from the GitHub repository frankxai/claude-skills-library. Design and generate premium book covers using NB2 (Nano Banana 2 / Gemini 3.1 Flash Image) with deep thinking about book tension, emotion, and genre. Pulls from top book cover design principles (Chip Kidd, Peter Mendelsund, Coralie Bickford-Smith). Auto-activates when user requests book cover, cover

How to use this skill

Skill file

Arcanea Book Cover Design Skill

Generate premium book covers by thinking deeply about the book first, then translating that thinking into a precision image prompt. NB2 is default. NB Pro only when user specifies "premium" or "hero".

The 5-Phase Method

Do NOT skip phases. The thinking is the skill. The generation is the reward.

Phase 1: READ THE BOOK (or its architecture)

Before writing any prompt, you must understand:

  1. Central tension — What does the protagonist fight against? What internal conflict mirrors the external?
  2. Emotional register — Is this grief-heavy? Wonder-heavy? Dread-heavy? A dark comedy? Bittersweet? Name it precisely.
  3. Iconic image — What ONE visual moment defines the book? The image a reader would tattoo on themselves.
  4. Genre expectations vs subversion — What do readers of this genre expect? What should you give them, and what should you withhold?
  5. Color emotional key — What color (singular) carries the book's feeling?

If the book has a book.yaml or outline, read them. If the book has existing chapters, read at least one opening and one pivotal scene.

Phase 2: PULL BEST PRACTICES

Top book cover designers operate on these principles. Keep them active during prompt design:

Chip Kidd's Rules:

Peter Mendelsund's Rules:

Coralie Bickford-Smith's Rules (Penguin Classics):

Genre-specific heuristics:

| Genre | What sells | What kills |

|-------|-----------|-------------|

| Dark fantasy / grimdark | Single figure, cold color + ember accent, imposing silhouette, minimal text | Cluttered action, bright colors, generic fantasy tropes |

| Literary fantasy | Symbolic object, atmospheric landscape, negative space, serif typography | Characters' faces, action poses, over-illustration |

| Epic fantasy mashup | Dynamic composition, heroic pose, dramatic sky, bold title | Muddy color, too many elements, small title |

| Sci-fi | Clean geometry, singular focal point, future-tech subtlety | Cliché ships, robots, generic space |

| Romance | Character connection, warm palette, emotion over action | Text overload, generic stock |

| Thriller | High contrast, negative space, one menacing element | Too much happening, bright |

| Literary fiction | Photograph crop, object as metaphor, serif title | Fantasy tropes, illustration |

Universal principles:

Phase 3: COMPOSE THE PROMPT

The prompt has a specific structure. Follow it exactly:

Generate an image: [Genre descriptor] book cover for [TITLE]. Portrait orientation, 2:3 ratio.

SCENE: [One paragraph describing the single iconic image. Concrete. Specific. No abstractions.]

COMPOSITION: [Focal point location, depth layers, what's foreground/mid/background]

LIGHTING: [Source, direction, mood. Cinematic lighting terminology.]

PALETTE: [Hero color + 2-4 supporting colors as hex codes or named precisely]

TYPOGRAPHY: [Title at top/bottom, font style: serif/sans/display, weight: bold/thin]

STYLE REFERENCES: [2-3 specific references. Real designers, movies, or artists.]

MOOD: [One sentence on the emotional register the cover should evoke]

TECHNICAL: 4K resolution, portrait ratio, book cover composition, cinematic depth of field, readable typography.

Phase 4: GENERATE

Model routing:

API call template:

# Load key from MCP config or env
# export GEMINI_API_KEY="your-key-from-aistudio.google.com"

MODEL="gemini-3.1-flash-image-preview"  # NB2 default
# MODEL="nano-banana-pro-preview"        # NB Pro (premium only)

curl -s "https://generativelanguage.googleapis.com/v1beta/models/$MODEL:generateContent?key=$GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents":[{"parts":[{"text":"PROMPT_HERE"}]}],"generationConfig":{"responseModalities":["TEXT","IMAGE"]}}' \
  | python3 -c "
import json,base64,sys
data=json.load(sys.stdin)
for p in data.get('candidates',[{}])[0].get('content',{}).get('parts',[]):
    if 'inlineData' in p:
        d=base64.b64decode(p['inlineData']['data'])
        out='apps/web/public/images/books/SLUG-cover.png'
        open(out,'wb').write(d)
        print(f'OK: {len(d)} bytes -> {out}')
    elif 'text' in p:
        print('Text:',p['text'][:200])
"

Save path convention: apps/web/public/images/books/[slug]-cover.png

(Add -nb2 or -nbpro suffix if generating multiple for comparison.)

Phase 5: VALIDATE

Before declaring the cover done, check:

If any fail, iterate. One re-generation is fine. Beyond that, revise the prompt.

Quality Tiers

Anti-Patterns (Never Do)

Integration with Arcanea Ecosystem

Output Format

When using this skill, produce:

  1. The thinking — A brief (150-250 word) analysis of the book's tension, emotion, iconic image, genre expectations
  2. The prompt — The composed prompt with all 7 structural sections
  3. The generation — Execute the curl command, save to correct path
  4. The validation — Run the checklist, report pass/fail per item
  5. The result — Read the generated image and confirm visually

"A cover is a haiku. One image, one emotion, one question that makes you turn the book over to read the back." — The Arcanea Book Cover Method

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.