/repo-to-content:markdown-to-epubfrom repo-to-content
Turn a markdown document (report, guide, analysis, notes) into a reflowable EPUB for reading on a phone or e-reader, alongside or instead of a PDF. Use when the user says "make it an ebook", "EPUB", "MOBI", "something I can read on my phone", "Kindle version", or finds a dense PDF hard to read on mobile.
Ships in repo-to-content. 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.
Read when SKILL.md points to them; scripts run unread.
PDFs are fixed pages: on a phone, dense text means pinch-zooming. EPUB reflows to the screen, and the reader app controls font, size, margins and night mode. Use it for any long text a person will read; keep PDF for things to print, sign or share as a fixed record.
MOBI is obsolete. Amazon stopped accepting MOBI for Send to Kindle in 2022 and
now takes EPUB directly. When someone asks for "MOBI", make an EPUB and say so in one line.
Only make AZW3/MOBI if they name an old Kindle that can't take EPUB (needs Calibre's
ebook-convert in.epub out.azw3).
skills/markdown-to-epub/scripts/md2epub.sh <in.md> [out.epub] [--author NAME] [--cover IMG]
pandoc (≥ 2.19). YAML front matter title, subtitle, date, author become book metadata.# heading (--split-level=1), table of contents to ##.<!-- placeholders -->) are stripped first.scripts/inline-code-to-text.lua). Reader apps
often ignore the book CSS for <code> and switch to monospace mid-sentence, which reads badly (reported 2026-11-23).
Fenced code blocks stay monospace.scripts/epub.css sets structure only (headings, quotes, tables). It deliberately leaves font
family and size to the reader app.Check before delivering:
unzip -l out.epub lists one chNNN.xhtml per chapter and a nav.xhtml.unzip -p out.epub EPUB/nav.xhtml | grep -o '<a [^>]*>[^<]*' | sed 's/.*>//'.epubcheck is available, run it. pandoc output normally passes.Docs written for PDF often lean on page layout. Before building, fix anything that breaks on reflow: very wide tables (more than 4 columns) become lists; "see page N" becomes "see section X".
Ebooks go in a dedicated folder per audience, so a reader app or sync tool can watch one
folder. The user's folders, and which material goes where, live in their own Drive or filing
skill or config, not here. Never put private material in a folder another person can see.
Upload by whatever route the user's setup uses. Name files YYYY-MM-DD <Title>.epub.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/generate-pdf-from-outputsUse when the user wants to generate a styled PDF from repository outputs using Typst with IBM Plex Sans and a clean brand palette. Triggers on phrases like "generate a PDF", "make a PDF from outputs", "typst PDF", "pdf this"./repo-scanScan a local Git repository and emit a manifest of its text sources (README, docs/, planning/, report/), embeddable images (diagrams/, graphics/, images/, banner.*), and repo metadata (name, slug, git remote, HEAD commit, derived title and summary). Shared helper invoked by the other repo-to-docs skills before they generate anything. Use when the user asks to "scan this repo for docs", "inventory the repo content", or as a first step before building a PDF, blog post, or white paper from a repository./repo-to-content@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin repo-to-content