/document-to-markdown:chunk-markdownfrom document-to-markdown
Use when you need to split a long Markdown document into logical sections
Ships in document-to-markdown. 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.
Split a Markdown document into semantically meaningful chunks based on heading hierarchy and content classification. Produces numbered files and a manifest index.
--depth (optional; defaults to 2, i.e., split at ##)--min-tokens (optional; defaults to 200)--max-tokens (optional; defaults to 8000)--min-tokens with adjacent sections.--max-tokens at lower heading levels if possible.chunks/ next to the input Markdown.chunks/NN-slug.md, where NN is zero-padded sequence and slug is derived from the heading (kebab-case, sanitized).chunks/index.toon manifest with one entry per chunk, fields: slug, title, kind (e.g., "chapter", "appendix", "glossary"), tokens, source_lines (start line and end line in original file).chunks/ directory created next to input Markdownchunks/index.toon manifest file with metadata per chunkWhat SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/complementary-pluginsList and install plugins that complement document-to-markdown: data-utils, data-visualisation-and-publishing./doc-to-everythingUse when you need to fully process a PDF into Markdown, chunks, and table exports in one workflow/extract-tablesUse when you need to extract tables from a PDF into individual CSV filesOther plugins' skills for the same job
/ocr-scanned-pdfUse when you have a scanned PDF with no embedded text layer and need to add OCR textdocument-to-markdown@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin document-to-markdown