/kdp:kdp-audit [manuscript path]from kdp
Audit a book manuscript against Amazon KDP requirements: interior formatting, cover specs, metadata, and genre-specific checks. Handles technical books (LaTeX, math), fiction, and nonfiction. Produces a structured gap report with Critical and Warnings sections plus automation suggestions.
Ships in kdp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audit a book manuscript against Amazon KDP (Kindle Direct Publishing) requirements and produce a structured gap report. This skill evaluates interior formatting, cover specs, metadata completeness, and genre-specific requirements (technical vs. fiction).
Identify manuscript files and format. Look for these file types in the current directory or specified path:
Primary manuscript formats (Glob tool):
.tex files (LaTeX manuscripts, common for technical books).docx files (Microsoft Word, common for fiction/nonfiction).epub files (eBook source).md files (Markdown manuscripts).pdf files (final output).kpf files (Kindle Create project)Manuscript type classification:
If $ARGUMENTS names a file or directory, audit that. If no manuscript is found, ask the user which file to audit.
Read .claude/kdp.local.md if it exists (Read tool). Its YAML frontmatter follows the schema in ${CLAUDE_PLUGIN_ROOT}/docs/user-config-template.md, which is the only definition of the fields. This skill uses kdp.trim_size, kdp.paper_type, kdp.target, kdp.genre, kdp.page_count, and author.
If the file is missing, inform the user and offer to create one from that template. If kdp.page_count is empty and a compiled PDF exists, count its pages (Bash tool: pdfinfo file.pdf | grep Pages) and offer to save the count.
Verify the manuscript meets KDP interior requirements. Full specs are in ${CLAUDE_PLUGIN_ROOT}/docs/kdp-reference.md (Interior Formatting section); read it and check the manuscript against:
trim_size enum of kdp_cover_specs, or the reference doc) and that the page count is inside the range kdp_cover_specs reports as page_rangeVerify covers meet KDP requirements. Full specs are in ${CLAUDE_PLUGIN_ROOT}/docs/kdp-reference.md (Cover Requirements section).
Find cover files (Glob tool): cover*.jpg, cover*.jpeg, cover*.tiff, ebook-cover.* for eBook; paperback-cover.pdf, full-cover.pdf, cover-print.* for paperback.
Verify dimensions (kdp_validate_cover MCP tool, preferred): call kdp_validate_cover with the cover image path and kind (ebook, paperback_front, or full_wrap; print kinds also need page_count, trim_size, paper_type from the config). It returns a per-check pass/warn/fail table (dimensions, ratio, format, channels, file size, print resolution) computed from the image metadata; copy fails into Critical and warns into Warnings. It reads images, not PDFs: for a paperback cover PDF, validate the PNG it was made from (kdp_generate_full_wrap returns it as wrap_png_path) or rasterize the PDF first (pdftoppm -r 300 -png cover.pdf cover).
Fallback when the MCP server is unavailable (Bash tool): measure with identify -format "%wx%h" cover.jpg (ImageMagick) or file cover.jpg, and compare against the Cover Requirements section of the reference doc. KDP's Cover Calculator gives exact paperback wrap dimensions.
Cover content requirements: title readable at thumbnail size, author name present, high contrast, no prohibited content. Report actual vs. required dimensions. If cover files are absent, flag as a critical gap.
Verify all required listing metadata exists in the manuscript or in .claude/kdp.local.md. Full field specs and constraints are in ${CLAUDE_PLUGIN_ROOT}/docs/kdp-reference.md (Metadata section).
Grep manuscript front matter and the user config for:
Flag missing fields so the user can provide them via the KDP dashboard.
If manuscript is technical (LaTeX, math-heavy, code listings):
LaTeX compilation (Bash tool):
cd /path/to/manuscript && pdflatex -interaction=nonstopmode manuscript.tex
Verify compilation succeeds with no critical errors.
Math rendering:
\usepackage{amsmath} or equivalentpdffonts manuscript.pdf)Code listings:
listings or minted package usageIndex and bibliography:
\printindex and \bibliography{} commands present\index{}).bib file exists and is referencedmakeindex and bibtex successfullyCheck for eBook-specific issues that affect Kindle rendering and KDP acceptance.
EPUB validation (Glob tool, Bash tool):
.epub files exist in the projectepubcheck is available (which epubcheck), run it on the EPUB file and report resultsepubcheck is not installed, note it as a recommendation and list common EPUB issues to manually check:
.md or .docx source files do, recommend conversion via Pandoc before audit:
pandoc manuscript.md -o manuscript.epub --toc --metadata title="Book Title"
Check for issues that specifically break on Kindle devices:
Footnotes (Grep tool):
\footnote in LaTeX source, or footnote markers in DOCX/HTMLWide tables (Grep tool):
Complex CSS (Grep tool):
Large images (Bash tool):
ls -la on image files or identify if ImageMagick is availableIf manuscript is fiction or narrative nonfiction:
Chapter structure (Grep tool):
Front matter order validation (Grep/Read tools):
Back matter order validation (Grep/Read tools):
Scene breaks and formatting:
* * * or similar (not just blank lines)Scene break consistency (Grep tool):
* * *, all ---, all ###, etc.)Special elements:
Use the template at ${CLAUDE_PLUGIN_ROOT}/docs/audit-report-template.md as the skeleton. Populate findings from the preceding steps. Omit sections that do not apply (for example, the Fiction checklist for a technical book).
After presenting the report, offer to fix issues that can be automated:
geometry packagekdp_cover_specsFor complete KDP requirements and the audit output structure:
${CLAUDE_PLUGIN_ROOT}/docs/kdp-reference.md for KDP formatting, cover, metadata, and submission specifications${CLAUDE_PLUGIN_ROOT}/docs/audit-report-template.md for the gap report skeletonWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/kdp-listingCraft the four marketing artifacts for an Amazon KDP listing: blurb (with HTML formatting), keywords, Amazon categories, and author bio. Reads manuscript context to generate variants, then saves outputs to the user config. These four artifacts determine discoverability and conversion on Amazon./kdp-publishOrchestrate the full Amazon KDP publishing workflow: audit, listing craft, manuscript prep, cover generation, dashboard submission, pricing, publish. Phases gate each other. Handles both eBook and paperback. Manages MCP-driven cover generation or falls back to manual prep.npx claudepluginhub abdulqudduz/claude-anvil --plugin kdp2 plugins ship this exact skill · first indexed Oct 24, 2026