openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > U2-doc-parser

Parse documents using UniDoc API for conversion to Markdown or JSON format. Supports both synchronous and asynchronous parsing with automatic status polling.

媒体与内容

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.5

统计:⭐ 0 · 259 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:aaiccee/u2-doc-parser

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code, docs, and runtime instructions align with its stated purpose (uploading documents to UniDoc UAT for conversion); the main risk is expected privacy exposure because files are sent to a third‑party test endpoint.

目的

Name and description (convert documents via UniDoc API) match the included files (README, SKILL.md, scripts/unidoc_parse.py). The skill requires no unrelated binaries or credentials; optional env vars (UNIDOC_BASE_URL, UNIDOC_API_KEY) are consistent with configuring the API endpoint.

说明范围

Runtime instructions and the included Python script only perform operations consistent with the stated purpose: validate and read a user-supplied file, upload it to the UniDoc endpoints, poll status (for async), and fetch converted output. The README/SKILL.md explicitly warn that documents are uploaded to an external UAT endpoint and advise not to use sensitive documents.

安装机制

No install spec; the skill is instruction+code only. It requires the standard 'requests' Python library (documented). No downloads from untrusted URLs or archive extraction are present in the manifest.

证书

The skill declares no required credentials. It optionally reads UNIDOC_BASE_URL and UNIDOC_API_KEY which are reasonable for configuring the service. The primary privacy concern is deliberate: the skill uploads files to an external UniDoc UAT server (no auth), which the documentation repeatedly warns about — this is expected for the skill but has privacy implications.

持久

Skill is not always-enabled and does not request elevated or persistent system privileges. It does create output directories if needed and validates output paths, but it does not modify other skills or system-wide agent settings.

综合结论

This skill appears to do exactly what it says: it uploads the file you provide to the UniDoc UAT service for conversion and returns Markdown/JSON. Before installing or using it, consider: 1) Do not upload sensitive or confidential documents — the skill explicitly sends files to a third‑party UAT endpoint without requiring authentication. 2) If you need to use a private UniDoc instance, set UNIDOC_BASE_URL (and UNIDOC_API_KEY if required) in a …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「U2-doc-parser」。简介:Parse documents using UniDoc API for conversion to Markdown or JSON format. Sup…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaiccee/u2-doc-parser/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

Name: u2-doc-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)
-----------------------------
```bash
# Run from the skill directory
python scripts/unidoc_parse.py /path/to/file.pdf 
  --format md 
  --output ./unidoc-output 
  --mode sync
```

Options
-------
* `--format md|json` (default: `md`)
  - Output format: Markdown or JSON
* `--mode sync|async` (default: `sync`)
  - Synchronous mode: waits for conversion to complete
  - Asynchronous mode: polls status until completion
* `--func METHOD` (default: `unisound`)
  - Conversion method/algorithm to use
* `--output DIR` (default: `./unidoc-output`)
  - Output directory for converted files
- 
* `--uid UUID` (optional)
  - Custom user ID (auto-generated if not provided)

Output conventions
------------------
* Creates `./unidoc-output/<document_name>/` by default
* 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