doc-parse SKILL.md skillA
doc-parse from anbeime/skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add anbeime/skill/doc-parse@git:20260902.d0fbb12Pins git:20260902.d0fbb12 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- anbeime/skill
- Path
antinet-agentteams/skills/doc-parse/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260902.d0fbb12, committed Sep 2, 2026
- Size
- 2,135 bytes
- Repository stars
- 8,334
- License
- none declared
将 PDF/PPT/Excel/Word 等多格式文档解析为结构化 Markdown,并输出元数据与解析置信度,作为 RAG 与四色卡片的数据底座。.
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
# 多格式文档解析 Skill(密卷房)
## 使用方式
- 由密卷房 Worker 在收到已通过安全扫描的文件时调用。
- 三级 fallback 依次尝试,输出最终结构化结果与置信度。
## 输入(Input)
- `file_path`:已通过 security-scan 的本地文件路径
- `formats`:(可选)期望支持的格式白名单,默认全格式
## 输出(Output)
- `markdown`:结构化 Markdown 正文
- `metadata`:标题、页数、表格数、作者等元数据
- `confidence`:0–1 解析置信度
- `fallback_used`:最终生效的解析器名称
## 依赖(Dependencies)
- MinerU(首选,强排版还原)
- PyMuPDF(次选,PDF 快速解析)
- pdfplumber(兜底,表格/文本抽取)
- `python-magic`(类型探测)
## 失败处理(Failure Handling)
- 主解析器失败 → 自动降级到下一档,直到全部尝试。
- 三级全部失败 → 标记 `人工介入`,不输出残缺结果,回传 BLOCKED 给军机处。
- 单页超大文件 → 分块解析后拼接,避免内存溢出;块级失败仅标记该块低置信度。
## 复用价值(Reuse Value)
- 通用解析底座:RAG 索引、企业知识库、合同结构化均可直接复用。
- 置信度透明:下游(通政司四色卡片)可据此决定是否需要人工复核,降低幻觉风险。
## 复赛代码包执行(runnable package)
- 真实入口:`scripts/run_doc_parse.py`
- 执行等价于 `core.runtime.AgentSession.run_stage("doc-parse")`,调用 `archive.mijuanfang.MiJuanFangAgent`(三级解析 fallback,纯 Python 可离线)。
- 运行:`python skills/doc-parse/scripts/run_doc_parse.py`
- 产物:`examples/snse_survey/skill_outputs/doc_parse.json`(解析结果 + 置信度 + fallback 信息)。Read the whole file at its exact version.
How to install
mdr add anbeime/skill/doc-parse@sha256:a5f00520a2aa51c9The line at the top of this page pins the label git:20260902.d0fbb12, 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.
[](https://markdownregistry.com/a/art_allb4eqyoz4ib2pe)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 2, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2135 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
anbeime/skill · 8,334 stars · license none declared · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_allb4eqyoz4ib2pe GET https://markdownregistry.com/api/v1/resolve?ref=anbeime/skill/doc-parse GET https://markdownregistry.com/api/v1/blob/a5f00520a2aa51c9642c323db7481f829143fc574df7bd9fe017c85fda110e7f
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.