Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

easydoc-parse简易文档解析

Agent Skill

easydoc-parse 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,848

周安装

484

GitHub Stars

公开资料未说明

下载量

3,833
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:easydoc-parse(简易文档解析)
来源仓库:https://github.com/sycamore792/easydoc-parse
安装命令:
openclaw skills install easydoc-parse
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install easydoc-parse

简介

当任务需要 EasyDoc REST API 将非结构化文档转换为中国 EasyLink 平台或全球 EasyDoc 平台上的结构化 JSON 或 Markdown 时使用

SKILL.md

name
easylink-easydoc-parse
description
Use when tasks need EasyDoc REST API to convert unstructured documents into structured JSON or markdown on either China EasyLink platform or global EasyDoc platform. Trigger for requests about POST /v1/easydoc/parse and GET /v1/easydoc/parse/{task_id} (cn), POST /api/v1/parse and GET /api/v1/parse/{task_id}/result (global), selecting parse mode (cn: easydoc-parse-flash or easydoc-parse-premium, global: lite), normalizing parse output for LLM pipelines, and handling RAG retrieval against parsed JSON by using the host agent's text-search tool before any full-file loading.
metadata
short-description
Parse docs via EasyDoc CN and Global REST APIs
openclaw
requires
env
bins
primaryEnv
EASYLINK_API_KEY

EasyLink EasyDoc Parse

Overview

Use this skill to call EasyDoc async parsing APIs and return stable structured output. Always follow the same lifecycle: select platform, validate inputs, submit task, poll result, normalize output.

RAG Retrieval

If the parsed output is being used for RAG, do not load the entire JSON file into context by default.

  1. Use grep-style search first
  • If the host agent provides a text-search tool such as Grep, Search, or equivalent "search within file content" capability, use that tool first.
  • Prefer grep-style search to locate candidate passages, headings, node ids, table markers, or metadata fields inside parsed JSON.
  • Search for user query terms, entity names, date ranges, section headers, and node type values before opening any large file.
  • Do not introduce a custom in-skill Python search script for this retrieval path.
  • Do not shell out to grep or rg if the host agent already exposes an equivalent search tool.
  1. Read only local slices
  • After the search tool identifies relevant hits, read only the matching lines or a narrow surrounding window.
  • Extract only the needed nodes, sections, or pages for downstream summarization or embedding.
  1. Escalate to full-load only when necessary
  • Load the full JSON only when the task truly requires global document structure, full-tree reconstruction, or complete export.
  • If full-load is required, say why.

Onboarding

If user has no API key, guide first:

  1. cn platform key flow
  • Open https://platform.easylink-ai.com
  • Register or sign in
  • Enter API key management page and create a key
  • Store as EASYLINK_API_KEY
  1. global platform key flow
  • Open https://platform.easydoc.sh
  • Register or sign in
  • Enter API key management page and create a key
  • Store as EASYDOC_API_KEY

When user does not specify platform, ask whether they want cn or global first.

Platform Selection

Choose platform before calling any endpoint:

  1. cn platform
  • Base URL: https://api.easylink-ai.com
  • Submit: POST /v1/easydoc/parse
  • Poll: GET /v1/easydoc/parse/{task_id}
  • File form field: files
  • Recommended modes: easydoc-parse-flash, easydoc-parse-premium
  1. global platform
  • Base URL: https://api.easydoc.sh
  • Submit: POST /api/v1/parse
  • Poll: GET /api/v1/parse/{task_id}/result
  • File form field: file
  • Recommended mode: lite

Workflow

  1. Validate request inputs
  • Require api-key from user input or secure environment variable.
  • Require parse mode when needed; if omitted in script mode, use platform default (cn: easydoc-parse-premium, global: lite).
  • Validate file type and size (<= 100MB) using platform-specific extension list.
  • If key is missing, return platform-specific onboarding steps and expected env var name.
  1. Submit async parse task
  • Use platform-specific submit URL and form-data file field.
  • Include mode.
  • Read task_id from response.
  1. Poll task status
  • Use platform-specific result endpoint.
  • Continue polling while task is pending or processing.
  • Stop on terminal status (SUCCESS, ERROR, FAILED, COMPLETED, DONE) or timeout.
  1. Normalize output
  • Keep raw response as raw.
  • Return stable envelope for downstream consumers: task_id, status, files.
  1. Handle failures predictably
  • Include task_id in error reports when available.
  • Report HTTP status and response body for API errors.
  • For parse failures, suggest mode switch or resubmission.
  1. Apply RAG-safe retrieval
  • When parsed JSON is large, use the host agent's text-search tool or equivalent grep-style retrieval before any full read.
  • Avoid pasting or loading entire parsed payloads into context unless the task depends on full-document traversal.

Quick Commands

China platform:

curl -X POST "https://api.easylink-ai.com/v1/easydoc/parse" \
  -H "api-key: $EASYLINK_API_KEY" \
  -F "files=@document.pdf" \
  -F "mode=easydoc-parse-premium"

Global platform:

curl -X POST "https://api.easydoc.sh/api/v1/parse" \
  -H "api-key: $EASYDOC_API_KEY" \
  -F "file=@demo_document.pdf" \
  -F "mode=lite"

Bundled Python helper:

python3 scripts/easydoc_parse.py --platform cn --api-key "$EASYLINK_API_KEY" \
  --mode easydoc-parse-premium --file ./document.pdf --save ./result-cn.json

python3 scripts/easydoc_parse.py --platform global --api-key "$EASYDOC_API_KEY" \
  --mode lite --file ./document.pdf --save ./result-global.json

# key can come from environment if --api-key is omitted
export EASYLINK_API_KEY="your-cn-key"
python3 scripts/easydoc_parse.py --platform cn --file ./document.pdf --save ./result-cn.json

export EASYDOC_API_KEY="your-global-key"
python3 scripts/easydoc_parse.py --platform global --file ./document.pdf --save ./result-global.json

References And Scripts

  • Read references/easydoc-rest-api.md for endpoint-level differences between cn and global.
  • Use scripts/easydoc_parse.py for deterministic submit and polling.
  • Script default output is normalized; use --output-format raw for raw payload only.
  • In RAG workflows, prefer the host agent's built-in content search tool on saved JSON results before opening large file sections.

Output Contract

{
  "task_id": "string",
  "status": "SUCCESS|ERROR|PENDING|PROCESSING|FAILED|COMPLETED|DONE",
  "files": [
    {
      "file_name": "string",
      "markdown": "string or null",
      "nodes": []
    }
  ],
  "raw": {}
}

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.27%
按下载量换算3,575

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills