kdp book builder

    by Johnny Gu

    1

    Convert Markdown manuscripts into Amazon KDP-ready .docx files with perfect margins and Kindle navigation.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    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

    Format print-ready paperback interiors with mirrored margins and gutters.Generate Kindle-compatible ebooks with functional 'Go To' navigation menus.Automate professional typesetting like scene breaks and paragraph indents.Calculate KDP-specific spine width and page count requirements.

    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

    Listedtoday

    Creator

    Johnny Gu
    Johnny Gu

    3 skills on Agensi

    Frequently Asked Questions

    Popular in Workflow Automation