返回顶部
d

doc2markdown

Lightweight document utility designed to convert files to Markdown (MD), built specifically for intelligent agents (e.g., OpenClaw, ClaudeCode) to read and process content. Requires no external dependencies and accurately preserves document structure and formatting. Supported formats include docx, doc, pdf, ppt, pptx, xls, xlsx, jpg, jpeg, png, ceb, teb, caj, odt, ofd, cebx, odp, ott, wps, ods, et, dps, epub, chm, sdc, sdd, sdw, mobi

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.9
安全检测
已通过
182
下载量
6
收藏
概述
安装方式
版本历史

doc2markdown

# doc2markdown Document conversion assistant that automatically converts documents to Markdown (MD), saving output to the same directory as the source file. Designed to help intelligent agents read and process document content in various formats. ## Quick Start ```bash # Convert document (auto-polls for 60s, downloads if complete, returns doc ID if timeout) node scripts/doc2markdown.js convert <file_path> # Check status and download (for documents that exceeded timeout) node scripts/doc2markdown.js check <doc_id> <original_file_path> ``` ## Capabilities - Supported formats: docx, doc, pdf, ppt, pptx, xls, xlsx, jpg, jpeg, png, ceb, teb, caj, odt, ofd, cebx, odp, ott, wps, ods, et, dps, epub, chm, sdc, sdd, sdw, mobi, etc. - Preserves document structure, tables, and images - No API Key or account required, zero external dependencies - Output directory: `{doc_id}_{filename}/` in the same directory as source file ## When to Use - User requests to "read", "extract", "convert", or "view" a document - User provides a document path and asks about its content - User needs to summarize or analyze a document - User needs to convert document content to Markdown format ## Workflow ### convert — Convert Document 1. Invoke file parsing service 2. Auto-poll conversion status (up to 60 seconds) 3. **Completes within 60s** → Auto-download and extract to source file directory 4. **Exceeds 60s** → Return doc ID for subsequent `check` query ### check — Query and Download 1. Provide the previously returned doc ID 2. Download if complete, otherwise continue polling for 60 seconds 3. Prompt to retry later if still not complete ## Data & Privacy - `convert` uploads files to the docchain cloud service (`lab.hjcloud.com`) for parsing. Results are returned as a ZIP archive and extracted locally. - All transfers use HTTPS encryption. - Before converting documents with sensitive content, please verify that the service's data retention policy meets your security requirements. - For details, visit https://lab.hjcloud.com/llmdoc ## Feedback & Support For parsing errors, format issues, or other problems, please submit an issue on GitHub: https://github.com/wct-lab/docchain-skills

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 doc2markdown-1776010212 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 doc2markdown-1776010212 技能

通过命令行安装

skillhub install doc2markdown-1776010212

下载 Zip 包

⬇ 下载 doc2markdown v1.0.9

文件大小: 6.33 KB | 发布时间: 2026-4-13 10:04

v1.0.9 最新 2026-4-13 10:04
- No user-visible changes or documentation updates; internal scripts updated only.
- Skill description, usage, and instructions remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部