Official agent skill

Upstash Workflow JS

by upstash in upstash/workflow-js

Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows.

OfficialMITAuto-check passedBackend & APIs

Install Upstash Workflow JS

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

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

GitHub CLI
$ gh skill install upstash/workflow-js upstash-workflow-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/workflow-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills .claude/skills/upstash-workflow-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
upstash-workflow-js
GitHub stars
155
Token cost
~553 tokens
SKILL.md length
157 words
Files
16
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows.

  • A user wants to create workflow endpoints
  • SKILL.md covers Quick Start and Other Skill Files
  • Calls npm; needs QSTASH_TOKEN
  • Interact with the Upstash Workflow client

What it does

Upstash Workflow JS is an agent skill from upstash/workflow-js, published by the product's own GitHub organization. Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows. Use this Skill whenever a user wants to create workflow endpoints, run steps, or interact with the Upstash Workflow client.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files (for example `agents.md`, `basics/client.md` and `basics/context.md`).

It sits in Backend & APIs. It works with Upstash. The repository describes itself as: Durable, Reliable and Performant Serverless Functions. The licence is MIT.

When your agent uses it

  • A user wants to create workflow endpoints
  • Interact with the Upstash Workflow client

Example prompts

  • “/upstash-workflow-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 2f367b4. 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

    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

Upstash Workflow JS loads about 553 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 157 words of instructions outside code blocks.

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

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/workflow-js at commit 2f367b4, republished under its MIT licence (© upstash). 157 words, ~553 tokens.

Download SKILL.mdSave it as .claude/skills/upstash-workflow-js/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.
name
upstash-workflow-js
description
Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows. Use this Skill whenever a user wants to create workflow endpoints, run steps, or interact with the Upstash Workflow client.

Upstash Workflow SDK

Quick Start

The Upstash Workflow SDK lets you expose serverless workflow endpoints and run them reliably using QStash under the hood.

Install:

bash
npm install @upstash/workflow

Define a simple workflow endpoint:

ts
import { serve } from "@upstash/workflow";

export const { POST } = serve(async (context) => {
  await context.run("step-1", () => console.log("step 1"));
  await context.run("step-2", () => console.log("step 2"));
});

Trigger it from your backend:

ts
import { Client } from "@upstash/workflow";

const client = new Client({ token: process.env.QSTASH_TOKEN! });
await client.trigger({ url: "https://your-app.com/api/workflow" });

Other Skill Files

These files contain the full documentation. Use them for details, patterns, and advanced behavior.

  • basics:
    • basics/serve – How to expose workflow endpoints.
    • basics/context – Full API for workflow context (steps, waits, webhooks, events, invoke, etc.).
    • basics/client – Using the Workflow client to trigger, cancel, inspect, and notify runs.
  • features:
    • features/invoke – Cross‑workflow invocation.
    • features/reliability – Retries, failure callbacks, and DLQ.
    • features/flow-control – Rate limits, concurrency, and parallelism.
    • features/wait-for-event – Notify and wait-for-event patterns.
    • features/webhooks – Webhook creation and consumption.
  • how to:
    • how-to/local-dev – Local QStash dev server and tunneling.
    • how-to/realtime – Realtime and human‑in‑the‑loop workflows.
    • how-to/migrations – Migrating workflows safely.
    • how-to/middleware – Adding middleware to workflows.
  • other files:
    • rest-api – Low-level REST endpoints for interacting with QStash/Workflow.
    • troubleshooting – Common debugging and environment issues.
    • agents – Using Workflow with agents, orchestrators, and automation patterns.

© 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 15 other files in skills of upstash/workflow-js.

  • SKILL.md
  • agents.md
  • basics/client.md
  • basics/context.md
  • basics/serve.md
  • features/flow-control.md
  • features/invoke.md
  • features/retries-failures-reliability.md
  • features/wait-for-event.md
  • features/webhooks.md
  • how-to/local-dev.md
  • how-to/middleware.md
  • how-to/migrations.md
  • how-to/realtime.md
  • rest-api.md
  • troubleshooting.md

Open the folder on GitHubat commit 2f367b4

Compare with similar skills

Upstash Workflow 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.

Upstash Workflow JS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Upstash Workflow JS this skillupstash/workflow-js155—~553Automated safety check: PassMIT
Upstash Ratelimit TSupstash/ratelimit-js2k—~313Automated safety check: PassMIT
Qstash JSupstash/qstash-js269—~746Automated safety check: PassMIT
Upstash Workflow Patternslobehub/lobehub83k—~1.7kAutomated safety check: PassCustom licence
Agent Signal Pipelinelobehub/lobehub83k—~1.7kAutomated safety check: PassCustom licence
Upstash Qstashdavila7/claude-code-templates32k5 repos~597Automated safety check: PassMIT

Similar skills

  • Upstash Ratelimit TS

    upstash/ratelimit-js

    Official

    Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

    2k GitHub stars~313 tokensUpdated 13 days ago
    Backend & APIsAuto-check passed
  • Qstash JS

    upstash/qstash-js

    Official

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

    269 GitHub stars~746 tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • 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
  • Agent Signal Pipeline

    lobehub/lobehub

    Guides building event-driven background work for LobeHub agents, with sources, signals, actions, policies, workflow handoff and deduplication.

    83k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Upstash Qstash

    davila7/claude-code-templates

    Upstash QStash expert for serverless message queues, scheduled jobs, and reliable HTTP-based task delivery without managing infrastructure.

    32k GitHub starsUsed in 5 repos~597 tokens
    Backend & APIsAuto-check passed
  • Bullmq Specialist

    sickn33/agentic-awesome-skills

    BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

    47k GitHub starsUsed in 2 repos~2.5k tokens
    Backend & APIsAuto-check passed

Works with

Categories

Questions about Upstash Workflow JS

What does Upstash Workflow JS do?

Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows. Upstash Workflow JS is an agent skill from upstash/workflow-js, published by the product's own GitHub organization. Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows.

When should I use Upstash Workflow JS?

Upstash Workflow JS fits situations like: A user wants to create workflow endpoints; interact with the Upstash Workflow client.

How do I install Upstash Workflow JS in Claude Code?

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

How do I install Upstash Workflow JS in Codex?

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

Can I use Upstash Workflow 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/workflow-js --skill upstash-workflow-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/upstash-workflow-js, .gemini/skills/upstash-workflow-js, .github/skills/upstash-workflow-js and .opencode/skills/upstash-workflow-js in your project.

What does Upstash Workflow JS need to run?

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

Does Upstash Workflow 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 Upstash Workflow 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 Upstash Workflow JS use?

Upstash Workflow 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 Upstash Workflow JS use?

About 553 tokens (SKILL.md is roughly 2.2k 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 Upstash Workflow JS?

Skills that share tags, products or a category with Upstash Workflow JS: Upstash Ratelimit TS (upstash/ratelimit-js, 2k stars), Qstash JS (upstash/qstash-js, 269 stars), Upstash Workflow Patterns (lobehub/lobehub, 83k stars) and Agent Signal Pipeline (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Upstash Workflow JS?

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

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