Agent skill · Workflow & Productivity

upstash-workflow

LobeHub Upstash Workflow and QStash guide. Use for async workflows, process/paginate/execute fan-out, serve handlers, context.run/call/sleep, or workflow triggers.

LobeHub80,937★ · +310/wk · 1 repos on radarProfile →
claude-codeNOASSERTION
Install
npx skills add lobehub/lobehub --skill upstash-workflow --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 6 KB
Bundled scripts: none
Path: .agents/skills/upstash-workflow/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 81,252 · +315 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Upstash Workflow Implementation Guide Standard patterns for implementing Upstash Workflow + QStash async workflows in the LobeHub codebase. ## 🎯 The Three Core Patterns Every workflow in LobeHub combines these three patterns. They exist because the platform constrains you in three ways: rate limits make blind fan-out dangerous, step limits cap a single workflow's size, and idempotency demands that retries don't double-process. 1. **🔍 Dry-Run Mode** — get statistics without triggering actual execution 2. **🌟 Fan-Out Pattern** — split large batches into smaller chunks for parallel processing 3. **🎯 Single Task Execution** — each workflow execution processes **exactly ONE item** --- ## Architecture Overview All workflows follow the same 3-layer architecture: ```text Layer 1: Entry Point (process-*) ├─ Validates prerequisites ├─ Calculates total items to process ├─ Filters existing items ├─ Supports dry-run mode (statistics only) └─ Triggers Layer 2 if work is needed Layer 2: Pagination (paginate-*) ├─ Handles cursor-based pagination ├─ Implements fan-out for large batches ├─ Recursively processes all pages └─ Triggers Layer 3 for each item Layer 3: Single Task Execution (execute

What's inside
Steps it walks through
  1. 🎯 The Three Core Patterns
  2. Architecture Overview
  3. The Three Patterns in 60 Seconds
  4. 1. Dry-Run Mode
  5. 2. Fan-Out Pattern
  6. 3. Single Task Execution
  7. File Structure
  8. Where to Go Next
  9. Environment Variables
  10. Checklist for New Workflows
  11. Planning
  12. Implementation
  13. Quality & Deployment
  14. Additional Resources
Ships with 4 files
  • references/best-practices.md
  • references/cloud.md
  • references/examples.md
  • references/implementation.md
Commands it runs
Required for all workflows
Optional (for custom QStash URL)
More from lobehub
All skills →
About this skill
What does the upstash-workflow skill do?

LobeHub Upstash Workflow and QStash guide. Use for async workflows, process/paginate/execute fan-out, serve handlers, context.run/call/sleep, or workflow triggers.

How do I install it?

Run `npx skills add lobehub/lobehub --skill upstash-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From lobehub/lobehub, a repository with 81,252 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going