rt-triggers

rt-triggers is a skill for Claude Code from treasure-data/td-skills. It costs 36 tokens per session (3,122 once invoked), scanned A, original, Apache-2.0.

A setup for Real-Time Triggers, which start actions when specified events happen and call external systems through an API.

In plain words
What is it for?
Use it to create real-time journeys that react to events and send data or start actions in external services.
Why use it?
It removes the need to detect events and start integrations manually. It helps connect event-driven activity to other systems in real time.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the realtime-skills plugin — 18 skills shipped together

Good fit Use it to create real-time journeys that react to events and send data or start actions in external services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/rt-triggers
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.

Any agent
npx skills add treasure-data/td-skills --skill rt-triggers
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install realtime-skills, the plugin that ships this one along with the rest of its 18 skills.

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 rt-triggers

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-triggers/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/rt-triggers)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/rt-triggers"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-triggers/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 rt-triggers

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/rt-triggers"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-triggers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00036 $0.03122
Opus 5.5 $0.00014 $0.01249
Sonnet 5.5 $0.00007 $0.00624
Haiku 4.5 $0.00004 $0.00312

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

Security

Grade A, and why

rt-triggers scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "https://your-webhook.com/test" \
realtime-skills/rt-triggers/SKILL.md · 487 lines

How it starts

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

RT 2.0 Triggers (RT Journeys)

Create event-triggered journeys that activate in real-time when specific events occur, sending data to external systems.

Note: This skill is for RT Journeys (event-triggered, API-only). For stage-based Batch Journeys (YAML workflow with tdx journey), use the journey skill.

Journey Types

Type Entry Workflow Use Case
RT Journeys (this skill) Event occurs API-only Real-time activations when events happen
Batch Journeys (journey skill) Segment membership YAML + tdx journey Multi-stage customer journey orchestration

Prerequisites

  • RT configuration complete (run rt-config skill first)
  • RT status is "ok" (not "updating")
  • Key events configured
  • Webhook/activation endpoint ready (optional)

Quick Start

# Check RT status
tdx ps view <parent_segment_id> --json | jq '.realtime_config.status'

# List key events
tdx api "/audiences/<parent_segment_id>/realtime_key_events" --type cdp

# Create RT journey via API
tdx api "/entities/realtime_journeys" --type cdp --method POST --data '{
  "name": "welcome_email",
  "parent_segment_id": 394649,
  "event_name": "registration",
  "activations": [
    {
      "type": "webhook",
      "endpoint": "https://your-app.com/webhooks/welcome",
      "payload_template": {
        "user_id": "{{user_id}}",
        "event": "registration"
      }
    }
  ]
}'

RT Journey Structure

{
  "name": "abandoned_cart_recovery",
  "parent_segment_id": 394649,
  "event_name": "cart_abandon",
  "description": "Send webhook when cart is abandoned",
  "activations": [
    {
      "type": "webhook",
      "name": "cart_recovery_webhook",
      "endpoint": "https://marketing-platform.com/webhooks/cart",
      "method": "POST",
      "headers": {
        "Authorization": "Bearer {{api_key}}",
        "Content-Type": "application/json"
      },
      "payload_template": {
        "user_id": "{{user_id}}",
        "cart_value": "{{cart_value}}",
        "cart_items": "{{cart_items}}",
        "event_time": "{{event_time}}"
      }
    }
  ],
  "filters": {
    "cart_value": {
      "operator": "greater_than",
      "value": 50
    }
  }
}

Read the full file on GitHub · 487 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. 2mo ago First seen · 487 lines · 36 tokens per session scan A 11464a6d12db

Subscribe to this mod's changes

rt-triggers is a skill published in the GitHub repository treasure-data/td-skills (22 stars, last pushed 5d ago), licensed Apache-2.0. It adds 36 tokens to every session and 3,122 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

rt-triggers compared with skills from other repositories

rt-triggers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rt-triggerstreasure-data/td-skillsSkill225d agoApache-2.0A36Claude Code
mem0-oss-to-platformmem0ai/mem0Skill69k3d agoApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2ktodayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill573todayMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill254todayMITA106Claude Code