agentset: Skill for Claude Code

.agents/skills/trigger-dev-tasks/SKILL.md

trigger-dev-tasks is a skill for Claude Code from agentset-ai/agentset. It costs 73 tokens per session (1,597 once invoked), scanned A, a copy of trigger-dev-tasks, MIT.

A guide for building asynchronous background tasks and workflows with Trigger.dev, a service for running Node.js jobs outside a user's immediate request.

In plain words
What is it for?
Use it to write or improve Trigger.dev tasks, scheduled jobs, AI workflows, subtasks, and jobs that use tools such as ffmpeg.
Why use it?
It helps make background jobs reliable by enforcing current APIs, retries, validation, exports, and safe handling of waiting or triggering subtasks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is agentset-ai/agentset's own configuration. It tells Claude Code how to work on agentset itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentset configures →

About the project

Agentset is an open-source platform for building retrieval-augmented generation applications, which let AI systems find relevant information from document collections before generating responses. Developers use it for ingestion, vector search, evaluation, cited chat, hosting, and agentic applications through APIs and SDKs. Its catalogue rules and skills provide agent guidance for working with Agentset.

agentset-ai/agentset · 2,113 stars · on GitHub · agentset.ai

Reuse

Borrowing it

Nothing to install: this file belongs to agentset-ai/agentset. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agentset-ai/agentset/main/.agents/skills/trigger-dev-tasks/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/agentset-ai/agentset

Made for: Claude Code.

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 trigger-dev-tasks

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentset-ai/agentset/trigger-dev-tasks/github.svg)](https://agentmods.dev/skills/agentset-ai/agentset/trigger-dev-tasks)
Your own site
<a href="https://agentmods.dev/skills/agentset-ai/agentset/trigger-dev-tasks"><img src="https://agentmods.dev/badge/skills/agentset-ai/agentset/trigger-dev-tasks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trigger-dev-tasks

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentset-ai/agentset/trigger-dev-tasks"><img src="https://agentmods.dev/badge/skills/agentset-ai/agentset/trigger-dev-tasks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00073 $0.01597
Opus 5.5 $0.00029 $0.00639
Sonnet 5.5 $0.00015 $0.00319
Haiku 4.5 $0.00007 $0.00160

Measured 1mo ago against content hash f91ff584cdfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trigger-dev-tasks 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 1mo 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.

Origin

This is a copy

100% identical to trigger-dev-tasks — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/trigger-dev-tasks/SKILL.md · 201 lines

How it starts

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

Trigger.dev Task Expert

You are an expert Trigger.dev developer specializing in building production-grade background job systems. Tasks deployed to Trigger.dev run in Node.js 21+ and use the @trigger.dev/sdk package.

Critical Rules

  1. Always use @trigger.dev/sdk - Never use @trigger.dev/sdk/v3 or deprecated client.defineJob pattern
  2. Never use node-fetch - Use the built-in fetch function
  3. Export all tasks - Every task must be exported, including subtasks
  4. Never wrap wait/trigger calls in Promise.all - triggerAndWait, batchTriggerAndWait, and wait.* calls cannot be wrapped in Promise.all or Promise.allSettled

Basic Task Pattern

import { task } from "@trigger.dev/sdk";

export const processData = task({
  id: "process-data",
  retry: {
    maxAttempts: 10,
    factor: 1.8,
    minTimeoutInMs: 500,
    maxTimeoutInMs: 30_000,
  },
  run: async (payload: { userId: string; data: any[] }) => {
    console.log(`Processing ${payload.data.length} items`);
    return { processed: payload.data.length };
  },
});

Schema Task (with validation)

import { schemaTask } from "@trigger.dev/sdk";
import { z } from "zod";

export const validatedTask = schemaTask({
  id: "validated-task",
  schema: z.object({
    name: z.string(),
    email: z.string().email(),
  }),
  run: async (payload) => {
    // Payload is automatically validated and typed
    return { message: `Hello ${payload.name}` };
  },
});

Triggering Tasks

From Backend Code (type-only import to prevent dependency leakage)

import { tasks } from "@trigger.dev/sdk";
import type { processData } from "./trigger/tasks";

const handle = await tasks.trigger<typeof processData>("process-data", {
  userId: "123",
  data: [{ id: 1 }],
});

From Inside Tasks

export const parentTask = task({
  id: "parent-task",
  run: async (payload) => {
    // Trigger and wait - returns Result object, NOT direct output
    const result = await childTask.triggerAndWait({ data: "value" });
    if (result.ok) {
      console.log("Output:", result.output);
    } else {
      console.error("Failed:", result.error);
    }

    // Or unwrap directly (throws on error)
    const output = await childTask.triggerAndWait({ data: "value" }).unwrap();
  },
});

Read the full file on GitHub · 201 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 201 lines · 73 tokens per session scan A f91ff584cdfb

Subscribe to this mod's changes

trigger-dev-tasks is a skill published in the GitHub repository agentset-ai/agentset (2,113 stars, last pushed 2d ago), licensed MIT. It adds 73 tokens to every session and 1,597 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to trigger-dev-tasks, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

arrowspace

Spectral vector search using graph Laplacian eigenstructure. Use when cosine/L2 similarity misses latent structure in your embeddings.

sickn33/agentic-awesome-skills · 28 tokens

autorag-setup

Install and configure AutoRAG, register its Lite MCP server for external agents, or repair its single search model, approved roots, indexes, datasources, and health checks without exposing credentials. Use when AutoRAG or MCP is missing, init/refresh/health fails, indexes are stale, or the user wants to add folders or…

Marker-Inc-Korea/AutoRAG · 75 tokens

autorag-lite-setup

Install and register the model-free AutoRAG Lite MCP server, configure approved roots and datasources, build indexes, and verify MCP discovery and search. Use when autorag-mcp is missing, MCP connection fails, indexes are stale, or the user wants document search without configuring a search model.

Marker-Inc-Korea/AutoRAG · 65 tokens

autorag-doctor

Diagnose and repair a broken or half-working AutoRAG install so every configured source is both indexed and searchable. Checks AutoRAG, MinSync, Jikji, the embedding backend, and every CLI-backed datasource (lazykatok, discrawl, slacrawl, wacrawl, telecrawl, notcrawl, mailcrawl, rclone, Spotlight), then fixes orphan…

Marker-Inc-Korea/AutoRAG · 149 tokens

autorag

Search, summarize, compare, and answer questions from an already configured AutoRAG librarian over local documents and configured datasources. Use when the user asks AutoRAG to search PDFs, wikis, notes, or a knowledge base. Use autorag-setup for install, model, roots, indexing, or datasource changes.

Marker-Inc-Korea/AutoRAG · 68 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens