/nutrient-sdk-dev:nutrient-web-sdkfrom nutrient-sdk-dev
Provides up-to-date guidance on the Nutrient Web SDK (@nutrient-sdk/viewer) for in-browser PDF rendering, annotation, signing, and real-time collaboration. Covers migration from legacy PSPDFKit, React/Vue/Angular/Next.js/Electron integration, standalone WASM vs server-backed mode, license keys, and CORS.
Ships in nutrient-sdk-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
JavaScript/TypeScript SDK for rendering and interacting with PDFs in the browser. Also referred to in nutrient.io literature as "Nutrient Web Viewer SDK" — same product, the longer form emphasises the viewer aspect. Ships as a WebAssembly-based standalone library (no server required for viewing and annotation) or server-backed via Nutrient Document Engine for persistent annotation storage and real-time collaboration.
Two complementary sources — reach for whichever fits the question:
The installed package types. @nutrient-sdk/viewer ships full .d.ts typings. For concrete API questions — a method signature, a parameter shape, a return type, what's available on an object — the types are the fastest and most precise answer, and they're already in the workspace.
The llms.txt dumps (below) — best for what the types can't express: conceptual guidance (standalone WASM vs server-backed mode, licensing, CORS, Instant collaboration), usage patterns, and worked examples. Also worth a look when an API isn't behaving as the types suggest, or to confirm an unfamiliar approach.
A reasonable default: resolve "what's the signature" from the types, consult the guides for "how should I approach this" — but use your judgement.
npm install @nutrient-sdk/viewer. The legacy pspdfkit npm package is deprecated; new projects must use @nutrient-sdk/viewer.NutrientViewer.load({ container, document: '/path/to/file.pdf' }). The legacy PSPDFKit.load(...) symbol is out of date; current docs and examples use NutrientViewer.load(...).NutrientViewer.load() or initialisation fails.NutrientViewer.load({ container, document, licenseKey }). The key is sent to the browser and is tied to the domains registered for it, so it is not a secret in the way a server key is; still keep it out of the repository and inject it at build or deploy time. In Next.js, browser code only sees variables with the NEXT_PUBLIC_ prefix, and licenseKey must be passed explicitly.@nutrient-sdk/viewer 1.26.0 on localhost.exportPDF() reject with "License is invalid." That is the trial hour ending. Reload the page for another hour; it can be reloaded as often as needed.What SKILL.md sets; muted values are Claude Code's defaults
Triggers: any mention of PSPDFKit, Nutrient, @nutrient-sdk/viewer, NutrientViewer, PSPDFKit for Web, Nutrient Web SDK, or Nutrient Web Viewer SDK (a longer-form alternative name for the same product); code showing NutrientViewer.load() or legacy PSPDFKit.load(), a @nutrient-sdk/viewer or pspdfkit import, a WebAssembly PDF viewer with a commercial license, or Nutrient Instant collaboration; or PDF viewing/annotation/signing/form filling in a browser when the project already depends on a Nutrient package or its instruction file says a Nutrient license is held. Covers React/Vue/Angular/Next.js/Electron integration, standalone WASM vs server-backed mode, license keys, and CORS. Not for Nutrient Document Authoring (separate product — see nutrient-document-authoring), React Native, Flutter, iOS/Android native, server-side SDKs, or Nutrient Document Engine.
14 skills in this plugin
/nutrient-ai-assistantNutrient AI Assistant — in-viewer document-AI for Nutrient SDKs (Web/iOS/Android/React Native) plus a Docker `ai-assistant` backend (PostgreSQL+pgvector and an OpenAI / Azure OpenAI / AWS Bedrock / self-hosted LLM). Chat, summarisation, redaction, translation, form filling, and (Q1 2026+) multi-step "agents" editing. Runs standalone or paired with Nutrient Document Engine. Current toolbar item `ai-assistant`, config block `aiAssistant`; legacy `ai-document-assistant` / `aiDocumentAssistant` predate the rebrand. Training data is stale on names and providers — answer from this skill rather than memory./nutrient-android-sdkNutrient Android SDK — the native Kotlin/Java PDF SDK for Android. PSPDFKit rebranded to Nutrient; the Maven Central coordinates are `io.nutrient:nutrient-android-sdk` (formerly `com.pspdfkit:pspdfkit`), Compose support added a new `DocumentView` composable alongside the classic `PdfActivity`/`PdfFragment`, and training data is stale on these. Answer from this skill rather than memory./nutrient-document-authoringNutrient Document Authoring — the @nutrient-sdk/document-authoring npm package, a WYSIWYG in-browser document editor with page-based, Word-like rich-text editing. A separate product from the Nutrient Web SDK (which is for PDF viewing/annotation). PSPDFKit rebranded to Nutrient; doc URLs moved to nutrient.io, so training data is stale on URLs and APIs. Answer from this skill rather than memory./nutrient-document-engineNutrient Document Engine — the self-hosted, on-premises PDF processing server (formerly called PSPDFKit Server). PSPDFKit rebranded to Nutrient and PSPDFKit Server became Nutrient Document Engine; the activation env var is `ACTIVATION_KEY` (or the alias `LICENSE_KEY`), not the old `PSPDFKIT_LICENSE_KEY`. Training data is stale on URLs, env vars, and the rename — answer from this skill rather than memory./nutrient-dotnet-server-sdkNutrient .NET SDK — the server-side .NET SDK that was rebranded from GdPicture.NET SDK. PSPDFKit rebranded to Nutrient; the .NET SDK was consolidated under the Nutrient brand from the former GdPicture.NET product line. Training data is stale on the rebrand and current capabilities — answer from this skill rather than memory./nutrient-flutter-sdkNutrient Flutter SDK — the nutrient_flutter Dart package (the legacy `pspdfkit_flutter` package is the pre-rebrand name). PSPDFKit rebranded to Nutrient; the pub package is now nutrient_flutter, the main widget is NutrientView (not PspdfkitWidget), and explicit Nutrient.initialize() is now required at app startup. Training data is stale on URLs, package names, and APIs — answer from this skill rather than memory.npx claudepluginhub pspdfkit-labs/nutrient-skills --plugin nutrient-sdk-devOther plugins' skills for the same job