Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ansea09/agent-skills-and-protocols --skill doc-to-mdgit clone --depth 1 https://github.com/ansea09/agent-skills-and-protocolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ansea09/agent-skills-and-protocols/doc-to-md)<a href="https://agentmods.dev/skills/ansea09/agent-skills-and-protocols/doc-to-md"><img src="https://agentmods.dev/badge/skills/ansea09/agent-skills-and-protocols/doc-to-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ansea09/agent-skills-and-protocols/doc-to-md"><img src="https://agentmods.dev/badge/skills/ansea09/agent-skills-and-protocols/doc-to-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00139 | $0.05075 |
| Opus 5 | $0.00069 | $0.02537 |
| Sonnet 5 | $0.00028 | $0.01015 |
| Haiku 4.5 | $0.00014 | $0.00507 |
Grade A, and why
doc-to-md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doc To Md
Document Roles
This SKILL.md is the executable routing contract for the agent. Keep it short
enough to run common conversions without extra reading. Detailed workflow rules
belong in reference files and should be treated as the canonical sources.
Canonical detail sources:
references/workflow-profiles.md- route selection for standard documents, textbook audit bundles, and OCR escalation.references/diagnostics.md- diagnostic triggers, wording, and examples.references/scenario-boundaries.md- scenario classes that work well, require caveats, or are unsupported.references/audit-bundle.md- audit bundle output contract and quality interpretation.references/epub-bundle.md- LLM-ready EPUB textbook bundle contract for Codex, Claude Code, and other local agent runtimes.references/ocr-paths.md- OCRmyPDF/Tesseract path, doctor checks, and OCR limits.references/support-matrix.md- supported runtimes, portability, and platform boundaries.references/python-profiles.md- Python minor-version profile policy, support levels, and profile promotion procedure.references/lock-refresh.md- maintainer-only dependency drift and lock refresh workflow.references/maintenance-monitor.md- weekly MarkItDown upstream maintenance signal, status file, thread notification, and approval boundary.references/markitdown-upgrade.md- intentional MarkItDown converter upgrade lane and review checks.references/release-notes.md- user-visible release changes, upgrade notes, and promotion boundaries.references/threat-model.md- trusted-local threat model and hosted-ingestion boundary.references/publishing.md- public release, licensing, and transfer checks.schemas/*.schema.json- machine-readable doctor output contracts for release gates and plugin validation.
When changing a workflow, update the canonical reference first and keep this file as a compact routing summary. Do not duplicate long checklists here.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 218 B
- README.md 11 KB
- references/audit-bundle.md 3.5 KB
- references/diagnostics.md 6.7 KB
- references/epub-bundle.md 5.4 KB
- references/local-policy-migration.md 2.6 KB
- references/lock-refresh.md 6.6 KB
- references/maintenance-monitor.md 5.7 KB
- references/markitdown-upgrade.md 3.1 KB
- references/ocr-paths.md 4.1 KB
- references/publishing.md 7.2 KB
- references/python-profiles.md 4.0 KB
- references/release-notes.md 5.7 KB
- references/scenario-boundaries.md 7.8 KB
- references/support-matrix.md 5.6 KB
- references/threat-model.md 2.8 KB
- references/workflow-profiles.md 5.0 KB
- requirements-book.macos-arm64-py313.hashes.txt 418 B
- requirements-book.macos-intel-py312.hashes.txt 399 B
- requirements-book.txt 169 B
- requirements-core.macos-arm64-py313.hashes.txt 4.1 KB
- requirements-core.macos-intel-py312.hashes.txt 4.1 KB
- requirements-core.macos-intel-py312.txt 1.4 KB
- requirements-core.txt 1.2 KB
- requirements-ocr.lock.txt 697 B
- requirements-ocr.macos-arm64-py313.hashes.txt 3.2 KB
- requirements-ocr.txt 120 B
- schemas/mdown-book-doctor.schema.json 1.2 KB
- schemas/mdown-doctor.schema.json 1.4 KB
- schemas/mdown-epub-doctor.schema.json 844 B
- schemas/mdown-epub-links.schema.json 651 B
- schemas/mdown-epub-manifest.schema.json 1.1 KB
- schemas/mdown-ocrpdf-doctor.schema.json 1.3 KB
- scripts/audit_bundle_regression.py 4.2 KB runs code
- scripts/dependency_audit.py 9.7 KB runs code
- scripts/dependency_maintenance_monitor.py 13 KB runs code
- scripts/epub_bundle_regression.py 8.4 KB runs code
- scripts/install.sh 10 KB runs code
- scripts/markitdown_upstream_monitor.py 21 KB runs code
- scripts/markitdown-local 6.5 KB
- scripts/mdown_book.py 27 KB runs code
- scripts/mdown_doctor.py 16 KB runs code
- scripts/mdown_epub.py 53 KB runs code
- scripts/mdown_ocrpdf.py 36 KB runs code
- scripts/mdown-book 1.3 KB
- scripts/mdown-dependency-audit 1.1 KB
- scripts/mdown-dependency-monitor 1.1 KB
- scripts/mdown-doctor 1.4 KB
- scripts/mdown-epub 1.2 KB
- scripts/mdown-markitdown-monitor 1.1 KB
- scripts/mdown-ocrpdf 1.2 KB
- scripts/mdown-prepare-markitdown-upgrade 1.1 KB
- scripts/mdown-refresh-locks 590 B
- scripts/prepare_markitdown_upgrade_lane.py 13 KB runs code
- scripts/refresh-locks.py 18 KB runs code
- scripts/regression_corpus.py 11 KB runs code
- scripts/selftest_doc_to_md.py 9.6 KB runs code
- tests/fixtures/dependency-maintenance/ocrmypdf.json 126 B
- tests/fixtures/markitdown-upstream/pypi-current.json 197 B
- tests/fixtures/markitdown-upstream/pypi-newer.json 197 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed 4f4a9a68c2d0
- 11d ago First seen · 328 lines · 139 tokens per session scan A b7a46c16c80a
doc-to-md is a skill published in the GitHub repository ansea09/agent-skills-and-protocols (2 stars, last pushed today), licensed MIT. It adds 139 tokens to every session and 5,075 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
parse-document
Convert a PDF, scan, image of a page, or office file to clean markdown through the connected Superlinked MCP edge, so the source document is not read into model context directly. Use when the user asks to read, parse, OCR, extract from, summarize, or answer questions about a document.