AutoDoc NEXT2.0
БесплатноЗапускает вложенные скриптыНе проверенAudit one local prospectus PDF, DOC, or DOCX through PDRouter and download the annotated document with AutoDoc NEXT2.0.
от paodingai372 установки в других каталогахОб этом скилле
AutoDoc NEXT2.0
Run the JavaScript workflow that submits one local prospectus to the AutoDoc NEXT2.0 API through PDRouter
(POST /openapi/autodoc-next/audits), polls its JSON status, and downloads the annotated result in a
separate explicit command.
Installation
npx skills add PaodingAI/skills
Configure the PDRouter client credentials before running the Skill:
export PAODINGAI_API_KEY="<your-pdrouter-api-key>"
export PAODINGAI_API_BASE_URL="https://platform.paodingai.com/"
Usage
node skills/autodoc-next-prospectus-audit/scripts/audit_document.mjs start <local-file-path> [--max-wait-seconds <seconds>] [--json]
node skills/autodoc-next-prospectus-audit/scripts/audit_document.mjs watch <request_id> [--max-wait-seconds <seconds>] [--json]
node skills/autodoc-next-prospectus-audit/scripts/audit_document.mjs status <request_id> [--json]
node skills/autodoc-next-prospectus-audit/scripts/audit_document.mjs download <request_id> [--output-dir <dir>] [--json]
start validates and uploads the local file, then continuously polls until a terminal state. watch
continues polling an existing request after a local interruption. Neither command downloads a file.
status performs one foreground status query. Only download queries the terminal result and downloads
the annotated file after verifying its size and SHA-256. Return the output_file absolute path only from
the download command.
Use watch <request_id> after a client interruption or polling connection failure. Watch mode does not
read or upload the source document again and never downloads the result. Use status <request_id> when
the user wants a current status without starting a long-running watcher. Add --max-wait-seconds <seconds>
only when the user explicitly wants to limit a start/watch session.
Environment variables:
PAODINGAI_API_KEY: Required. Bearer API key for PDRouter requests.PAODINGAI_API_BASE_URL: Optional. PDRouter origin URL, such ashttps://platform.paodingai.com/. Defaults to that production origin.AUTODOC_MAX_WAIT_SECONDS: Optional positive integer. Limits the current polling session only; no total waiting limit is applied by default.
The client uses ${PAODINGAI_API_BASE_URL%/}/openapi/autodoc-next/audits for submission, ${PAODINGAI_API_BASE_URL%/}/openapi/autodoc-next/status for polling, and ${PAODINGAI_API_BASE_URL%/}/openapi/autodoc-next/download for result download.
AUTODOC_OUTPUT_DIR optionally changes the output directory. Treat authentication values as confidential.
When to Use
- Use this Skill when the user asks to audit or review one local prospectus document.
- Supported input formats are PDF, DOC, and DOCX. Only one file is accepted per invocation.
- When the user asks to save the result beside the input, pass
--output-dirwith the input file's parent directory. - The result is an annotated PDF for PDF input, or an annotated DOCX for DOC/DOCX input.
Execution Constraints
- Run upload/polling and download through the separate commands in
scripts/audit_document.mjs. - Route submission, status polling, and result download through the script's
AutoDocNextClient, which owns the PDRouter base URL, service prefix, authentication headers, and HTTP transport. - The script performs local validation, submits one multipart request, polls the protected JSON status response, or performs an explicit protected result download with size and SHA-256 verification.
- Progress and diagnostics are written to stderr. User-facing diagnostics contain sanitized status and error information; API keys, JWTs, and request secrets remain confidential.
- Tool output is implementation detail, not the user-facing progress report. After each meaningful command, wait, or polling response, interpret the returned status instead of relaying a raw command output or an unprocessed stdout/stderr block.
User-Visible Progress Reporting (Required)
The start/watch client runs as a host-managed background task. While the AI session is active,
inspect its output and send a short ordinary assistant message after each meaningful state change.
When the user asks for an update, run the foreground status command instead of assuming the task
is stuck or relying on buffered background output.
- Report these phases in order when applicable: local file validation, upload/submission, queued, auditing, audit completed/failed, explicit result download, and checksum verification.
- Each update must state the current phase and the concrete information available from the latest
response, such as a sanitized service status, event/log text, processed item count, percentage,
elapsed time, retry number, or the
request_id. Do not invent a percentage, ETA, or internal detail that the tool or API did not return. - When the service returns a new progress event, summarize that event in Chinese in one concise sentence. Preserve the event order, and do not repeat identical
Установить AutoDoc NEXT2.0 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл AutoDoc NEXT2.0?
Audit one local prospectus PDF, DOC, or DOCX through PDRouter and download the annotated document with AutoDoc NEXT2.0.
Как установить скилл AutoDoc NEXT2.0?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AutoDoc NEXT2.0 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic