doc-convert SKILL.md skillA

doc-convert from zwolf25/tokenminning is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zwolf25/tokenminning/doc-convert@git:20260907.723b1fa

Pins git:20260907.723b1fa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zwolf25/tokenminning
Path
tools/doc-convert/SKILL.md
Versions recorded
1
Latest version
git:20260907.723b1fa, committed Sep 7, 2026
Size
4,421 bytes
Repository stars
33
License
MIT

Convert documents locally, without spending model tokens — PDF/DOCX/PPTX/XLSX → Markdown, and Markdown → styled DOCX (using a named style preset, e.g. `default` or `report`). Local, CloudConvert-style tool; runs as a subprocess, so it costs no model tokens. Use when the user says "convert this to markdown", "pdf to md", "docx to markdown", "pptx to markdown", "what's in this deck", "read this presentation", "turn this markdown into a Word doc", "convert to docx", "md to docx", or gives a…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# doc-convert

Local, token-free document conversion. Two directions, routed by the **input** file extension:

- **DOCX/XLSX/PPTX/RTF/ODT/ODS/ODP/EPUB/CSV/text-based PDF → Markdown** — via `anydoc_to_md.py` (Firecrawl's AnyDoc library), run through `uv run`. Falls back to `markitdown` for anything AnyDoc doesn't cover (scanned/image-heavy PDFs, HTML, images) or if AnyDoc errors.
- **Markdown → styled DOCX** — via `convert.js`, applying a style preset (default = `styles/default.json`).

**Token rule (do not break):** the conversion happens in a subprocess. Run it, then report the output path + the one-line status the tool prints. **Never read the converted file back into context** — a large document echoed into the chat is thousands of wasted tokens. The user asked for a file on disk, not the content in the conversation.

## Step 1 — Prereq gate (offer the fallback ladder, don't dead-end)

Check what's installed before running:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zwolf25/tokenminning/doc-convert@sha256:54097e1b2de2fa24

The line at the top of this page pins the label git:20260907.723b1fa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jqy75h7igan3k76q.svg)](https://markdownregistry.com/a/art_jqy75h7igan3k76q)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 7, 2026.

versioncommittedcommitsizeaudit
git:20260907.723b1fa latest2026-09-07 723b1fa 4,421 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4421 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

zwolf25/tokenminning · 33 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jqy75h7igan3k76q
GET https://markdownregistry.com/api/v1/resolve?ref=zwolf25/tokenminning/doc-convert
GET https://markdownregistry.com/api/v1/blob/54097e1b2de2fa247a8fb5fadea29f908168ca569042601870d423697f13d440

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from zwolf25/tokenminning

visual-diff SKILL.md skill
zwolf25/tokenminning · tools/visual-diff/SKILL.md · Run this BEFORE viewing (Read-ing) any screenshot, slide export, or UI mockup image to check whether an AI-made edit…
git:20260914.7766564 · audit A · 33 stars

Every file in zwolf25/tokenminning

Other files named doc-convert

doc-convert SKILL.md skill
zju-real/easel · skills/builtin/doc-convert/SKILL.md · 把 Markdown 文稿排版并转换为 HTML、可打印 PDF 或长图 PNG。当用户说“Markdown/MD 转 HTML/PDF/图片、文章导出长图、MD 排版/渲染”时使用。仅处理 Markdown;DOCX/PPT…
git:20261012.0d53744 · audit A · 3,982 stars

Browse by kind, by grade A, or by owner.