- Home
- Skills
- Digital Products
- KDP Interior Pages — Lined, Dot Grid and Planner PDFs
KDP Interior Pages — Lined, Dot Grid and Planner PDFs
Get back an interior PDF with KDP's inside margin for that page count.
$5
Works with the AI Agents you already use
KDP Interior Pages — Lined, Dot Grid and Planner PDFs
Example session with this skill installed
Make me a 120-page lined interior for a 6x9 inch KDP paperback, then read the page count and size back from the file to check it.
- Read your context and instructions
- Compiled the kdp interior pages
Summary
Made a 120-page lined interior at 6x9 in trim and read it back with --check. The inside margin is 0.375 in, KDP's minimum for 24-150 pages; top, bottom and outside margins default to 0.5 in.
Commands and output (real run)
$ python3 scripts/kdp_interior_pages.py lined --pages 120 --output lined_120_pages_6x9.pdf
Wrote 120 pages, 6x9 in, inside margin 0.375 in -> lined_120_pages_6x9.pdf
$ python3 scripts/kdp_interior_pages.py --check lined_120_pages_6x9.pdf
pages=120 size=432x648 pt trim=6x9 in (ok)
$ python3 scripts/kdp_interior_pages.py --margins-table
Pages Inside (gutter) Top/bottom/outside (no bleed)
24-150 0.375 in 0.25 in
151-300 0.5 in 0.25 in
301-500 0.625 in 0.25 in
501-700 0.75 in 0.25 in
701-828 0.875 in 0.25 in
Source: https://kdp.amazon.com/en_US/help/topic/GVBQ3CMEQW3W2VL6 (checked 2026-11-20)
Next steps
- Preview the file in KDP's previewer before you publish; the tool does not guarantee that KDP accepts a file.
- Other kinds:
dot-grid,weekly-planner --weeks 52 --start-date 2027-01-04,reading-log --books 100,recipe --recipes 3 --items names.txt. - KDP can change its margin numbers; check the source page above.
Connects securely to your tools. The creator never sees your data.
About this skill
Send a page kind (lined, dot grid, weekly planner, reading log or recipe), a trim size and a length. Get back an interior PDF with KDP's inside margin for that page count. This is a local command-line tool for Python 3.9 and newer. It uses only the standard library, writes the PDF itself, and needs no account, no network and no extra package. It makes interior files only: no cover, no upload, no listing.
What it does
- Makes lined, dot-grid, weekly-planner, reading-log and recipe-card interiors in 5x8, 5.5x8.5, 6x9 or 8.5x11 inch trim.
- Sets the inside margin to the minimum in KDP's margin table for your page count (for example 0.375 in for 24-150 pages); you can raise it with
--inside. - Draws every letter and number as lines (a single-stroke font), so the PDF contains no font to embed. The letters look like thin technical lettering, not like Helvetica.
--check FILEreads the page count and size back from a PDF this tool wrote, and refuses a file that is cut short or whose page count does not match its page tree.- Refuses text it cannot draw (for example ß, £, §, Cyrillic, Japanese, emoji) with one error line that names the character; it never swaps in another character.
Included
A standalone Python command (standard library only), README, real example PDFs with the commands that made them, and an automated test suite.
Important
KDP can change its margin numbers: check the source page given in the README, and look at every file in KDP's previewer before you publish. This tool does not guarantee that KDP accepts a file. Text is drawn as lines, so it cannot be selected or searched in a PDF reader.
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.
Supports ASCII and specific Latin characters only. Page counts must be even and between 24 and 828. Does not guarantee KDP acceptance; manual preview required.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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 10 days ago
- Software
Python 3.9+