Upstash Workflow Patterns
lobehub/lobehub
Implementation patterns for Upstash Workflow and QStash handlers in the LobeHub codebase: dry runs, fan-out chunking and single-item execution.
Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling.
$ npx skills add upstash/qstash-js --skill qstash-js -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install upstash/qstash-js qstash-js --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .claude/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/upstash/qstash-js/tree/main/skillsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add upstash/qstash-js --skill qstash-js -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install upstash/qstash-js qstash-js --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills .agents/skills/qstash-js && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .agents/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add upstash/qstash-js --skill qstash-js -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install upstash/qstash-js qstash-js --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills .cursor/skills/qstash-js && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .cursor/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/upstash/qstash-js.git --path skills--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add upstash/qstash-js --skill qstash-js -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install upstash/qstash-js qstash-js --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills .gemini/skills/qstash-js && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .gemini/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install upstash/qstash-js qstash-jsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add upstash/qstash-js --skill qstash-js -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills .github/skills/qstash-js && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .github/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add upstash/qstash-js --skill qstash-js -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install upstash/qstash-js qstash-js --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/upstash/qstash-js.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills .opencode/skills/qstash-js && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "qstash-js" agent skill from https://github.com/upstash/qstash-js/tree/main/skills into .opencode/skills/qstash-js/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qstash-js", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
qstash-jsWork 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. 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.
Read from SKILL.md and the folder at commit 140e979. It shows what the files ask for, not the result of running them.
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.
Ships script files (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names these keys or tokens, usually read from environment variables:
QSTASH_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from upstash/qstash-js at commit 140e979, republished under its MIT licence (© upstash). 264 words, ~746 tokens.
.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.QStash is an HTTP-based messaging and scheduling solution for serverless and edge runtimes. This skill helps you use the QStash JS SDK effectively.
Use this skill when:
npm install @upstash/qstashimport { 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" },
});For fundamental QStash operations, see:
For verifying incoming messages:
For advanced features:
QStash JS SDK works across various platforms:
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.
© upstash, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files in skills of upstash/qstash-js.
Open the folder on GitHubat commit 140e979
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Qstash JS this skillupstash/qstash-js | 269 | — | ~746 | Automated safety check: Pass | MIT | |
| Upstash Workflow Patternslobehub/lobehub | 83k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| AWS Lambda Durable Functionsawslabs/agent-plugins | 915 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Upstash Redisgithub/awesome-copilot | 40k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Sentry Node SDKgetsentry/sentry-for-ai | 268 | — | ~8.4k | Automated safety check: Pass | Apache-2.0 | |
| Javascript SDKaiskillstore/marketplace | 430 | 1 repos | ~3.3k | Automated safety check: Pass | None |
lobehub/lobehub
Implementation patterns for Upstash Workflow and QStash handlers in the LobeHub codebase: dry runs, fan-out chunking and single-item execution.
awslabs/agent-plugins
Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions.
github/awesome-copilot
Use Redis over HTTP from serverless and edge runtimes with @upstash/redis, and add rate limiting with @upstash/ratelimit.
getsentry/sentry-for-ai
Full Sentry SDK setup for Node.js, Bun, and Deno. An agent skill from getsentry/sentry-for-ai.
aiskillstore/marketplace
JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate with all models.
einverne/dotfiles
Comprehensive guide for building serverless applications with Cloudflare Workers.
Works with
Categories
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.
Qstash JS fits situations like: publishing messages to HTTP endpoints; creating schedules; managing queues; verifying incoming messages in serverless environments.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.