Doc2md Skill — AI skill for Claude Code
Agent Skill for reading papers with AI agents: converts PDF/Word into structure-preserving Markdown with a verification report, so agents read section by section instead of dumping the whole paper int.
How to install Doc2md Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open searcyan/doc2md-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Doc2md Skill does
Agent Skill for reading papers with AI agents: converts PDF/Word into structure-preserving Markdown with a verification report, so agents read section by section instead of dumping the whole paper into context and silently missing content. 用 Agent 辅助读论文的 Skill:先转结构完整的 Markdown 并逐行核对,避免整篇灌入、内容遗漏。
Alternatives in AI
- AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
- LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
- Claude To ChatGPT — This project converts the API of Anthropic's Claude model to the OpenAI Chat API format 1.3k ★
README
doc2md-skill
English | [简体中文](README.zh-CN.md)
**An Agent Skill for reading papers with AI agents.** It converts PDF / Word documents into structure-preserving Markdown plus a verification report, so your agent (Claude Code, Codex, …) reads a paper section by section — completely, and without burning tokens.
Why
This tool came out of everyday paper reading with AI agents. Most people now read papers with an agent's help, and when an agent reads a PDF directly, the same problems keep showing up:
- The whole paper goes into the context at once. Tokens are wasted, and the content that matters gets crowded out.
- Content is silently lost. Borderless and three-line tables are flattened into prose, headings disappear, formulas are garbled, scanned pages are skipped, and Word comments never show up.
- Nobody knows what was lost. Neither you nor the agent can tell whether the answer was based on a complete reading.
doc2md fixes this by putting a conversion step in front of reading: first turn the document into clean Markdown and check it line by line against the original, then let the agent read only the sections it needs.
What it does
- Keeps the structure. Heading hierarchy and numbering (including custom Word styles, manually bolded/enlarged headings, and chapter titles laid out as tables), tables (ruled, borderless, three-line, cross-page continuations), and image positions are all preserved. Images are extracted as
images/1.png,2.png, … in reading order. - Doesn't drop content. Word comments, tracked changes, headers/footers, chart data, SmartArt, text boxes, equations, and embedded files are all exported. Pages without a text layer (scans, image-only slides) and lines that could not be converted verbatim (e.g. formulas) come with full-page images, so the agent can look at the original.
- Verifies itself. Every line of the original is checked against the output, and headings, PDF bookmarks, and table captions are checked for
Related Skills
Web Fetch
LLM-neutral skill that fetches a URL to a temp file so agents can pipe the path through rg / jq / awk instead
Ast Outline
ast-outline lets AI coding agents pull exactly the code context they need — a repo skeleton, a file outline, o
Exo Compact
Deterministic compaction for Claude Code: 0.4 s instead of 62, no model call, your rules kept word for word an
OmegaWiki
Automate AI research tasks with a fully agentic platform that converts papers to publications using Claude Cod
Memory Lean
A token-lean MCP memory server for AI coding agents: a knowledge graph your agent can search without reading t
Sobre AI
Context tools for coding agents that run on your machine and nowhere else. An MCP server, hooks and a CLI that
Related Agents
Doc To Markdown
Expert converter of PDF, Word, PowerPoint and Excel files to faithful, page-cited Markdown for cheaper and mor
Fulltext Dossier
Given one or more PMIDs/DOIs, fetches the full text (open access) and produces a NEUTRAL structured extraction
Research Paper Reviewer
Use this agent when you need expert-level review and analysis of academic papers, research proposals, or techn