diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 9e72935..1c4819b 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,18 +10,6 @@ "pluginRoot": "./plugins" }, "plugins": [ - { - "name": "nutrient-dws", - "description": "Document processing skills powered by the Nutrient Document Web Services API. Convert, merge, split, OCR, extract, watermark, redact, sign, optimize, protect, and reorder documents.", - "version": "1.0.0", - "source": "./plugins/nutrient-dws", - "author": { - "name": "PSPDFKit", - "email": "support@nutrient.io" - }, - "license": "MIT", - "keywords": ["nutrient", "dws", "document", "pdf", "processing", "convert", "ocr", "extract"] - }, { "name": "pdf-to-markdown", "description": "Extract text as structured, semantic Markdown from a PDF.", diff --git a/AGENTS.md b/AGENTS.md index 0839f5e..47ae1dc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,5 +6,4 @@ Each skill lives under `plugins//skills//SKILL.md`. Rea ## Available Skills -- **nutrient-dws / document-processor-api** — Convert, extract, transform, and secure documents via the Nutrient Document Web Services API. - **pdf-to-markdown / pdf-to-markdown** — Extract text from PDFs as structured, semantic Markdown. Use when converting a PDF to Markdown, extracting text from a PDF, or processing one or more PDFs into Markdown output. diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index cda1b9b..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,10 +0,0 @@ -# Changelog - -## nutrient-document-processor-api 1.0.0 - -Initial release of the Nutrient DWS Processor API plugin. - -**New:** -- 18 ready-to-run Python scripts for document conversion, extraction, transformation, and security operations -- Custom workflow template for multi-step document pipelines -- Support for Claude Code (via marketplace), OpenAI Codex, and manual agent installation diff --git a/README.md b/README.md index fe53be3..20b73db 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ AI agent skills for [Nutrient](https://www.nutrient.io/) APIs and SDKs. Works wi | Plugin | Skill | Description | |--------|-------|-------------| -| [`nutrient-dws`](plugins/nutrient-dws) | `document-processor-api` | Convert, extract, transform, and secure documents via the Nutrient Document Web Services API | | [`pdf-to-markdown`](plugins/pdf-to-markdown) | `pdf-to-markdown` | Extract text from PDFs as structured, semantic Markdown | ## Installation @@ -16,7 +15,6 @@ AI agent skills for [Nutrient](https://www.nutrient.io/) APIs and SDKs. Works wi Install using the [Skills CLI](https://github.com/vercel-labs/skills): ```bash -npx skills add pspdfkit-labs/nutrient-skills --skill document-processor-api npx skills add pspdfkit-labs/nutrient-skills --skill pdf-to-markdown ``` @@ -34,7 +32,7 @@ Both Claude Code and Codex support the `/plugin` command: ``` /plugin marketplace add pspdfkit-labs/nutrient-skills -/plugin install nutrient-dws@nutrient-skills +/plugin install pdf-to-markdown@nutrient-skills ``` After installation, the plugin's skills will automatically load in all future sessions. diff --git a/plugins/nutrient-dws/.claude-plugin/plugin.json b/plugins/nutrient-dws/.claude-plugin/plugin.json deleted file mode 100644 index a97844f..0000000 --- a/plugins/nutrient-dws/.claude-plugin/plugin.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "nutrient-dws", - "version": "1.0.0", - "description": "Document processing skills powered by the Nutrient Document Web Services API.", - "author": { - "name": "PSPDFKit", - "email": "support@nutrient.io" - }, - "homepage": "https://nutrient.io", - "repository": "https://github.com/pspdfkit-labs/nutrient-skills", - "license": "MIT", - "keywords": ["nutrient", "dws", "document", "pdf", "processing", "convert", "ocr", "extract"] -} diff --git a/plugins/nutrient-dws/.codex-plugin/plugin.json b/plugins/nutrient-dws/.codex-plugin/plugin.json deleted file mode 100644 index a97844f..0000000 --- a/plugins/nutrient-dws/.codex-plugin/plugin.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "nutrient-dws", - "version": "1.0.0", - "description": "Document processing skills powered by the Nutrient Document Web Services API.", - "author": { - "name": "PSPDFKit", - "email": "support@nutrient.io" - }, - "homepage": "https://nutrient.io", - "repository": "https://github.com/pspdfkit-labs/nutrient-skills", - "license": "MIT", - "keywords": ["nutrient", "dws", "document", "pdf", "processing", "convert", "ocr", "extract"] -} diff --git a/plugins/nutrient-dws/skills/document-processor-api/.gitignore b/plugins/nutrient-dws/skills/document-processor-api/.gitignore deleted file mode 100644 index 7a60b85..0000000 --- a/plugins/nutrient-dws/skills/document-processor-api/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -__pycache__/ -*.pyc diff --git a/plugins/nutrient-dws/skills/document-processor-api/SKILL.md b/plugins/nutrient-dws/skills/document-processor-api/SKILL.md deleted file mode 100644 index 3ca7018..0000000 --- a/plugins/nutrient-dws/skills/document-processor-api/SKILL.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -name: document-processor-api -description: Execute common document-processing tasks with the nutrient-dws Python client via uv run scripts. Use when the user asks to convert, merge, split, OCR, extract text/tables/key-value pairs, watermark, redact, sign, optimize, protect, or reorder document content, or when they need a custom multi-step document pipeline script built from Nutrient DWS workflow actions. ---- - -# Nutrient Document Processor API - -## Quick Start - -All paths below are relative to this skill's directory (the directory containing `scripts/`, `assets/`, and `references/`). - -1. Export the API key before running scripts: - - `export NUTRIENT_DWS_API_KEY="nutr_sk_..."` -2. Run task scripts with `uv run` from the plugin root. The `nutrient-dws` package is fetched automatically on first use. - -## Task Scripts - -Use one script per operation. - -- Convert formats: `scripts/convert.py` -- Merge files: `scripts/merge.py` -- Split by ranges: `scripts/split.py` -- OCR documents: `scripts/ocr.py` -- Extract text: `scripts/extract-text.py` -- Extract tables: `scripts/extract-table.py` -- Extract key-value pairs: `scripts/extract-key-value-pairs.py` -- Add text watermark: `scripts/watermark-text.py` -- AI redaction: `scripts/redact-ai.py` -- Rotate pages: `scripts/rotate.py` -- Sign PDF: `scripts/sign.py` -- Optimize PDF: `scripts/optimize.py` -- Password protect PDF: `scripts/password-protect.py` -- Add blank pages: `scripts/add-pages.py` -- Delete pages: `scripts/delete-pages.py` -- Duplicate/reorder pages: `scripts/duplicate-pages.py` - -Check exact arguments with `uv run