Token导航 LogoToken导航

Agent Skill · 研究检索

agentic-doc-parse-and-extract(Agent 文档解析和提取)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

agentic-doc-parse-and-extract 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 73,133。

总安装 168周安装 7GitHub Stars 公开资料未说明下载 56核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agentic-doc-parse-and-extract(Agent 文档解析和提取)
来源仓库:https://github.com/laiye-ai/adp-cli
仓库路径:skills/agentic-doc-parse-and-extract
安装命令:
npx skills add https://github.com/laiye-ai/adp-cli --skill agentic-doc-parse-and-extract
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/laiye-ai/adp-cli --skill agentic-doc-parse-and-extract

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助文档、README 和 Markdown 内容的解析与提取。适合让 Agent 提炼结构、补齐章节或统一术语。使用时应保留项目已有事实,避免将未确认信息写成确定结论。涉及对外文案时需控制语气,避免过度营销或夸大能力。建议结合项目上下文进行内容改写,保持一致性。

agentic-doc-parse-and-extract 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/agentic-doc-parse-and-extract

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/laiye-ai/adp-cli --skill agentic-doc-parse-and…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agentic-doc-parse-and-extract 怎么安装?

在终端执行 npx skills add https://github.com/laiye-ai/adp-cli --skill agentic-doc-parse-and-extract。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agentic-doc-parse-and-extract 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agentic-doc-parse-and-extract 需要什么权限?

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

agentic-doc-parse-and-extract 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agentic-doc-parse-and-extract 用的人多吗?

公开数据是累计安装 168 次,近一周安装 7 次,下载 56 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agentic-doc-parse-and-extract 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agentic-doc-parse-and-extract

Agent 文档解析和提取 · 本页

168—接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

agentic-doc-parse-and-extract Skill

agentic-doc-parse-and-extract is an official command-line tool released by Laiye Technology's ADP (Agentic Document Processing) product, enabling both humans and AI agents to invoke ADP capabilities in the terminal for document parsing and extraction.

Quick Start Guide for AI Agents

Core Workflow

  1. Install dependencies: On first execution, install the ADP CLI tool and dependencies by following the instructions in references/examples.md.
  2. Discover commands: Run adp schema to get the machine-readable JSON spec of all commands, parameters, types, and defaults.
  3. Authentication: On first execution, run adp config get to verify credentials. If no valid configuration exists, prompt the user to provide an API Key.
  4. Check Application: On first execution, retrieve the application list via adp app-id list. For subsequent executions, prioritize adp app-id cache (cached in context). If the cache is unavailable, refresh it by calling adp app-id list again.
  5. Execute: Run adp extract url <URL> --app-id <ID> or adp parse url <URL> --app-id <ID>.
  6. Query: Check results asynchronously with adp extract query <task_id> or adp parse query <task_id>.
  7. Error handling: When a command fails, parse the stderr JSON to determine error type and recovery action. See references/error-handling.md.

Common Scenarios → Command Mapping

User IntentRecommended CommandHandling Rules
- Read full document content- Parse layout & structure- Convert document to text- Process / analyze full documentadp parse- Sync processing for small files- Async processing (--async parameter) for files >20MB or >200 pages
- Extract key fields (amount, date, name, ID, etc.)- Output structured results (JSON/table)adp extract- Use Extract directly, no need to parse first- Use matched existing app- Create a custom extraction app if the document type is not in the known app list
Batch processing of local filesadp extract local <folder path> adp parse local <folder path>Batch processing can accept files from the local folder.
Batch processing of URL filesadp extract url <URL list file path> adp parse url <URL list file path>If you need to process multiple URLs in a batch, you can first save the list of URLs in a text file, and then input the corresponding URL of this text file to achieve batch processing at once.

Note:

  • The adp extract command has built-in document parsing capabilities. After ADP automatically parses the document, it performs structured extraction. Therefore, when users need to extract the structured content of the document, there is no need to use apd for parsing.
  • URL list file format: A plain text file where each line is a URL pointing to a document to be processed.

Quick Reference for Common Commands

# Command Discovery (for Agent introspection)
adp schema

# Configuration Check
adp config get

# Query Applications (First Use)
adp app-id list

