install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aaiccee/unidoc-parser" ~/.claude/skills/openclaw-skills-unidoc-parser && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aaiccee/unidoc-parser" ~/.openclaw/skills/openclaw-skills-unidoc-parser && rm -rf "$T"
manifest:
skills/aaiccee/unidoc-parser/SKILL.mdsource content
Name: unidoc_parser Description: Parse documents using UniDoc API for conversion to Markdown or JSON format. Supports both synchronous and asynchronous parsing with automatic status polling.
UniDoc Document Parser
Overview
Parse documents using UniDoc API for conversion to Markdown or JSON format. Supports both synchronous and asynchronous parsing with automatic status polling. Ideal for converting various document formats (PDF, DOC, DOCX, images) through a cloud-based API service.
Prereqs / when to read references
If you encounter API errors, network issues, or need to understand the API endpoints, read:
references/unidoc-notes.md
Quick start (single document)
# Run from the skill directory python scripts/unidoc_parse.py /path/to/file.pdf \ --format md \ --output ./unidoc-output \ --mode sync
Options
(default:--format md|json
)md- Output format: Markdown or JSON
(default:--mode sync|async
)sync- Synchronous mode: waits for conversion to complete
- Asynchronous mode: polls status until completion
(default:--func METHOD
)unisound- Conversion method/algorithm to use
(default:--output DIR
)./unidoc-output- Output directory for converted files
(optional)--uid UUID- Custom user ID (auto-generated if not provided)
Output conventions
- Creates
by default./unidoc-output/<document_name>/ - Markdown output:
output.md - JSON output:
output.json - Output filename preserves original document name
Notes
- Requires network connectivity to UniDoc API (http://unidoc.uat.hivoice.cn)
- Supports multiple file formats: PDF, DOC, DOCX, PNG, JPG, etc.
- Async mode polls every 1 second until completion
- Max file size and rate limits depend on API service configuration
- For large files or batch processing, prefer async mode