Official agent skill

Qstash JS

by upstash in upstash/qstash-js

Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling.

OfficialMITAuto-check passedBackend & APIs

Install Qstash JS

skills CLI
$ npx skills add upstash/qstash-js --skill qstash-js -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install upstash/qstash-js qstash-js --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills .claude/skills/qstash-js && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qstash-js
GitHub stars
269
Token cost
~746 tokens
SKILL.md length
264 words
Files
12
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling.

  • Publishing messages to HTTP endpoints
  • SKILL.md covers When to use this skill, Quick Start, Core Concepts and Platform Support, plus 1 more section
  • Runs TypeScript scripts from its folder; calls npm; needs QSTASH_TOKEN
  • Creating schedules

What it does

Qstash JS is an agent skill from upstash/qstash-js, published by the product's own GitHub organization. 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.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files (for example `advanced/callbacks.md`, `advanced/deduplication.md` and `advanced/dlq.md`).

It sits in Backend & APIs, covering Serverless. It works with Upstash, JavaScript, TypeScript and Next.js. The repository describes itself as: Message queue for serverless. The licence is MIT.

When your agent uses it

  • Publishing messages to HTTP endpoints
  • Creating schedules
  • Managing queues
  • Verifying incoming messages in serverless environments

Example prompts

  • “/qstash-js”

Requirements

  • Node.js
  • A credential in QSTASH_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit 140e979. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • QSTASH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qstash JS loads about 746 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 264 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~746

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from upstash/qstash-js at commit 140e979, republished under its MIT licence (© upstash). 264 words, ~746 tokens.

Download SKILL.mdSave it as .claude/skills/qstash-js/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
qstash-js
description
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.

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
bash
npm install @upstash/qstash
Basic Publishing
typescript
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

© upstash, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files in skills of upstash/qstash-js.

  • SKILL.md
  • advanced/callbacks.md
  • advanced/deduplication.md
  • advanced/dlq.md
  • advanced/multi-region.md/summary.md
  • advanced/multi-region.md/verify-multi-region-setup.ts
  • fundamentals/publishing-messages.md
  • fundamentals/queues-and-flow-control.md
  • fundamentals/schedules.md
  • fundamentals/url-groups.md
  • verification/platform-specific/nextjs.md
  • verification/receiver.md

Open the folder on GitHubat commit 140e979

Compare with similar skills

Qstash JS next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qstash JS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qstash JS this skillupstash/qstash-js269—~746Automated safety check: PassMIT
Upstash Workflow Patternslobehub/lobehub83k—~1.7kAutomated safety check: PassCustom licence
AWS Lambda Durable Functionsawslabs/agent-plugins915—~2.3kAutomated safety check: PassApache-2.0
Upstash Redisgithub/awesome-copilot40k—~1.7kAutomated safety check: PassMIT
Sentry Node SDKgetsentry/sentry-for-ai268—~8.4kAutomated safety check: PassApache-2.0
Javascript SDKaiskillstore/marketplace4301 repos~3.3kAutomated safety check: PassNone

Similar skills

  • Implementation patterns for Upstash Workflow and QStash handlers in the LobeHub codebase: dry runs, fan-out chunking and single-item execution.

    83k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • AWS Lambda Durable Functions

    awslabs/agent-plugins

    Official

    Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions.

    915 GitHub stars~2.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Upstash Redis

    github/awesome-copilot

    Official

    Use Redis over HTTP from serverless and edge runtimes with @upstash/redis, and add rate limiting with @upstash/ratelimit.

    40k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Sentry Node SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Node.js, Bun, and Deno. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~8.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Javascript SDK

    aiskillstore/marketplace

    JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate with all models.

    430 GitHub starsUsed in 1 repo~3.3k tokens
    Backend & APIsAuto-check passed
  • Cloudflare Workers

    einverne/dotfiles

    Comprehensive guide for building serverless applications with Cloudflare Workers.

    121 GitHub stars~8.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

Categories

Questions about Qstash JS

What does Qstash JS do?

Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling. Qstash JS is an agent skill from upstash/qstash-js, published by the product's own GitHub organization. Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling.

When should I use Qstash JS?

Qstash JS fits situations like: publishing messages to HTTP endpoints; creating schedules; managing queues; verifying incoming messages in serverless environments.

How do I install Qstash JS in Claude Code?

Run `npx skills add upstash/qstash-js --skill qstash-js -a claude-code`. Or copy the skill folder (skills in upstash/qstash-js) into .claude/skills/qstash-js in your project. Claude Code loads it when a task matches its description.

How do I install Qstash JS in Codex?

Run `npx skills add upstash/qstash-js --skill qstash-js -a codex`. Or copy the skill folder (skills in upstash/qstash-js) into .agents/skills/qstash-js in your project. Codex loads it when a task matches its description.

Can I use Qstash JS in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add upstash/qstash-js --skill qstash-js -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qstash-js, .gemini/skills/qstash-js, .github/skills/qstash-js and .opencode/skills/qstash-js in your project.

What does Qstash JS need to run?

Going by SKILL.md and its folder, Qstash JS needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npm) and credentials named QSTASH_TOKEN. Our summary lists: Node.js; A credential in QSTASH_TOKEN.

Does Qstash JS access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Qstash JS safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qstash JS use?

Qstash JS is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qstash JS use?

About 746 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qstash JS?

Skills that share tags, products or a category with Qstash JS: Upstash Workflow Patterns (lobehub/lobehub, 83k stars), AWS Lambda Durable Functions (awslabs/agent-plugins, 915 stars), Upstash Redis (github/awesome-copilot, 40k stars) and Sentry Node SDK (getsentry/sentry-for-ai, 268 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qstash JS?

upstash (a GitHub organization, an official publisher) maintains it in upstash/qstash-js, which has 269 GitHub stars. The repository was last updated on October 6, 2026.

Source: upstash/qstash-js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.