# Document Extraction (Invoice/Receipt)
adp extract url <file URL> --app-id <app_id>

# Document Parsing (Long Document)
adp parse url <file URL> --app-id <app_id>

# Base64 Input
adp extract base64 <base64_string> --app-id <app_id> --file-name invoice.pdf
adp parse base64 <base64_string> --app-id <app_id> --file-name document.pdf

# Asynchronous Query
adp extract query <task_id>
adp parse query <task_id>
adp parse query <task_id1> <task_id2> --watch  # batch query with auto-poll

# Batch Processing
adp extract local <folder path> --app-id <app_id> --export <folder path> --concurrency 2
adp parse local <folder path> --app-id <app_id> --export <folder path> --concurrency 2

Performance Optimization Suggestions

  • Reuse APP_ID: Cache it in the context after one query to avoid calling app-id list every time.
  • Sync First: For small files (<20MB), prioritize using synchronous calls to avoid asynchronous polling.
  • Batch Processing: Processes multiple documents via url <URL list file path> or local <folder path> in a single run, without looped invocations. Default --concurrency 2.
  • Local Cache: Store commonly used APP_IDs in environment variables or configuration files.
  • Priority Extraction: If only key information needs to be extracted, use extract instead of parse (faster).
  • Use --retry for batch: Set --retry 2 for batch processing to auto-recover from transient failures.
  • Use --timeout for large files: Increase --timeout for files >20MB. Default is 900s.

Detailed Product Introduction

Core Function Definition

  • parse: Parses the entire document to retrieve full text, layout, structure, and content.
  • extract: Extracts specific structured fields from the document, such as amount, date, company name, and order number.

Application Scenarios

  • Long Document Parsing: Efficiently process long documents with fast parsing speed, accurately extract multiple elements such as text, tables and images, replace manual extraction, and improve efficiency.
  • Structured Extraction for Scanned/Photographed Documents: For scanned documents and photos, complete structured extraction in reading order, generate clear and editable electronic documents, and eliminate manual entry errors.
  • Intelligent Invoice Extraction: After uploading invoice images/documents, AI automatically invokes preset applications to accurately extract 10+ key fields such as invoice number and amount, suitable for financial filing scenarios.
  • Intelligent Order Extraction: Support batch upload of orders from multiple distributors, AI extracts 10+ key fields such as order number and buyer-seller information, automatically identifies currencies, and reduces manual verification costs.
  • Domestic ID Document Extraction: Process in seconds, supporting the identification and extraction of more than 10 common types of documents in China; for example, core information such as name and ID number can be quickly extracted from ID card scans.
  • Automatic Splitting and Extraction of Mixed Documents: Batch upload mixed documents such as contracts and invoices, AI automatically classifies, splits and completes structured extraction to improve processing efficiency.
  • Batch Document Processing: Support batch upload of various business documents, extract information and output standardized structured data, reducing repetitive manual operations.

Detailed Usage Steps

Step 1: Obtain the Installation Package

For details, see references/examples.md

Step 2: Obtain and Configure API Key

1. Access the ADP Portal to Obtain Credentials

We provide independent Public Cloud access addresses for domestic and international users, which need to be configured separately by region. Accessing nearby can better ensure high-speed and stable calls across the network.

RegionLogin AddressAPI Base URL
Chinese Mainlandhttps://adp.laiye.com/https://adp.laiye.com/
Overseas Regionhttps://adp-global.laiye.com/https://adp-global.laiye.com/
2. Get API Key after registration/login

New users need to register an ADP account first, and after registration, they can get 100 free credits/month

  • After logging in, click on the personal avatar, and you can directly access the API_Key entry.
3. Complete the authentication configuration

For details, see references/examples.md

4. Verify the configuration

For details, see references/examples.md

Notes:

  1. If API Key and API Base URL have been configured, the configuration information needs to be stored in environment variables to avoid uploading configuration items every time they are used.
  2. If API Key and API Base URL have not been configured yet, they need to be configured according to the above steps.

Step 3: Upload Documents

After completing the authentication of the API Key, guide the user to upload local files or specify the file URL. After the user uploads the document, they can query the supported application scope of ADP and select the appropriate application for document parsing and extraction. If no suitable application is found, they can choose to create a custom extraction application, configure exclusive fields and parsing modes to meet the personalized document processing requirements.

