docmark-md-converter SKILL.md skillA

docmark-md-converter from yzm686/dsh-ocr-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yzm686/dsh-ocr-skill/docmark-md-converter@git:20260911.5cb93a1

Pins git:20260911.5cb93a1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yzm686/dsh-ocr-skill
Path
SKILL.md
Versions recorded
2
Latest version
git:20260911.5cb93a1, committed Sep 11, 2026
First version recorded
Sep 8, 2026
Size
2,953 bytes
Repository stars
3
License
MIT

Convert documents (PDF / Word / PPT / Excel, including legacy .doc/.ppt/.xls) and images (invoices, ID cards, order screenshots, general OCR) to clean, structured Markdown via the DocMark API. Use when the user needs a local file or remote http(s) URL turned into Markdown for AI/RAG, table-preserving conversion, or visual transcription. Requires DOCMARK_API_KEY.

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

# DocMark → Markdown Converter

Turn supported documents or images into clean Markdown with one HTTP request.

Supported types (server-authoritative):
- PDF `.pdf`
- Word `.docx` / `.doc`, PPT `.pptx` / `.ppt`, Excel `.xlsx` / `.xls` (legacy auto-compatible)
- Images `.jpg .jpeg .png .bmp .webp` (visual OCR; invoices / IDs / orders)

## Prerequisites

1. DocMark account and an API key: register & get your key at **https://www.prowyg.com** (new accounts get 100 free points). If the user has no key yet or runs out of points, guide them to that site to sign up / top up, then retry.
2. Put the key in `DOCMARK_API_KEY` (recommended) or pass `--key`.

## Usage

The helper lives at `scripts/convert.py` next to this SKILL.md — run by its full
path from anywhere. It talks to the two real endpoints:

- `POST {BASE}/convert` — local file (multipart `file`)
- `POST {BASE}/convert/url` — remote file (JSON `{"url": ...}`)

```bash
# Local file → Markdown (stdout or -o file)
DOCMARK_API_KEY=md_xxx python3 <skill_dir>/scripts/convert.py --file invoice.pdf
DOCMARK_API_KEY=md_xxx python3 <skill_dir>/scripts/convert.py --file a.docx -o out.md

# Remote URL (uses /convert/url, NOT ?url=)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yzm686/dsh-ocr-skill/docmark-md-converter@sha256:8c25c706c809ab60

The line at the top of this page pins the label git:20260911.5cb93a1, 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_m6xkfoyso3mqred6.svg)](https://markdownregistry.com/a/art_m6xkfoyso3mqred6)

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

Versions

The registry has recorded 2 versions of this file, between Sep 8, 2026 and Sep 11, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20260911.5cb93a1 latest2026-09-11 5cb93a1 2,953 BA view · diff
git:20260908.59ea9682026-09-08 59ea968 3,084 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 (2953 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

yzm686/dsh-ocr-skill · 3 stars · license MIT · pushed 2026-09-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_m6xkfoyso3mqred6
GET https://markdownregistry.com/api/v1/resolve?ref=yzm686/dsh-ocr-skill/docmark-md-converter
GET https://markdownregistry.com/api/v1/blob/8c25c706c809ab608e7a27a4ba8d4eff176702d6cbf674a3f346402f65b666ac

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.

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