QS

Integrates serverless messaging and task scheduling into apps.

Install

mkdir -p .claude/skills/qstash-js && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18049" && unzip -o skill.zip -d .claude/skills/qstash-js && rm skill.zip

Installs to .claude/skills/qstash-js

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling. Use when publishing messages to HTTP endpoints, creating schedules, managing queues, verifying incoming messages in serverless environments.
225 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Publish HTTP messages to endpoints
  • Create scheduled message delivery
  • Manage FIFO queues
  • Implement callbacks and DLQ handling
  • Handle message deduplication

How it works

The QStash JavaScript SDK enables serverless messaging and scheduling by providing methods to publish messages to HTTP endpoints and manage message delivery.

Inputs & outputs

You give it
client.publishJSON({ url: "https://my-api.example.com/webhook", body: { event: "user.created" } })
You get back
A message is published to the specified HTTP endpoint.

When to use qstash-js

  • Publish message to queue
  • Schedule delayed tasks
  • Verify incoming webhooks
  • Handle dead letter queues

About this skill

QStash JavaScript SDK

QStash is an HTTP-based messaging and scheduling solution for serverless and edge runtimes. This skill helps you use the QStash JS SDK effectively.

When to use this skill

Use this skill when:

  • Publishing HTTP messages to endpoints or URL groups
  • Creating scheduled or delayed message delivery
  • Managing FIFO queues with configurable parallelism
  • Verifying incoming webhook signatures from QStash
  • Implementing callbacks, DLQ handling, or message deduplication

Quick Start

Installing the SDK

npm install @upstash/qstash

Basic Publishing

import { Client } from "@upstash/qstash";

const client = new Client({
  token: process.env.QSTASH_TOKEN!,
});

const result = await client.publishJSON({
  url: "https://my-api.example.com/webhook",
  body: { event: "user.created", userId: "123" },
});

Core Concepts

For fundamental QStash operations, see:

For verifying incoming messages:

  • Receiver Verification - Core signature verification with the Receiver class
  • Platform-Specific Verifiers:
    • Next.js - App Router, Pages Router, and Edge Runtime

For advanced features:

Platform Support

QStash JS SDK works across various platforms:

  • Next.js (App Router and Pages Router)
  • Cloudflare Workers
  • Deno
  • Node.js (v18+)
  • Vercel Edge Runtime
  • SvelteKit, Nuxt, SolidJS, and other frameworks

Note on Workflow SDK: For building complex durable workflows that chain multiple QStash messages together, consider using the separate QStash Workflow SDK (@upstash/workflow). The Workflow SDK empowers you to orchestrate multi-step processes with automatic state management, retries, and fault tolerance. This Skills file focuses on the core QStash messaging SDK.

Best Practices

  • Always verify incoming QStash messages using the Receiver class
  • Use environment variables for tokens and signing keys
  • Set appropriate retry counts and timeouts for your use case
  • Use queues for ordered processing with controlled parallelism
  • Implement DLQ handling for failed message recovery

When not to use it

  • When building complex durable workflows that chain multiple QStash messages together

Prerequisites

QSTASH_TOKEN environment variable

Limitations

  • This skill focuses on the core QStash messaging SDK.
  • Building complex durable workflows requires a separate SDK.

How it compares

This SDK offers a structured way to interact with QStash for serverless messaging, unlike manually constructing HTTP requests for each message.

Compared to similar skills

qstash-js side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
qstash-js (this skill)06moReviewIntermediate
telegram-bot-builder1066moReviewIntermediate
n8n-expression-syntax63moNo flagsBeginner
reddit-api33moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

n8n-expression-syntax

czlonkowski

Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, or working with webhook data in workflows.

6111

reddit-api

alinaqi

Reddit API with PRAW (Python) and Snoowrap (Node.js)

334

mcporter

openclaw

Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.

726

calcom-api

calcom

Interact with the Cal.com API v2 to manage scheduling, bookings, event types, availability, and calendars. Use this skill when building integrations that need to create or manage bookings, check availability, configure event types, or sync calendars with Cal.com's scheduling infrastructure.

216

instantly-webhooks-events

jeremylongshore

Implement Instantly webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Instantly event notifications securely. Trigger with phrases like "instantly webhook", "instantly events", "instantly webhook signature", "handle instantly events", "instantly notifications".

211

Search skills

Search the agent skills registry