Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .claude/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add athola/claude-night-market --skill document-conversion -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .agents/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add athola/claude-night-market --skill document-conversion -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .cursor/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add athola/claude-night-market --skill document-conversion -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .gemini/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add athola/claude-night-market --skill document-conversion -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .github/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add athola/claude-night-market --skill document-conversion -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "document-conversion" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/document-conversion into .opencode/skills/document-conversion/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-conversion", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
document-conversion
GitHub stars
342
Token cost
~1.3k tokens
SKILL.md length
534 words
Files
5
Skills in repo
160
Repo updated
First seen
Licence
MIT
At a glance
Converts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice).
A skill must ingest PDF
SKILL.md covers When To Use, When NOT To Use, Format Detection and Conversion Protocol, plus 3 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
Tasks that involve Document parsing
What it does
Document Conversion is an agent skill from athola/claude-night-market. Converts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice). Use when a skill must ingest PDF, DOCX, or URL content.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `modules/fallback-tiers.md`, `modules/format-matrix.md` and `modules/project-import.md`).
It sits in Documents & Office, covering Document parsing and Word documents. It works with Model Context Protocol, MarkItDown, Microsoft Word and Microsoft Excel. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.
When your agent uses it
A skill must ingest PDF
Tasks that involve Document parsing
Tasks that involve Word documents
Example prompts
“Use the document-conversion skill to convert documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice)”
“/document-conversion”
What it can do on your machine
Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Document Conversion loads about 1.3k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 534 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~45
When it runs· the whole SKILL.md, loaded when a task matches
~1.3k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/document-conversion/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
document-conversion
description
Converts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice). Use when a skill must ingest PDF, DOCX, or URL content.
Convert documents and URLs to markdown using a three-tier
fallback strategy. This skill is infrastructure: consumer
skills reference it via dependency rather than reimplementing
conversion logic.
When To Use
Converting PDF, DOCX, PPTX, XLSX, HTML, or images to
markdown for downstream processing
Any skill that ingests external documents
Importing an external document into the project as an
editable markdown file (see modules/project-import.md)
File format is not plain text or markdown
When NOT To Use
Content is already markdown or plain text
You only need to read a small text file (use Read directly)
Format Detection
Identify the document type from the URI before converting.
Extension
Format
Tier 1
Tier 2
.pdf
PDF
Yes
Read tool (pages)
.docx, .doc
Word
Yes
None
.pptx, .ppt
PowerPoint
Yes
None
.xlsx, .xls
Excel
Yes
None
.html, .htm
HTML
Yes
WebFetch
.csv
CSV
Yes
Read tool
.json
JSON
Yes
Read tool
.xml
XML
Yes
Read tool
.png, .jpg, .jpeg, .gif, .webp
Image
Yes
Read tool (visual)
.mp3, .wav, .m4a
Audio
Yes
None
.zip
Archive
Yes
None
.epub
E-book
Yes
None
See modules/format-matrix.md for quality comparison
across tiers.
Conversion Protocol
To convert a document to markdown:
1. DETECT -- Identify format from URI extension or context
2. TRY -- Tier 1: MCP markitdown (best quality)
3. DEGRADE -- Tier 2: native Claude Code tools (if Tier 1 fails)
4. INFORM -- Tier 3: tell user what's needed (if no coverage)
5. SANITIZE -- Apply content-sanitization (external content)
Tier 1: MCP markitdown
Call the convert_to_markdown MCP tool with the document URI.
See modules/uri-construction.md for URI formatting rules.
If the tool is available and succeeds, you have the best
possible conversion. Proceed to the SANITIZE step.
If the tool is not available (not found, connection error)
or fails, proceed to Tier 2.
Tier 2: Native Claude Code Tools
Use built-in tools as format-specific fallbacks.
See modules/fallback-tiers.md for per-format instructions.
Supported in Tier 2: PDF, HTML, images, CSV, JSON, XML.
Not supported in Tier 2: DOCX, PPTX, XLSX, audio,
archives, e-books. Proceed to Tier 3 for these.
Tier 3: User Notification
When neither Tier 1 nor Tier 2 can handle the format:
I cannot convert this {format} file without the markitdown
MCP server. To enable conversion, add this to .mcp.json:
URI construction rules: modules/uri-construction.md
Importing a document as an editable project file (cleanup,
target path, review markers): modules/project-import.md
Exit Criteria
Conversion tier attempted in order: Tier 1 (MCP markitdown)
first; Tier 2 (native tools) only if Tier 1 is unavailable or
fails; Tier 3 (user notification with install instructions) only
if Tier 2 has no coverage for the format
Converted content wrapped in
--- EXTERNAL CONTENT [source: <tool>] --- boundary markers
and truncated to 2000 words per section before being passed
downstream
For DOCX, PPTX, XLSX, audio, archives, and e-books with no
Tier 2 coverage, the exact Tier 3 user notification template is
shown including the .mcp.json snippet
Format detected from URI extension before attempting
conversion; unknown extension surfaced to the user rather than
passed to converters blindly
Document Conversion next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Document Conversion compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Document Conversion this skillathola/claude-night-market
Converts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice). Document Conversion is an agent skill from athola/claude-night-market. Converts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice).
When should I use Document Conversion?
Document Conversion fits situations like: A skill must ingest PDF; tasks that involve Document parsing; tasks that involve Word documents.
How do I install Document Conversion in Claude Code?
Run `npx skills add athola/claude-night-market --skill document-conversion -a claude-code`. Or copy the skill folder (plugins/leyline/skills/document-conversion in athola/claude-night-market) into .claude/skills/document-conversion in your project. Claude Code loads it when a task matches its description.
How do I install Document Conversion in Codex?
Run `npx skills add athola/claude-night-market --skill document-conversion -a codex`. Or copy the skill folder (plugins/leyline/skills/document-conversion in athola/claude-night-market) into .agents/skills/document-conversion in your project. Codex loads it when a task matches its description.
Can I use Document Conversion in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill document-conversion -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/document-conversion, .gemini/skills/document-conversion, .github/skills/document-conversion and .opencode/skills/document-conversion in your project.
What does Document Conversion need to run?
SKILL.md names no scripts, command-line tools or credentials: Document Conversion is instructions for the agent only.
Does Document Conversion access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Document Conversion safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Document Conversion use?
Document Conversion is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Document Conversion use?
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Document Conversion?
Skills that share tags, products or a category with Document Conversion: Office File Process (xstongxue/best-skills, 2.9k stars), Markdown Converter (Team-Commonly/commonly, 1.4k stars), Markitdown (ImCa0/just-laws, 781 stars) and Markitdown (jimmc414/Kosmos, 594 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Document Conversion?
athola (a GitHub user) maintains it in athola/claude-night-market, which has 342 GitHub stars. The repository holds 160 skills in this directory. The repository was last updated on October 6, 2026.
Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.