agentic-doc-parse-and-extract

Installation
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.
Installs
12
GitHub Stars
4
First Seen
Apr 16, 2026