Skip to content
Skill

nutrient-document-processing

by affaan-m

AI Summary

This booster enables Claude Code to process, convert, and extract data from documents (PDF, DOCX, XLSX, PPTX, HTML, images) using the Nutrient DWS API, including OCR, editing, signing, and form-filling capabilities. Developers building document automation workflows benefit from seamless integration with multiple file formats.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "nutrient-document-processing" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/nutrient-document-processing && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/nutrient-document-processing/SKILL.md "https://raw.githubusercontent.com/affaan-m/everything-claude-code/main/docs/zh-CN/skills/nutrient-document-processing/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

使用Nutrient DWS API处理、转换、OCR识别、提取、编辑、签名和填写文档。支持PDF、DOCX、XLSX、PPTX、HTML和图像格式。

文档处理

使用 Nutrient DWS Processor API 处理文档。转换格式、提取文本和表格、对扫描文档进行 OCR、编辑 PII、添加水印、数字签名以及填写 PDF 表单。

设置

在 nutrient.io 获取一个免费的 API 密钥 `bash export NUTRIENT_API_KEY="pdf_live_..." ` 所有请求都以 multipart POST 形式发送到 https://api.nutrient.io/build,并附带一个 instructions JSON 字段。

DOCX to 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 to 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

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
Adoption1K+ stars on GitHub
60.3k ★ · Popular
DocsMissing or thin
Undocumented

GitHub Signals

Stars60.3k
Forks7.5k
Issues28
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code