kdp book builder
by Johnny Gu
Convert Markdown manuscripts into Amazon KDP-ready .docx files with perfect margins and Kindle navigation.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Format my 40,000 word manuscript 'The Final Orbit' for a 5.5x8.5 paperback. Use Garamond 11pt and ensure the gutter is right for the page count.
Your agent does
Build complete. Estimated page count: 162 pages. Gutter margin set to 0.375" (KDP requirement for 151-300 pages). Trim size: 5.5x8.5. Font: Garamond 11pt. Output saved to 'book.docx' with 14 Heading 1 chapters detected for Kindle navigation.
What you get
About this skill
The problem
Self-published books often get rejected by Amazon KDP because of incorrect gutter margins, lack of mirrored pages, or broken Kindle navigation menus. Manual formatting in Word is tedious and error-prone, leading to "no chapter navigation" complaints from readers.
What it does
- Converts Markdown manuscripts into KDP-ready .docx files with correct trim sizes.
- Calculates gutter margins dynamically based on your total page count to prevent text from disappearing into the spine.
- Applies native Heading 1 styles to ensure Kindle devices automatically build the "Go To" navigation menu.
- Generates a clickable Table of Contents that works in both print and digital versions without broken bookmarks.
- Automates professional typesetting rules, like removing indents on the first paragraph of a new chapter or scene.
Frameworks & tools
Python, python-docx, Markdown.
Why this beats prompting it yourself
General LLM prompts often fail to handle the specific geometric requirements of physical book spines or the technical XML structure inside a .docx needed for Kindle navigation. This tool uses a deterministic script to ensure every margin, page break, and font style is technically perfect every time.
Use cases
- Formatting a fiction novel for 5.5x8.5 or 6x9 paperback distribution.
- Converting a technical manuscript into a professional Kindle ebook with a functional TOC.
- Preparing a print-on-demand interior that requires alternating (mirrored) margins for odd and even pages.
- Validating if a short-form book meets KDP's 24-page minimum or 100-page spine text requirements.
Known limitations
Requires the python-docx library and locally installed fonts. It is designed for text-heavy books rather than image-heavy coffee table books or complex layouts.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
3 skills on Agensi
Frequently Asked Questions
Popular in Workflow Automation

Enterprise Automation Engineering Architect
Designs and upgrades business automation systems into modular, reliable, observable, secure, low-maintenance, enterprise-grade workflows.

Receipty: receipt finder organizer
Automated receipt discovery, structured archiving, and finance forwarding for email-based business expenses.
PPTX Toolkit — Create, Edit, and Extract PowerPoint Presentations
Everything needed to work with PowerPoint presentations programmatically
skill scaffold
Generate submission-ready AI agent skill skeletons with valid frontmatter, mandatory sections, and script stubs.