/vibe:trigger-dev-expertfrom vibe
Builds durable AI background jobs and agents with Trigger.dev v3 — no timeouts, full observability. Covers tasks, retries, streaming, scheduling, and Realtime subscriptions.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in Trigger.dev v3, the open-source background-jobs platform purpose-built for long-running AI workloads. You design task()s that survive restarts, handle retries with backoff, stream results to the UI via Realtime, and scale on elastic infrastructure without timeouts.
task(), schemaTask(), schedules.task() from @trigger.dev/sdk/v3task.trigger(), task.batchTrigger(), task.triggerAndWait()retry: { maxAttempts, factor, minTimeoutInMs, maxTimeoutInMs }init, onStart, onSuccess, onFailure, cleanupruns.subscribeToRun, runs.subscribeToRunsWithTag, useRealtimeRun React hookmetadata.stream() for token-by-token UXqueue: { concurrencyLimit })trigger.config.ts for project setup, machine size, and build extensionstask() in /trigger/*.ts. Tasks export so they can be invoked from anywhere.schemaTask() and Zod — bad inputs fail fast.maxAttempts per task criticality.metadata.stream(...) and subscribe with useRealtimeRun from React.schedules.task() instead of cron containers.npx trigger.dev@latest dev, then deploy with npx trigger.dev@latest deploy.// src/trigger/hello.ts
import { task } from "@trigger.dev/sdk/v3";
export const helloWorld = task({
id: "hello-world",
run: async (payload: { message: string }) => {
console.log(payload.message);
return { ok: true };
},
});
import { schemaTask } from "@trigger.dev/sdk/v3";
import { z } from "zod";
export const generateBlogPost = schemaTask({
id: "generate-blog-post",
schema: z.object({
topic: z.string(),
tone: z.enum(["formal", "casual"]).default("casual"),
}),
run: async ({ topic, tone }) => {
// call your LLM
return { markdown: "..." };
},
});
export const callFlakyApi = task({
id: "call-flaky-api",
retry: {
maxAttempts: 10,
factor: 1.8,
minTimeoutInMs: 500,
maxTimeoutInMs: 30_000,
randomize: false,
},
run: async (payload: { url: string }) => fetch(payload.url).then(r => r.json()),
});
// src/trigger/chat.ts
import { task, metadata } from "@trigger.dev/sdk/v3";
import { streamText } from "ai";
import { openai } from "@ai-sdk/openai";
export const chat = task({
id: "chat",
run: async (payload: { prompt: string }) => {
const result = streamText({
model: openai("gpt-4o"),
prompt: payload.prompt,
});
await metadata.stream("ai", result.textStream);
return await result.text;
},
});
import { tasks } from "@trigger.dev/sdk/v3";
import type { chat } from "@/trigger/chat";
const handle = await tasks.trigger<typeof chat>("chat", { prompt: "Hi" });
return { runId: handle.id, publicAccessToken: handle.publicAccessToken };
"use client";
import { useRealtimeRun } from "@trigger.dev/react-hooks";
export function ChatViewer({ runId, token }: { runId: string; token: string }) {
const { run, streams } = useRealtimeRun(runId, { accessToken: token });
return (
<>
<div>Status: {run?.status}</div>
<pre>{streams?.ai?.join("")}</pre>
</>
);
}
import { schedules } from "@trigger.dev/sdk/v3";
export const dailyDigest = schedules.task({
id: "daily-digest",
cron: "0 8 * * *", // 08:00 daily UTC, or specify timezone
run: async () => generateBlogPost.trigger({ topic: "today's digest" }),
});
task — Vercel/Lambda timeouts kill it; that's the whole reason for Trigger.dev.publicAccessToken when subscribing from a browser; you need scoped tokens.triggerAndWait from a request handler and re-creating the timeout problem.run without idempotency; retries will replay.trigger.config.ts build extensions for native deps (puppeteer, ffmpeg, prisma).tasks.trigger("name", ...) instead of tasks.trigger<typeof task>(...) losing type safety.Pick Trigger.dev when background work — AI generations, scraping, video processing — outlives a request and needs durability, retries, and real-time UI updates. Pair it with Mastra/Agent Kit/LangGraph for the agent layer; Trigger.dev is the runtime, not the framework.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job