kdp book builder

    by Johnny Gu

    1

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

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    kdp book builder

    Example session with this skill installed

    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.

    • Read your context and instructions
    • Compiled the kdp book builder

    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.

    Output saved to 'book.docx

    Connects securely to your tools. The creator never sees your data.

    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 use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    Software
    Python

    Permissions

    Terminal / Shell
    Listed3 months ago

    What's inside

    Creator

    Johnny Gu

    Johnny Gu

    4 skills on Agensi

    Frequently Asked Questions

    This skill converts your Markdown text into professional .docx files with specific KDP trim sizes, mirrored gutter margins based on page count, and technical XML headers required for Kindle 'Go To' navigation.

    The skill currently supports standard paperback trim sizes like 5.5"x8.5" and 6"x9", and it automatically calculates the necessary gutter margin based on your manuscript's total page count to ensure text doesn't get lost in the spine.

    You will receive the full Python-based skill integration, which utilizes the 'python-docx' library to handle the deterministic formatting that standard AI prompts often struggle to get right.

    This skill is optimized for text-heavy manuscripts like novels or non-fiction guides; it is not recommended for complex, image-heavy layouts like coffee table books or technical manuals with nested tables.

    Yes, the skill is designed to apply native Heading styles that ensure your clickable Table of Contents and the device-level Kindle navigation menu work perfectly upon upload to Amazon.

    New in Digital Products

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Digital Products.