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.
npx skills add treasure-data/td-skills --skill rt-personalization-validationgit clone --depth 1 https://github.com/treasure-data/td-skillsWrote 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.
[](https://agentmods.dev/skills/treasure-data/td-skills/rt-personalization-validation)<a href="https://agentmods.dev/skills/treasure-data/td-skills/rt-personalization-validation"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-personalization-validation/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.
<a href="https://agentmods.dev/skills/treasure-data/td-skills/rt-personalization-validation"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/rt-personalization-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.02598 |
| Opus 5.5 | $0.00026 | $0.01039 |
| Sonnet 5.5 | $0.00013 | $0.00520 |
| Haiku 4.5 | $0.00007 | $0.00260 |
Grade A, and why
rt-personalization-validation 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 370 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RT Personalization Entity Validation
Validates personalization entity payloads and provides error-free templates.
When to Use This Skill
Proactive Validation (REQUIRED)
During rt-setup-personalization workflow at Step 9c:
- MUST be invoked BEFORE making the personalization entity creation API call
- Validates the complete payload JSON with actual values (not placeholders)
- Prevents common API errors by catching issues before submission
- This is a mandatory workflow step, not optional
Reactive Validation (Debugging)
After encountering API errors:
- When seeing "Attribute payload can't be blank" errors
- When personalization creation fails with validation errors
- When reviewing existing personalization configurations
- When troubleshooting payload structure issues
Critical Validation Rules
Rule #1: Empty Arrays Cause Errors
The #1 cause of "Attribute payload can't be blank" errors:
// ❌ FAILS - Empty arrays trigger validation errors
"stringBuilder": []
"attributePayload": []
// ✅ WORKS - Use null instead
"stringBuilder": null
"attributePayload": null
| Value | Result |
|---|---|
null or omitted |
✅ OK - skips validation |
[] (empty array) |
❌ ERROR - "can't be blank" |
Rule #2: At Least One Payload Required
Section definition must include at least ONE of:
attributePayload(with content)stringBuilder(with content)catalogPayload(with content, feature-flagged)
All three cannot be null/empty simultaneously.
Rule #3: Misleading Error Messages
The API reports errors incorrectly:
Error: "sections[0].payload.node_id.definition.attribute_payload": ["Attribute payload can't be blank"]
Actual cause: stringBuilder: [] (empty array)
Reported cause: attribute_payload (misleading)
Always check stringBuilder first when seeing "can't be blank" errors.
Field Validation Rules
attributePayload
| Field | Validation |
|---|---|
outputName |
Required, max 256 chars, unique across all payload types |
realtimeAttributeId |
Required, must exist in CDP cache |
subAttributeIdentifier |
Required for ListAttribute/SlidingCounterAttribute only |
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.
- 2mo ago First seen · 370 lines · 66 tokens per session scan A 575fa3b44b63
rt-personalization-validation is a skill published in the GitHub repository treasure-data/td-skills (22 stars, last pushed 5d ago), licensed Apache-2.0. It adds 66 tokens to every session and 2,598 once invoked, about $0.0003 per session on Opus 5.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.
rt-personalization-validation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rt-personalization-validationtreasure-data/td-skills | Skill | 22 | 5d ago | Apache-2.0 | A | 66 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 69k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | today | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.2k | today | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.0k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 573 | today | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 254 | today | MIT | A | 106 | Claude Code |