doc-to-markdown
An agent skill by daymade, from daymade/claude-code-skills. Tags: conversion, documents, markdown, pdf, validation.
What it does
Converts DOCX/PDF/PPTX to high-quality Markdown with automatic post-processing. Fixes pandoc grid tables, simple tables, image paths, CJK bold spacing, attribute noise, and code blocks; for PDFs also strips OCR garbage blocks, repeated headers/footers/watermarks, and absolute image paths from pymupdf4llm output. Benchmarked best-in-class (7.6/10) against Docling, MarkItDown, Pandoc raw, and Mammoth. Trigger on "convert document", "docx to markdown", "parse word", "doc to markdown", "解析word", "转换文档".
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add daymade/claude-code-skills --skill doc-to-markdown
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/daymade/claude-code-skills
cp -r claude-code-skills/daymade-docs/doc-to-markdown ~/.claude/skills/doc-to-markdown
Safety box score
Not rated yet. A safety box score grades what a skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. Anyone can request one from this page; it is saved for everyone. How the score works.
Source
- Repository
- daymade/claude-code-skills (all skills from this repository)
- Path
- daymade-docs/doc-to-markdown/SKILL.md
- Branch
- main
- Updated
- 2026-09-20
Related skills
- pdf-creator — Convert markdown files to professional PDF documents with proper Chinese font support, theme system, and visual self-check.
- pdf-to-html — Converts a PDF into one self-contained, readable HTML file that preserves images, tables.
- photo-to-scanned-pdf — Two pipelines ending at a scanner-look PDF.
- lead-magnets — When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation.
- seo-schema — org structured data. JSON-LD format preferred. Use when user says "schema", "structured data", "rich results", "JSON-LD", or "markup".
- seo-sitemap — Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure.