async-queue-temporal-expert

async-queue-temporal-expert is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 62 tokens per session (844 once invoked), scanned A, original, MIT.

A technical guide to background jobs that continue reliably even when a server crashes, a network connection fails, or a task takes a long time. It covers Temporal, Trigger.dev, Inngest, and BullMQ, tools for running and coordinating such jobs.

In plain words
What is it for?
Use it to design queues, long-running workflows, distributed transactions with rollback steps, retries, rate limits, and controlled worker concurrency.
Why use it?
It helps prevent multi-step background work from stopping halfway and explains how to retry failed steps, limit workload, and undo earlier actions when a later step fails.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/roedyrustam/vibes-plug/async-queue-temporal-expert
Any agent
npx skills add roedyrustam/vibes-plug --skill async-queue-temporal-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for async-queue-temporal-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/async-queue-temporal-expert.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/async-queue-temporal-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/async-queue-temporal-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/async-queue-temporal-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 844 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00844
Opus 5 $0.00031 $0.00422
Sonnet 5 $0.00012 $0.00169
Haiku 4.5 $0.00006 $0.00084

Measured 5d ago against content hash 502a04cd0d8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

async-queue-temporal-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/async-queue-temporal-expert/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Async Queue & Durable Workflow Expert

English | Bahasa Indonesia


English

Purpose & Overview

Production-grade guidance for designing durable, fault-tolerant background execution pipelines and distributed state machines using Temporal.io, Trigger.dev v3, Inngest, and BullMQ v5. Guarantees execution completion across long-running background tasks, API rate limits, and server crashes.

Key Capabilities

  • Durable Execution: Automatic retry, state persistence, and resume after server restarts or network partitions.
  • Saga Pattern Orchestration: Multi-step distributed transactions with compensation logic for rollback on failure.
  • Rate Limiting & Concurrency: Controlled worker concurrency, backoff jitter, and per-tenant queue isolation.
import { task } from "@trigger.dev/sdk/v3";

export const generateSaaSReport = task({
  id: "generate-saas-report",
  run: async (payload: { tenantId: string }) => {
    // Durable step execution with automatic retries
    const data = await fetchTenantData(payload.tenantId);
    const pdfUrl = await generatePDF(data);
    await sendEmailReport(payload.tenantId, pdfUrl);
    return { success: true, pdfUrl };
  },
});

Implementation Checklist

  • Define background tasks idempotently so they can be safely retried without side effects.
  • Offload heavy payloads to cloud storage (S3) and pass only reference IDs/URLs through the queue.
  • Configure concurrency limits per tenant/worker to avoid rate limit bans from third-party APIs.
  • Implement compensation tasks (rollback) for distributed saga patterns if a downstream step fails permanently.

Bahasa Indonesia

Integrasi Orkestrasi

Terhubung dan mengorkestrasi skill domain yang relevan seperti brainstorming, zero-to-prod-orchestrator, dan project-context-mapper untuk memastikan eksekusi yang kohesif.

Deskripsi

Panduan tingkat produksi untuk merancang pipeline eksekusi background yang tahan-gagal (durable execution) dan state machine terdistribusi menggunakan Temporal.io, Trigger.dev v3, Inngest, dan BullMQ v5. Menjamin penyelesaian eksekusi tugas background berdurasi panjang meskipun terjadi server crash atau pembatasan API rate limit.

Read the full file on GitHub · 70 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 70 lines · 62 tokens per session scan A 502a04cd0d8b

Subscribe to this mod's changes

async-queue-temporal-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (49 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 844 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

performance-optimization

Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.

addyosmani/agent-skills · 59 tokens

test-driven-development

Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

addyosmani/agent-skills · 50 tokens

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

addyosmani/agent-skills · 45 tokens

documentation-and-adrs

Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

addyosmani/agent-skills · 43 tokens

incremental-implementation

Delivers changes incrementally. Use when implementing any feature or change that touches more than one file. Use when you're about to write a large amount of code at once, or when a task feels too big to land in one step.

addyosmani/agent-skills · 52 tokens

source-driven-development

Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

addyosmani/agent-skills · 40 tokens