Doc To Markdown Skill — Documentation skill for Claude Code
Claude Code skill to convert Word documents to Markdown with image preservation.
How to install Doc To Markdown Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sheepmao/doc-to-markdown-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Doc To Markdown Skill does
Claude Code skill to convert Word documents to Markdown with image preservation.
Alternatives in Documentation
- Docx — Create, edit, and analyze Word documents with tracked changes, comments, and formatting 94.1k ★
- Notion Knowledge Capture — Convert conversations into structured, searchable Notion wiki entries 14.6k ★
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
README
Doc to Markdown Skill for Claude Code
A Claude Code skill that converts Microsoft Word documents (.doc/.docx) to clean, well-structured Markdown with full image preservation.
Features
- ✅ Full Format Support - Converts both .doc (legacy) and .docx (modern) formats
- ✅ Image Preservation - Extracts images to separate folders with proper references
- ✅ Smart Content Cleanup - Automatically removes Word comment markers, revision history, and TOC links
- ✅ Content-Hash Matching - Ensures correct image order (Figure 1 maps to correct image)
- ✅ Watermark Exclusion - Skips header/footer logos automatically
- ✅ WMF/EMF Conversion - Converts Windows Metafile formats to PNG
- ✅ Two Output Modes - External images (default) or embedded base64
- ✅ Batch Processing - Convert multiple documents at once
Installation
Step 1: Install the Skill
# Clone the repository to your Claude skills directory
cd ~/.claude/skills
git clone https://github.com/YOUR-USERNAME/doc-to-markdown-skill.git doc-to-markdown
Or download and extract manually:
mkdir -p ~/.claude/skills
cd ~/.claude/skills
# Download and extract the zip file here
unzip doc-to-markdown.zip
Step 2: Install Dependencies
The converter will use `uvx` (from `uv`) if available. If `uvx` is not installed, it will fall back to a `markitdown` executable on `PATH`.
Option A (recommended): install `uv` (provides `uvx`)
brew install uv
Option B: install `markitdown` directly
pip install 'markitdown[all]'
`markitdown` requires Python 3.10+.
Optional (for legacy .doc files):
brew install --cask libreoffice
Step 3: Restart Claude Code
The skill will automatically load on the next Claude Code session.
Usage
The skill **activates automatically** when you ask Claude to convert Word documents.
Single File Conversion
Convert document.docx to markdown
Extract specification.doc to markdo
Related Skills
Awesome Docs
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers fou
Md
Convert pasted text into a properly formatted markdown file with frontmatter, save it to the right location in
Business Idea
Write a comprehensive markdown analysis doc for a business idea, product pivot, or new product direction. Outp
Create Doc
Generate a professional Word document (.docx) using Python and python-docx.
Reader Rs
Agent 原生文档阅读、搜索与提取 CLI:PDF / Word(含 .doc)/ EPUB / Office / CSV 等 14 种格式,按页/节读、正则搜、目录批量搜;grep 语义退出码,Rust 单二进制
Xhs Article To Images
Agent-assisted Markdown article to Xiaohongshu image cards workflow
Related Agents
Word To LaTeX
Use to convert a Word .docx template (Mitacs, CRSNG, FRQNT, UQAC, partner forms) into a faithful LaTeX source.
Dev Document
Generation of documents (PDF, DOCX, XLSX, PPTX). Use to create a document, generate a report, export to PDF/Wo
Document Scout
Use proactively for read-only fact-finding in local non-code documents and on the web: dates, deadlines, amoun