Give your AI agent PDF superpowers — in one command. Convert, extract, OCR, redact, sign, and fill documents from any coding agent. Quickstart • Workflows • Features • 40+ Agents • MCP & OpenClaw 1. Get a free API key → 2. Install & configure: 3. Ask your agent: That's it. Your agent now has full document processing capabilities — no MCP setup required. Works out of the box with 40+ AI coding
Add this skill
npx mdskills install PSPDFKit-labs/nutrient-agent-skillExcellent documentation with clear workflows, comprehensive features, and strong setup guidance
1# Nutrient Document Processing — Agent Skill23<p align="center">4 <a href="https://www.nutrient.io/api/"><img src="https://img.shields.io/badge/Nutrient-DWS%20API-blue" alt="Nutrient DWS API"></a>5 <a href="https://www.npmjs.com/package/@nutrient-sdk/dws-mcp-server"><img src="https://img.shields.io/npm/v/@nutrient-sdk/dws-mcp-server" alt="npm version"></a>6 <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="License"></a>7 <a href="https://agentskills.io"><img src="https://img.shields.io/badge/Agent%20Skills-compatible-purple" alt="Agent Skills"></a>8</p>910<p align="center">11 <strong>Give your AI agent PDF superpowers — in one command.</strong><br>12 Convert, extract, OCR, redact, sign, and fill documents from any coding agent.13</p>1415<p align="center">16 <img src="assets/demo.gif" alt="Demo: Ask your agent to redact PII from a PDF" width="720">17</p>1819<p align="center">20 <a href="#30-second-quickstart">Quickstart</a> •21 <a href="#real-world-workflows">Workflows</a> •22 <a href="#features">Features</a> •23 <a href="#supported-agents">40+ Agents</a> •24 <a href="#alternative-integrations">MCP & OpenClaw</a>25</p>2627---2829## 30-Second Quickstart3031**1. Get a free API key** → **<https://dashboard.nutrient.io/sign_up/?product=processor>**3233**2. Install & configure:**3435```bash36# Install the skill (works with 40+ agents)37npx skills add PSPDFKit-labs/nutrient-agent-skill3839# Set your API key40export NUTRIENT_API_KEY="pdf_live_..."41```4243**3. Ask your agent:**4445> *"Extract the text from invoice.pdf"*4647That's it. Your agent now has full document processing capabilities — no MCP setup required.4849---5051## Supported Agents5253Works out of the box with **40+ AI coding agents**:5455<p align="center">56 <img src="https://img.shields.io/badge/Claude_Code-black?logo=anthropic&logoColor=white" alt="Claude Code" height="28">57 <img src="https://img.shields.io/badge/Codex_CLI-black?logo=openai&logoColor=white" alt="Codex CLI" height="28">58 <img src="https://img.shields.io/badge/Gemini_CLI-4285F4?logo=google&logoColor=white" alt="Gemini CLI" height="28">59 <img src="https://img.shields.io/badge/Cursor-000?logo=cursor&logoColor=white" alt="Cursor" height="28">60 <img src="https://img.shields.io/badge/GitHub_Copilot-000?logo=githubcopilot&logoColor=white" alt="GitHub Copilot" height="28">61 <img src="https://img.shields.io/badge/Windsurf-06B6D4?logoColor=white" alt="Windsurf" height="28">62 <img src="https://img.shields.io/badge/OpenCode-333?logoColor=white" alt="OpenCode" height="28">63 <img src="https://img.shields.io/badge/Amp-7C3AED?logoColor=white" alt="Amp" height="28">64 <img src="https://img.shields.io/badge/Roo_Code-FF6B35?logoColor=white" alt="Roo Code" height="28">65 <img src="https://img.shields.io/badge/OpenClaw-1a1a2e?logoColor=white" alt="OpenClaw" height="28">66 <img src="https://img.shields.io/badge/+30_more-gray" alt="and 30 more" height="28">67</p>6869Any agent that supports the [Agent Skills](https://agentskills.io) standard works automatically.7071---7273## Real-World Workflows7475### 🔍 Workflow 1: OCR a scanned document and extract text7677You have a scanned PDF — no selectable text. Ask your agent:7879> *"OCR scanned-contract.pdf in English and extract the text to a file"*8081**What happens:**82```83scanned-contract.pdf (image-only)84 → OCR (English) → searchable-contract.pdf (selectable text)85 → Extract text → contract-text.txt86```8788<img src="assets/workflow-ocr.gif" alt="OCR workflow" width="720">8990### 📋 Workflow 2: Fill a PDF form and sign it9192You have an onboarding form to complete. Ask your agent:9394> *"Fill employee-onboarding.pdf with name 'Jane Smith', start date '2026-03-01', and department 'Engineering', then digitally sign it"*9596**What happens:**97```98employee-onboarding.pdf (blank form)99 → Fill fields (name, date, department)100 → Digital signature (CMS)101 → employee-onboarding-signed.pdf ✅102```103104<img src="assets/workflow-fill-sign.gif" alt="Fill form and sign workflow" width="720">105106### 🔒 Workflow 3: Redact PII before sharing107108You need to share a document but it contains sensitive data. Ask your agent:109110> *"Redact all social security numbers, email addresses, and credit card numbers from patient-records.pdf"*111112**What happens:**113```114patient-records.pdf (contains PII)115 → Detect SSNs, emails, credit cards116 → Apply black redaction boxes (irreversible)117 → patient-records-redacted.pdf 🔒118```119120> **Tip:** For smarter redaction, try: *"Use AI redaction to find and remove all personally identifiable information from contract.pdf"* — this uses contextual AI analysis instead of pattern matching.121122---123124## Features125126| Capability | Description | Example prompt |127|------------|-------------|----------------|128| 📄 **Convert** | PDF ↔ DOCX/XLSX/PPTX, HTML → PDF, images → PDF | *"Convert report.docx to PDF"* |129| 📝 **Extract** | Text, tables, and key-value pairs from PDFs | *"Extract all tables from invoice.pdf as Excel"* |130| 🔍 **OCR** | Multi-language OCR for scanned documents | *"OCR this German scan and extract the text"* |131| 🔒 **Redact** | Pattern-based + AI-powered PII redaction | *"Redact all SSNs and emails from records.pdf"* |132| 💧 **Watermark** | Text or image watermarks with full styling | *"Add a DRAFT watermark to proposal.pdf"* |133| ✍️ **Sign** | CMS and CAdES digital signatures | *"Digitally sign contract.pdf"* |134| 📋 **Fill Forms** | Programmatic PDF form filling | *"Fill the tax form with these values…"* |135| 📊 **Credits** | Monitor API usage and balance | *"How many API credits do I have left?"* |136137---138139## Installation140141### Using `npx skills` (Recommended)142143```bash144# Install to all detected agents145npx skills add PSPDFKit-labs/nutrient-agent-skill146147# Install to specific agents only148npx skills add PSPDFKit-labs/nutrient-agent-skill -a claude-code -a codex -a cursor149150# Install globally (available across all projects)151npx skills add PSPDFKit-labs/nutrient-agent-skill -g152```153154### Manual Installation155156Copy the `nutrient-document-processing/` folder to your agent's skills directory:157158| Agent | Project Path | Global Path |159|-------|-------------|-------------|160| **Claude Code** | `.claude/skills/` | `~/.claude/skills/` |161| **Codex CLI** | `.codex/skills/` | `~/.codex/skills/` |162| **Gemini CLI** | `.gemini/skills/` | `~/.gemini/skills/` |163| **Cursor** | `.cursor/skills/` | `~/.cursor/skills/` |164| **GitHub Copilot** | `.github/skills/` | `~/.copilot/skills/` |165| **OpenCode** | `.opencode/skills/` | `~/.config/opencode/skills/` |166| **Windsurf** | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |167| **Amp** | `.agents/skills/` | `~/.config/agents/skills/` |168| **OpenClaw** | `skills/` | `~/.moltbot/skills/` |169| **Roo Code** | `.roo/skills/` | `~/.roo/skills/` |170171Example for Claude Code:172173```bash174git clone https://github.com/PSPDFKit-labs/nutrient-agent-skill.git175cp -r nutrient-agent-skill/nutrient-document-processing ~/.claude/skills/176```177178---179180## Alternative Integrations181182### MCP Server (For agents with MCP support)183184The **Nutrient DWS MCP Server** provides all operations as native agent tools with file I/O handling and sandboxing.185186```bash187npx @nutrient-sdk/dws-mcp-server188```189190Add to your MCP config (e.g., `claude_desktop_config.json`):191192```json193{194 "mcpServers": {195 "nutrient-dws": {196 "command": "npx",197 "args": ["-y", "@nutrient-sdk/dws-mcp-server"],198 "env": {199 "NUTRIENT_DWS_API_KEY": "YOUR_API_KEY",200 "SANDBOX_PATH": "/path/to/working/directory"201 }202 }203 }204}205```206207📦 [npm](https://www.npmjs.com/package/@nutrient-sdk/dws-mcp-server) · [GitHub](https://github.com/PSPDFKit/nutrient-dws-mcp-server)208209### OpenClaw Plugin210211For [OpenClaw](https://openclaw.com) users:212213```bash214openclaw plugins install @nutrient-sdk/nutrient-openclaw215```216217📦 [npm](https://www.npmjs.com/package/@nutrient-sdk/nutrient-openclaw)218219---220221## Skill Structure222223```224nutrient-document-processing/225├── SKILL.md # Main instructions (loaded by agents)226├── references/227│ └── REFERENCE.md # Full API reference (loaded on demand)228├── LICENSE # Apache-2.0229└── README.md230```231232## Documentation233234- **[SKILL.md](nutrient-document-processing/SKILL.md)** — Agent instructions with setup and operation examples235- **[REFERENCE.md](nutrient-document-processing/references/REFERENCE.md)** — Complete API reference with all endpoints, parameters, and error codes236- **[API Playground](https://dashboard.nutrient.io/processor-api/playground/)** — Interactive API testing237- **[Official API Docs](https://www.nutrient.io/guides/dws-processor/)** — Nutrient documentation238239## About240241Built by [Nutrient](https://www.nutrient.io/) (formerly PSPDFKit) — document SDKs trusted by thousands of companies worldwide.242243## License244245[Apache-2.0](nutrient-document-processing/LICENSE)246
Full transparency — inspect the skill content before installing.