What are Agent Skills?#
Agent Skills are an open standard that gives AI agents (Claude Code, Cursor, Copilot, etc.) the context they need to work with specific tools and platforms. Novu’s skills provide AI agents with everything required to build multi-channel notification systems - triggering workflows, managing subscribers, integrating the in-app inbox, and configuring preferences.
Prerequisites#
- A Novu account
- Secret key from dashboard.novu.co/settings/api-keys
Setup#
Install the Novu skills into your project using the skills CLI:
This pulls the skills from the novuhq/skills GitHub repository and makes them available to your AI agent (Claude Code, Cursor, Copilot, etc.).
Available Skills#
| Skill | Description |
|---|---|
| trigger-notification | Send single, bulk, broadcast, and topic-based notifications |
| manage-subscribers | CRUD operations on subscribers and topics |
| inbox-integration | Integrate the in-app notification inbox into React, Next.js, or vanilla JS |
| manage-preferences | Configure workflow and subscriber notification preferences |
Quick Routing#
Use this guide to pick the right skill for your task:
- “Send a welcome notification” →
trigger-notification - “Create subscriber” →
manage-subscribers - “Add a bell icon to my app” →
inbox-integration - “Let users opt out of emails” →
manage-preferences
Example prompts#
Copy or open these prompts in Cursor after installing Novu skills with npx skills add novuhq/skills. Replace YOUR_* placeholders with values from your Novu dashboard.
Core skills#
Send a welcome notification to subscriber-123 using the welcome-email workflow. Use @novu/api with NOVU_SECRET_KEY from environment variables.
Example payload:
Follow the novu-trigger-notification skill. Do not create documentation files - implement the trigger in my existing codebase.
Create a subscriber with subscriberId user-456, email jane@example.com, and firstName Jane in my Novu account using @novu/api.
Follow the novu-manage-subscribers skill. Store NOVU_SECRET_KEY in environment variables.
Add a notification bell (Novu Inbox) to my Next.js app navbar. Install @novu/nextjs, use applicationIdentifier YOUR_APPLICATION_IDENTIFIER and subscriberId from my auth system.
Follow the novu-inbox-integration skill. Place the Inbox inline in existing UI - no new pages or wrappers.
Latest docs: https://docs.novu.co/platform/quickstart/nextjs
Let subscriber-123 opt out of marketing email notifications while keeping transactional emails enabled.
Follow the novu-manage-preferences skill using @novu/api with NOVU_SECRET_KEY from environment variables.
Additional skills#
These skills are available in the Novu documentation MCP and Mintlify-hosted skill packages:
Set up a code-first Novu workflow using @novu/framework in my Next.js app. Create a welcome-email workflow with an email step and show me how to trigger it.
Follow the novu-framework-integration skill. Use NOVU_SECRET_KEY from environment variables.
Latest docs: https://docs.novu.co/framework/quickstart/nextjs
Help me design a multi-channel notification workflow for order-shipped events. Include in-app, email, and optional SMS steps with appropriate conditions.
Follow the novu-design-workflow skill. Ask clarifying questions about my channels and subscriber preferences before proposing the workflow structure.
Configure the email step in my welcome-email workflow: set the subject to “Welcome, [payload userName]!” and add a body with the activation link from the payload activationLink field.
Follow the novu-dashboard-workflows skill. Use Liquid variables for personalization.
Common Combinations#
- Full notification system:
trigger-notification+manage-subscribers - In-app notifications:
trigger-notification+inbox-integration - Complete stack: all four skills together
SDK Overview#
| Package | Side | Purpose |
|---|---|---|
@novu/api | Server | Trigger notifications, manage subscribers/topics/workflows via REST |
@novu/react | Client | React Inbox component, Notifications, Preferences, Bell |
@novu/nextjs | Client | Next.js-optimized Inbox integration |
@novu/react-native | Client | React Native hooks-based Inbox integration |
@novu/js | Client | Vanilla JavaScript client for non-React apps |
Skill Reference#
Trigger Notification#
Send notifications by triggering Novu workflows. Supports single, bulk, broadcast, and topic-based delivery.
Single trigger#
Bulk trigger#
Send up to 100 events in a single request:
Broadcast trigger#
Send to all subscribers in the environment:
Topic trigger#
Send to all subscribers in a topic:
Key trigger parameters:
| Parameter | Required | Description |
|---|---|---|
workflowId | Yes | The workflow identifier (not the display name) |
to | Yes | Subscriber ID string, subscriber object, or topic target |
payload | No | Data passed to the workflow, validated against payloadSchema |
overrides | No | Provider-specific overrides per channel |
transactionId | No | Unique ID for idempotency and cancellation |
actor | No | Subscriber representing who triggered the action |
context | No | Key-value pairs for multi-tenancy / organizational context |
Manage Subscribers#
Subscribers are the recipients of your notifications. Each subscriber has a unique subscriberId - typically your application’s user ID.
Create#
Retrieve#
Update#
Delete#
Bulk create#
Create up to 500 subscribers in one request:
Topics are named groups of subscribers for group-based notification targeting:
Inbox Integration#
Add an in-app Inbox to your web application. The Inbox provides a bell icon, notification feed, read/archive management, and real-time WebSocket updates.
HMAC Authentication is required in production to prevent subscriber impersonation. Generate the hash server-side:
Manage Preferences#
Novu uses a two-level preference system: workflow defaults and subscriber overrides (set by end users).
Workflow-level defaults: Workflow level defaults can be configured in the Novu Dashboard. To do so, click on the workflow you want to configure and then click on the Manage Preferences option.
Subscriber-level overrides:
Workflow-level preferences#
Global preferences#
Preference resolution order (most specific wins):
- Subscriber workflow preference
- Subscriber global preference
- Workflow default
- System default (all channels enabled)
The Inbox component includes a built-in Preferences panel accessible via the settings icon, or use <Preferences /> as a standalone component.
For additional help, check the Novu documentation or contact us at support@novu.co.