nutrient-openclaw

$npx mdskill add jdrhyne/agent-skills/nutrient-openclaw

Automatically process documents within OpenClaw conversations using Nutrient DWS

  • Users can convert files, extract text, tables, and perform OCR directly in OpenClaw.
  • Depends on API key for authentication to the Nutrient DWS service.
  • Decides actions based on specified commands or keywords like 'nutrient_convert_to_pdf'.
  • Delivers processed documents back to the OpenClaw conversation seamlessly.

SKILL.md

.github/skills/nutrient-openclawView on GitHub ↗
---
name: nutrient-openclaw
description: >-
  OpenClaw-native document processing skill for Nutrient DWS. Use when OpenClaw
  users need to convert files, extract text or tables, OCR scans, redact PII,
  watermark PDFs, digitally sign documents, or check credit usage from chat
  attachments or workspace files. Triggers on OpenClaw tool names
  (`nutrient_convert_to_pdf`, `nutrient_extract_text`, etc.), "OpenClaw plugin",
  "Nutrient OpenClaw", and document-processing requests in OpenClaw chats.
  Files are processed by Nutrient DWS over the network, so use it only when
  third-party document processing is acceptable. For non-OpenClaw environments,
  use the universal Nutrient document-processing skill instead.
homepage: https://www.nutrient.io/api/
clawdis:
  emoji: "📄"
  requires:
    config:
      - plugins.entries.nutrient-openclaw.config.apiKey
  install:
    - id: nutrient-openclaw
      kind: node
      package: "@nutrient-sdk/nutrient-openclaw"
      label: Install Nutrient OpenClaw package
  links:
    homepage: https://www.nutrient.io/api/
    repository: https://github.com/PSPDFKit-labs/nutrient-openclaw
    documentation: https://www.nutrient.io/api/documentation/security
  config:
    example: |
      plugins:
        entries:
          nutrient-openclaw:
            config:
              apiKey: "your-api-key-here"
---

# Nutrient Document Processing (OpenClaw Native)

Best for OpenClaw users. Process documents directly in OpenClaw conversations via native `nutrient_*` tools.

## Quick examples

- "Convert this Word file to PDF"
- "OCR this scanned contract and extract the text"
- "Redact all SSNs and email addresses from this PDF"
- "Add a CONFIDENTIAL watermark to this document"
- "How many Nutrient credits do I have left?"

## Installation

Preferred install flow inside OpenClaw:

```bash
openclaw plugins install @nutrient-sdk/nutrient-openclaw
```

Configure your API key:

```yaml
plugins:
  entries:
    nutrient-openclaw:
      config:
        apiKey: "your-api-key-here"
```

Get an API key at [nutrient.io/api](https://www.nutrient.io/api/).

## Data Handling

- `nutrient_*` operations send the file or extracted document content to Nutrient DWS for processing.
- Review Nutrient's [Processor API security](https://www.nutrient.io/api/documentation/security) and [privacy details](https://www.nutrient.io/api/processor-api/) before using production or sensitive documents.
- Nutrient documents its hosted Processor API as using HTTPS for data in transit and as not persistently storing input or output files after processing; confirm that matches your organization's requirements before uploading sensitive material.
- Start with non-sensitive sample files and a least-privilege API key.

## Tool selection

- `nutrient_convert_to_pdf` for Office, HTML, or image to PDF conversion.
- `nutrient_convert_to_image` for rendering PDF pages as PNG, JPEG, or WebP.
- `nutrient_convert_to_office` for PDF to DOCX, XLSX, or PPTX conversion.
- `nutrient_extract_text` for text, tables, and key-value extraction.
- `nutrient_ocr` for scanned PDFs or standalone images.
- `nutrient_redact` for deterministic preset-based redaction.
- `nutrient_ai_redact` for natural-language or contextual PII removal.
- `nutrient_watermark` for text or image watermarks.
- `nutrient_sign` for digital signing workflows.
- `nutrient_check_credits` before batch or AI-heavy runs.

## Workflow

1. Confirm the source file and desired output format before running any transform.
2. Prefer the narrowest tool that matches the request instead of chaining broad operations blindly.
3. Preserve the original file and write outputs with clear suffixes such as `-ocr`, `-redacted`, or `-signed`.
4. If the user asks for multiple steps, run them in the safest order: OCR first, then extraction or redaction, then watermarking or signing last.

## Decision rules

- OCR before extraction if the PDF is image-only, has unselectable text, or extraction looks sparse.
- Use `nutrient_redact` for explicit patterns like SSNs, emails, or phone numbers. Use `nutrient_ai_redact` only when the request is semantic, broad, or context-dependent.
- Render only the pages the user needs when converting PDFs to images. Avoid whole-document renders unless explicitly requested.
- Ask for signing intent and signer details before using `nutrient_sign`; do not assume legal signature requirements from a casual request.
- Check credits before batch OCR, repeated conversions, or AI redaction so the run does not fail mid-task.

## Anti-patterns

- Do not use AI redaction when a preset pattern will do. It is slower, costlier, and harder to verify.
- Do not extract text from a scan and assume failure means the file is empty. Run OCR first.
- Do not overwrite the user's source document with a transformed output.
- Do not promise a legally sufficient digital signature without confirming the workflow requirements.

## Troubleshooting

- Plugin missing or unavailable: install `@nutrient-sdk/nutrient-openclaw` first.
- Unauthorized or quota errors: verify the API key and available credits.
- Weak extraction results: rerun with OCR.
- Poor OCR quality: confirm the document language and source scan quality.

## Links

- [npm package](https://www.npmjs.com/package/@nutrient-sdk/nutrient-openclaw)
- [GitHub](https://github.com/PSPDFKit-labs/nutrient-openclaw)
- [Nutrient API](https://www.nutrient.io/)

More from jdrhyne/agent-skills

SkillDescription
auto-updaterAutomatically update OpenClaw and selected skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
autoresearch-loopDomain-agnostic metric-driven improvement loop, generalizing Karpathy's autoresearch. Use when you want an agent to discover what to measure for a project/goal, then run a keep-or-revert experiment loop that proposes changes, measures them against an objective, keeps wins, discards regressions, and records implemented improvements. Adapts to code perf-auditing, codegen, bug-finding, ad optimization, or any artifact + measurable objective + trial. Trigger: 'autoresearch this', 'find and implement improvements to X', 'discover metrics and optimize'.
clawdbot-release-checkCheck for new OpenClaw releases and notify once per new version.
clawddocsOpenClaw documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all OpenClaw features
command-creatorThis skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
context-recoveryAutomatically recover working context after session compaction or when continuation is implied but context is missing. Works across Discord, Slack, Telegram, Signal, and other supported channels.
design-auditPremium UI/UX design auditor with Jobs/Ive philosophy. Use when reviewing, evaluating, or elevating existing UI — triggers on "audit my design", "review UI", "make it feel premium", "design review", "UX audit", "elevate the design", "Jobs/Ive style", or when asked to improve visual quality of an existing interface without changing functionality.
elegant-reportsGenerate beautifully designed PDF reports with a Nordic/Scandinavian aesthetic. Use when creating polished executive briefings, analysis reports, or presentation-style PDF outputs from markdown and HTML via Nutrient DWS.
ga4Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, sessions, conversions, or any GA4 metrics/dimensions. Supports custom date ranges and filtering.
gallery-scraperBulk download images from login-protected gallery websites using an attached browser session. Use when asked to scrape, download, or save images from authenticated gallery pages, extract full-size images from thumbnails, or batch download from multi-page galleries.