Nutrient Document Processing
Nutrient's official skill for PDF work via the DWS Processor API: conversion, OCR, extraction, redaction, signing and PDF/A
Install
npx skills add PSPDFKit-labs/nutrient-agent-skillRequires uv, Python 3.10 and NUTRIENT_API_KEY in the agent environment
This is third-party code. Review the repository files before installing.
What it does
The skill gives the agent ready Python scripts for the cloud Nutrient DWS Processor API. The agent can generate and convert documents, assemble packets, OCR scans, extract content, redact personal data, watermark and digitally sign, password-protect, optimize and output PDF/A and PDF/UA. Before each run the agent shows the operation, the files to be sent and an estimated credit cost, then waits for approval. For deep parsing and accessibility it routes to separate Nutrient products.
Who it is for. For lawyers, accountants, operations teams and developers who handle a lot of PDFs.
Good fit when
- You need to OCR a scan and get the text
- You need to fill a PDF form and sign it
- You need to redact personal data before sharing a document
Not a fit when
- Documents must not be sent to an external cloud service
- A simple local task that a free utility can handle
Example request
OCR scanned-contract.pdf in English and save the text to a fileLimitations
Files are sent to Nutrient's cloud and operations consume paid credits. Requires NUTRIENT_API_KEY, Python 3.10 and uv. API availability from Russia is unverified.
How to disable. Delete the nutrient-document-processing folder from the agent's skills directory.
Security check
- Sends user documents to an external cloud API
- Operations spend paid credits
README in short
The README gives a three-step quick start: get a key, install the skill via npx skills and ask the agent. It lists requirements, supported agents and workflow walkthroughs: OCR of a scan, filling and signing a form, redacting personal data. Scripts pin the nutrient-dws client version and require confirmation. The skill is MIT-0 licensed.
SKILL.md
---
name: nutrient-document-processing
description: >-
Process documents with Nutrient DWS Processor. Use for PDF generation and conversion, packet
assembly, OCR, Processor JSON-content extraction, staged redaction, watermarking, signing,
password protection, optimization, PDF/A, or PDF/UA output. Route high-fidelity markdown or
spatial parsing to Nutrient Data Extraction, and accessibility auto-tagging/validation to Nutrient
Accessibility instead of treating all three products as one API.
license: MIT-0
metadata:
author: nutrient-sdk
version: "2.0.0"
homepage: "https://www.nutrient.io/api/"
repository: "https://github.com/PSPDFKit-labs/nutrient-agent-skill"
openclaw:
requires:
bins: [uv]
env: [NUTRIENT_API_KEY]
primaryEnv: NUTRIENT_API_KEY
---
# Nutrient Document Processing
Use this skill for managed document processing where fidelity, compliance, or a multi-step workflow justifies transferring the user's files to Nutrient DWS.
## Product router
Choose the product before estimating cost or selecting credentials:
| Need | Product | Route used here |
| --- | --- | --- |
| Convert, generate, assemble, OCR, JSON-content extraction, redact, sign, optimize, PDF/A or PDF/UA output | **DWS Processor** | Pinned Python helpers in `scripts/` using `NUTRIENT_API_KEY` |
| High-fidelity document parsing to markdown or spatial JSON | **Data Extraction** | Separate `/extraction/parse` product, credential, and credit pool; use its current official client/docs |
| Accessibility auto-tagging and PDF/UA validation workflow | **Accessibility** | Separate current Accessibility API/product; do not use the deprecated Processor `/processor/pdfua` endpoint |
Do not reuse Processor cost estimates, credentials, or payloads for Data Extraction or Accessibility.
## Setup
- Get a Processor API key from <https://dashboard.nutrient.io/sign_up/?product=processor>.
- Configure `NUTRIENT_API_KEY` through the agent host's protected runtime environment or secrets manager. Never ask the user to paste the key into chat, and never put it in command arguments, logs, generated scripts, or committed configuration. Verify only that the variable is present, not its value.FAQ
Where do I get a key?
Sign up in the Nutrient dashboard and get a DWS Processor key.
Will the agent run operations without asking?
No, the instructions require showing the operation and cost and waiting for approval, and scripts need explicit confirmation flags.
Related
Microsoft's utility and MCP server that turn PDF, Word, Excel, PowerPoint, HTML and other files into Markdown for models
Anthropic skills
Skills
Anthropic's official skill examples: docx, pdf, pptx and xlsx documents, design, MCP builder and the Agent Skills spec
A skill that builds editable PPTX decks from PDF, DOCX, URLs and Markdown with native shapes, charts and animations
Anthropic's legal plugin suite: contracts, privacy, employment, IP, litigation, AI governance and legal education