Step 4: Query Available Applications

This function is used to query the built-in applications under the user's account (such as invoices/receipts, orders, common cards and certificates in China region, etc. which are standardized documents). Based on the app-label, you can assist in filtering the suitable application IDs. If no suitable application is found, you can choose to create a custom extraction application, configure specific fields and parsing modes to meet the personalized document processing requirements.

Notes:

  1. For the first execution, use adp app-id list. For subsequent executions, prefer to use adp app-id cache (cache the application ID in the context). If the cache becomes invalid or there are no suitable applications in the cache, call adp app-id list again to update the cache.

For detailed examples of commands and responses, see references/examples.md.

Step 5: Add custom extraction application

Support creating custom extraction applications, and independently add business-specific extraction fields as needed, and improve the detailed description of each field; the system will accurately identify the document content based on the configured fields and definitions, and complete customized information extraction for personalized documents and non-standard forms.

For example commands, responses, and detailed parameter descriptions, please refer to references/examples.md

Step 6: Execute Document Processing

Single Document Parsing

Perform document parsing based on the selected application ID, which will return a formatted JSON result containing information such as document content, element position coordinates, OCR Confidence Level, etc.

For examples of commands and responses, please refer to references/examples.md

Single Document Extraction

Perform document extraction based on the selected application ID, which will return a formatted JSON result containing information such as extraction fields, extraction results, and Confidence Level.

For examples of commands and responses, please refer to references/examples.md

Batch Document Processing

ADP supports batch processing capabilities. Users can upload multiple file URLs or local folder paths at once, and the system will automatically identify each document type and match the most suitable application for processing, greatly improving the efficiency of batch document processing.

For detailed command examples, see references/examples.md

Note: The number of concurrent requests is limited to 1 for free users, while enterprise users can adjust it according to their needs, with a maximum support of 2.

Asynchronous Processing (Suitable for Large Documents)

ADP provides asynchronous processing capabilities, allowing users to choose asynchronous mode to perform document parsing and extraction. The system will return a task ID, and users can periodically query the task status and results through the query interface, which is suitable for processing complex documents or batch documents with long processing times. If the document uploaded by the user is larger than 20MB or contains more than 200 pages, it is recommended to use the asynchronous processing mode.

For examples of commands and responses, see references/examples.md


Complete Command List

For a complete list of all available commands with full parameter specs, see references/commands.md

Response Schema Reference

For the output structure of each command (including batch processing output mechanism), see references/response-schema.md

Error Handling Guide

For error codes, types, and Agent auto-recovery strategies, see references/error-handling.md


Precautions

When using ADP output, always present the returned data as-is. Do not modify, add, or remove any fields during extraction or parsing to ensure data integrity.

  1. API Key Security: Please keep your API Key secure and avoid disclosing it to unauthorized third parties.
  2. API Base URL Configuration: Select the corresponding address based on the region. For Chinese Mainland, use https://adp.laiye.com/, and for overseas regions, use https://adp-global.laiye.com/
  3. File Size Limit: The maximum size of a single file is 50MB
  4. Supported Formats:.jpg,.jpeg,.png,.bmp,.tiff,.tif,.pdf,.doc,.docx,.xls,.xlsx
  5. Free Quota: New users receive 100 free credits per month, which are reset at the beginning of each month. Credits can be used for document parsing and extraction processing.
  6. Check Balance: Run adp credit to check the current account's credit balance.
  7. Billing Rules:

- Document parsing: 0.5 credits per page - Invoice/receipt extraction: 1.5 credits per page - Order extraction: 1.5 credits per page - Custom extraction: 1 credit per page

  1. App ID Reuse: The app ID used by the user can be remembered for direct use next time, eliminating the need to enter the app_id after each query. The app ID under each user is unique and fixed; unless the user deletes the app, the app_id will not change, and the previously queried app_id can be directly used for document processing calls.

Related Resources


Copyright © 2026 [Laiye Technology (Beijing) Co., Ltd.] All rights reserved.

平台分布

Codex

36.7%
按下载量换算21

Claude

33.78%
按下载量换算19

Cursor

18.26%
按下载量换算10

Gemini CLI

9.06%
按下载量换算5

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills