Xpersona
D

Doc2Markdown

CLAWHUB · Unverified

Lightweight document utility designed to convert files to Markdown (MD), built specifically for intelligent agents (e.g., OpenClaw, ClaudeCode) to read and p... Skill: Doc2Markdown Owner: haoyt27 Summary: Lightweight document utility designed to convert files to Markdown (MD), built specifically for intelligent agents (e.g., OpenClaw, ClaudeCode) to read and p... Tags: latest:1.0.11 Version history: v1.0.11 | 2026-09-01T09:43:14.260Z | user - Added optional API Key support for authenticated and prioritized document conversions. - Described new API Key configuration methods (

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176wka5k9tndes5c8r6m5hg3583jfsg:doc2markdown
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-haoyt27-doc2markdown/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

34,263 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: doc2markdown
description: 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
homepage: https://lab.hjcloud.com/llmdoc
metadata: {"openclaw":{"emoji":"📄","requires":{"bins":["node"]}}}
---
# 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>     # Downloads MD package
node scripts/doc2markdown.js convert <file_path> --md  # Downloads single MD file

# Check status and download (for documents that exceeded timeout)
node scripts/doc2markdown.js check <doc_id> <original_file_path>     # Downloads MD package
node scripts/doc2markdown.js check <doc_id> <original_file_path> --md  # Downloads single MD file
```

## 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
- API Key is **optional**, zero external dependencies. Without an API Key doc2markdown works exactly as before (anonymous upload); with one configured, the convert request is authenticated. See [API Key (Optional)](#api-key-optional)
- Downloaded ZIP files are extracted to `{doc_id}_{filename}/` under the source file's parent directory; single MD files are saved directly there

## 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 package

## Download Modes

This tool supports two download modes:

- **`--md` mode**: Downloads a single merged MD file to the source file's parent directory. Images are not included
- **MD package**: Downloads and extracts a ZIP package to `{doc_id}_{filename}/` in the source file's parent directory. Includes image files and tables, tables are rendered in HTML format

### Choosing the Right Mode

| User Intent | Example Phrases | Mode to Use |
|---|---|---|
| Read / view / analyze a document | "read this file", "what's in this doc", "summarize this PDF" | `--md` (single MD file) |
| Explicitly convert to MD | "convert to MD", "export as markdown", "转成MD" | MD package (default, no `--md`); use `--md` only if user specifically asks for a single file |

#

_meta.json

{
  "ownerId": "kn740kmp41egthzfks3bd86wbx83fjtr",
  "slug": "doc2markdown",
  "version": "1.0.11",
  "publishedAt": 1788255794260
}

skill-card.md

## Description:

Doc2Markdown converts common document, image, and ebook formats to Markdown so agents can read, summarize, or analyze the contents.

This skill is ready for commercial/non-commercial use.

## Publisher:

[haoyt27](https://clawhub.ai/user/haoyt27)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to convert local documents into Markdown for reading, extraction, summarization, and analysis.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Selected local documents are uploaded to lab.hjcloud.com for conversion during ordinary read, summarize, or conversion workflows.

Mitigation: Avoid confidential, regulated, or proprietary documents unless the service handling terms have been verified; prefer explicit conversion requests.

Risk: Configuring DOCCHAIN_SKILLS_API_KEY enables authenticated requests to the third-party conversion service.

Mitigation: Only configure DOCCHAIN_SKILLS_API_KEY when authenticated priority conversion is intended, and handle the key as a secret.

## Reference(s):

- [Doc2Markdown ClawHub release page](https://clawhub.ai/haoyt27/skills/doc2markdown)
- [Doc2Markdown service endpoint](https://lab.hjcloud.com/llmdoc)
- [Docchain Skills GitHub support](https://github.com/wct-lab/docchain-skills)

## Skill Output:

**Output Type(s):** [text, markdown, files, shell commands, configuration]

**Output Format:** [Markdown files or ZIP packages with terminal status text]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uploads selected documents to lab.hjcloud.com, polls conversion status for up to 60 seconds, and can use DOCCHAIN_SKILLS_API_KEY for authenticated priority requests.]

## Skill Version(s):

1.0.11 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Doc2Markdown and adjacent AI workflows.