rt-setup-personalization

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

A complete setup workflow for Real-Time Personalization, which provides personalized API responses as events and customer data arrive. It prepares the data setup, identity matching, service, and personalization entity.

In plain words
What is it for?
Use it to set up Real-Time Personalization from scratch, configure events and attributes, create the service, and deploy an entity with its response payload.
Why use it?
It gathers the prerequisite checks and configuration into one workflow. This reduces the chance of missing a required part before deploying personalization.

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 set up Real-Time Personalization from scratch, configure events and attributes, create the service, and deploy an entity with its response payload.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/rt-setup-personalization"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-setup-personalization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,110 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.00097 $0.03110
Opus 5.5 $0.00039 $0.01244
Sonnet 5.5 $0.00019 $0.00622
Haiku 4.5 $0.00010 $0.00311

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

Security

Grade A, and why

rt-setup-personalization 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.

FOLDER_ID=$(curl -s "https://api-cdp.treasuredata.com/audiences/<ps_id>/folders" \
realtime-skills/rt-setup-personalization/SKILL.md · 394 lines

How it starts

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

RT 2.0 Personalization Setup - Complete Workflow

Orchestrates the complete RT personalization setup: parent segment validation → use case discovery → data exploration → RT config → personalization service → personalization entity deployment.

Prerequisites

  • TD CLI installed: tdx
  • Authenticated: tdx auth setup
  • Parent segment created in Data Workbench
  • Master API key with full permissions: export TD_API_KEY=your_key

Workflow Overview

Complete 9-step workflow. Each step must complete successfully before proceeding.

Step 1: Validate Parent Segment ✓
Step 2: Use Case Discovery ✓
Step 3: Explore PS Attributes ✓
Step 4: Discover Event Tables ✓
Step 5: Define ID Stitching ✓
Step 6: Define RT Attributes ✓
Step 7: Configure RT Infrastructure ✓ (SHARED with rt-setup-triggers)
Step 8: Create Personalization Service ✓
Step 9: Create Personalization Entity ✓
  9a. Get Parent Segment Folder
  9b. Get Key Event and Attribute IDs
  9c. Validate Payload (REQUIRED - use rt-personalization-validation skill)
  9d. Create Entity via API
Step 10: Verify & Test ✓

Steps 1-2: Validate & Discover Use Case

See steps/01-02-validate-discovery.md for detailed implementation.

Quick Summary

Step 1: Validate parent segment exists and check RT status

# Check if PS has RT enabled
tdx ps rt list --json | jq '.[] | select(.id=="<ps_id>" or .name=="<ps_name>") | {
  id, name,
  rt_status: .status,
  event_tables: (.event_tables | length),
  key_events: (.key_events | length)
}'

Expected outputs:

  • rt_status: "ok" → RT enabled, proceed to Step 2
  • rt_status: "updating" → Wait for RT to be ready
  • Empty result → PS not RT-enabled. Show error: "RT not enabled for this parent segment. Contact CSM."

Step 2: Ask user about use case (Web Personalization, Cart Recovery, User Profile API, etc.)

Checkpoints:

  • ✓ Parent segment ID confirmed
  • ✓ RT status validated ("ok" or "not_configured")
  • ✓ Use case selected

Read the full file on GitHub · 394 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. 2mo ago First seen · 394 lines · 97 tokens per session scan A d178f0f74cc5

Subscribe to this mod's changes

rt-setup-personalization is a skill published in the GitHub repository treasure-data/td-skills (22 stars, last pushed 5d ago), licensed Apache-2.0. It adds 97 tokens to every session and 3,110 once invoked, about $0.0004 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-setup-personalization compared with skills from other repositories

rt-setup-personalization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rt-setup-personalizationtreasure-data/td-skillsSkill225d agoApache-2.0A97Claude 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