Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Nutrient Api

ASecurity

Use when converting, OCRing, extracting, redacting, watermarking, signing, or form-filling documents with the Nutrient DWS API. Covers the /build endpoint, instructions JSON schemas, redaction presets, OCR language codes, and the MCP server config.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsbashgitapisecurity

Works with

apimcp

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Mixard/fable-pack --skill nutrient-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nutrient Api?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Nutrient Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mixard-nutrient-api/badge)](https://www.skillsdirectory.com/skills/mixard-nutrient-api)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: nutrient-api
description: Use when converting, OCRing, extracting, redacting, watermarking, signing, or form-filling documents with the Nutrient DWS API. Covers the /build endpoint, instructions JSON schemas, redaction presets, OCR language codes, and the MCP server config.
---

# Nutrient DWS Processor API

Commercial document-processing API. API key from https://dashboard.nutrient.io/sign_up/?product=processor (free tier available).

```bash
export NUTRIENT_API_KEY="pdf_live_..."
```

Every operation is a multipart POST to `https://api.nutrient.io/build` with:
- one or more file fields (field name referenced by the instructions), and
- an `instructions` JSON field: `{"parts": [...], "actions": [...], "output": {...}}`.

Supported inputs: PDF, DOCX, XLSX, PPTX, DOC, XLS, PPT, PPS, PPSX, ODT, RTF, HTML, JPG, PNG, TIFF, HEIC, GIF, WebP, SVG, TGA, EPS. Default output is PDF unless `output.type` says otherwise.

## Convert

```bash
# DOCX -> PDF
curl -X POST https://api.nutrient.io/build \
  -H "Authorization: Bearer $NUTRIENT_API_KEY" \
  -F "document.docx=@document.docx" \
  -F 'instructions={"parts":[{"file":"document.docx"}]}' \
  -o output.pdf

# PDF -> DOCX
curl -X POST https://api.nutrient.io/build \
  -H "Authorization: Bearer $NUTRIENT_API_KEY" \
  -F "document.pdf=@document.pdf" \
  -F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"docx"}}' \
  -o output.docx

# HTML -> PDF (note: parts entry uses "html", not "file")
curl -X POST https://api.nutrient.io/build \
  -H "Authorization: Bearer $NUTRIENT_API_KEY" \
  -F "index.html=@index.html" \
  -F 'instructions={"parts":[{"html":"index.html"}]}' \
  -o output.pdf
```

## Extract text and tables

```bash
# Plain text
-F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"text"}}'

# Tables as Excel
-F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"xlsx"}}'
```

## OCR

```bash
curl -X POST https://api.nutrient.io/build \
  -H "Authorization: Bearer $NUTRIENT_API_KEY" \
  -F "scanned.pdf=@scanned.pdf" \
  -F 'instructions={"parts":[{"file":"scanned.pdf"}],"actions":[{"type":"ocr","language":"english"}]}' \
  -o searchable.pdf
```

`language` accepts ISO 639-2 codes (`eng`, `deu`, `fra`, `spa`, `jpn`, `kor`, `chi_sim`, `chi_tra`, `ara`, `hin`, `rus`, ...) or full names (`english`, `german`). 100+ languages; full table: https://www.nutrient.io/guides/document-engine/ocr/language-support/

## Redact

Two strategies: `preset` and `regex`. Multiple redaction actions can be chained in one request.

```bash
# Preset-based (SSN + email)
-F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[
  {"type":"redaction","strategy":"preset","strategyOptions":{"preset":"social-security-number"}},
  {"type":"redaction","strategy":"preset","strategyOptions":{"preset":"email-address"}}]}'

# Regex-based
-F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[
  {"type":"redaction","strategy":"regex","strategyOptions":{"regex":"\\b[A-Z]{2}\\d{6}\\b"}}]}'
```

Presets: `social-security-number`, `email-address`, `credit-card-number`, `international-phone-number`, `north-american-phone-number`, `date`, `time`, `url`, `ipv4`, `ipv6`, `mac-address`, `us-zip-code`, `vin`.

## Watermark

```bash
-F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[
  {"type":"watermark","text":"CONFIDENTIAL","fontSize":72,"opacity":0.3,"rotation":-45}]}'
```

## Digital signature

```bash
# Self-signed CMS signature
-F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[{"type":"sign","signatureType":"cms"}]}'
```

## Fill PDF forms

```bash
-F 'instructions={"parts":[{"file":"form.pdf"}],"actions":[
  {"type":"fillForm","formFields":{"name":"Jane Smith","email":"jane@example.com","date":"2026-02-06"}}]}'
```

Keys in `formFields` match the PDF form field names.

## MCP server

```json
{
  "mcpServers": {
    "nutrient-dws": {
      "command": "npx",
      "args": ["-y", "@nutrient-sdk/dws-mcp-server"],
      "env": {
        "NUTRIENT_DWS_API_KEY": "YOUR_API_KEY",
        "SANDBOX_PATH": "/path/to/working/directory"
      }
    }
  }
}
```

Note the different env var name: `NUTRIENT_DWS_API_KEY` for the MCP server vs `NUTRIENT_API_KEY` in the curl examples. `SANDBOX_PATH` restricts which files the server may read/write.

## Links

- API playground: https://dashboard.nutrient.io/processor-api/playground/
- Docs: https://www.nutrient.io/guides/dws-processor/

Attribution

MixardMixard
View sourceMore from Mixard →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →