kdp-publisher
por kralsamwise
DevOps & CloudResumen
Helps agents create, format, and publish children's books and activity books to Amazon KDP.
Descripción
Qué hace esta skill
Manages the end-to-end pipeline for publishing children's picture books and activity books to Amazon Kindle Direct Publishing. Handles story generation, illustration prompting, PDF assembly for interior and cover, metadata writing, and KDP form submission via browser automation. Includes production-tested workarounds for KDP's form and file upload behavior.
Encodes non-obvious KDP automation fixes, like using JS evaluate instead of Playwright type and CDP file input dispatch, that aren't documented by Amazon and are only discoverable through production failures.
Cuándo usarla
- Generating and formatting a children's picture book for Amazon paperback
- Building a math workbook or coloring book with correct KDP trim dimensions
- Creating a full-wrap cover PDF with accurate spine width
- Automating KDP manuscript upload using browser JavaScript
- Writing backend keywords and category selections for a self-published book
Flujo de trabajo de ejemplo
User asks: publish a 28-page children's picture book about a curious octopus who learns to share, ages 3-5, watercolor style
- 1
Run generate-book.py with the story prompt, age group, and style to produce story text and 12 illustration prompts
- 2
Generate illustrations via Google AI with character reference locked and no-text directive in every prompt
- 3
Assemble interior PDF using ReportLab at 612×612 pt with text overlaid programmatically on each spread
- 4
Run create-cover.py with spine width calculated as 28 × 0.002347 inches for white color paper
- 5
Reload KDP in browser, fill fields via JS evaluate with element IDs, upload interior and cover PDFs using CDP DOM.setFileInputFiles, then submit with AI disclosure selected
Paperback listing created on Amazon KDP with interior, cover, and metadata, ready for review and pricing
Requisitos
- GOOGLE_AI_API_KEY environment variable
- Amazon KDP account
Instalación
clawhub install kralsamwise/kdp-publisherEjecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.