Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: publish a 28-page children's picture book about a curious octopus who learns to share, ages 3-5, watercolor style
- 1Run generate-book.py with the story prompt, age group, and style to produce story text and 12 illustration prompts
- 2Generate illustrations via Google AI with character reference locked and no-text directive in every prompt
- 3Assemble interior PDF using ReportLab at 612×612 pt with text overlaid programmatically on each spread
- 4Run create-cover.py with spine width calculated as 28 × 0.002347 inches for white color paper
- 5Reload 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
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.