rt-config-attributes
БесплатноБез исполняемых скриптовНе проверенConfigure RT 2.0 attributes - single, list, counter, and batch attributes for real-time profile enrichment
от treasure-data★ 23 звезды на GitHubОб этом скилле
RT 2.0 Attribute Configuration
Configure real-time and batch attributes for profile enrichment.
Prerequisites
- RT 2.0 enabled and event tables configured
- Use
rt-config-eventsskill to configure events first
Attribute Types
Single Attributes
Latest or aggregated value from event field:
- name: "last_product_viewed"
type: "single"
source_event: "page_view"
source_field: "product_id"
aggregation: "last" # last, first, sum, min, max
sensitivity: "non-sensitive" # or "sensitive" for PII
description: "Most recently viewed product"
Aggregation options:
last- Most recent valuefirst- First value seensum- Sum of valuesmin- Minimum valuemax- Maximum value
List Attributes
Distinct values with expiry:
- name: "viewed_products_30d"
type: "list"
source_event: "page_view"
source_field: "product_id"
aggregation: "distinct_list"
max_items: 50 # Max list size
expiry_days: 30 # Remove items after N days
sensitivity: "non-sensitive"
description: "Products viewed in last 30 days"
Parameters:
max_items- Maximum list length (default: 100)expiry_days- Days before items expire (default: 90)- Only
distinct_listaggregation supported
Counter Attributes
Event counts over time window:
- name: "purchase_count_7d"
type: "counter"
source_event: "purchase"
window_duration: "7d" # 24h, 7d, 30d, 90d
aggregation: "count" # count or sum
sensitivity: "non-sensitive"
description: "Purchases in last 7 days"
With field sum:
- name: "total_spend_30d"
type: "counter"
source_event: "purchase"
source_field: "amount" # Field to sum
window_duration: "30d"
aggregation: "sum"
sensitivity: "non-sensitive"
Window options: 24h, 7d, 30d, 90d
Imported Batch Attributes
From parent segment (updated on schedule):
- name: "customer_tier"
type: "imported_batch"
source: "parent_segment"
sensitivity: "non-sensitive"
description: "Customer tier from parent segment"
Note: Attribute name must match parent segment attribute name exactly.
E-commerce Attribute Examples
attributes:
# Last viewed product
- name: "last_product_viewed"
type: "single"
source_event: "product_view"
source_field: "product_id"
aggregation: "last"
sensitivity: "non-sensitive"
# Viewed products list
- name: "viewed_products_30d"
type: "list"
source_event: "product_view"
source_field: "product_id"
aggregation: "distinct_list"
max_items: 50
expiry_days: 30
sensitivity: "non-sensitive"
# Viewed categories
- name: "browsed_categories"
type: "list"
source_event: "product_view"
source_field: "category"
aggregation: "distinct_list"
max_items: 20
expiry_days: 30
sensitivity: "non-sensitive"
# Cart value
- name: "cart_value"
type: "single"
source_event: "add_to_cart"
source_field: "total_amount"
aggregation: "sum"
sensitivity: "non-sensitive"
# Purchase count
- name: "purchase_count_30d"
type: "counter"
source_event: "purchase"
window_duration: "30d"
aggregation: "count"
sensitivity: "non-sensitive"
# Total spend
- name: "total_spend_30d"
type: "counter"
source_event: "purchase"
source_field: "amount"
window_duration: "30d"
aggregation: "sum"
sensitivity: "non-sensitive"
# Batch: Customer tier
- name: "customer_tier"
type: "imported_batch"
source: "parent_segment"
sensitivity: "non-sensitive"
Media/Content Attribute Examples
attributes:
# Viewed content IDs
- name: "viewed_content_ids"
type: "list"
source_event: "content_view"
source_field: "content_id"
aggregation: "distinct_list"
max_items: 100
expiry_days: 90
sensitivity: "non-sensitive"
# Favorite category
- name: "favorite_category"
type: "single"
source_event: "content_view"
source_field: "category"
aggregation: "last"
sensitivity: "non-sensitive"
# Video watch count
- name: "videos_watched_7d"
type: "counter"
source_event: "video_play"
window_duration: "7d"
aggregation: "count"
sensitivity: "non-sensitive"
# Last article read
- name: "last_article_url"
type: "single"
source_event: "article_read"
source_field: "url"
aggregation: "last"
sensitivity: "non-sensitive"
SaaS/B2B Attribute Examples
attributes:
# Features used
- name: "features_used"
type: "list"
source_event: "feature_used"
source_field: "feature_name"
aggregation: "distinct_list"
max_items: 50
expiry_days: 30
sensitivity: "non-sensitive"
# Login count
- name: "login_count_7d"
type: "counter"
source_event: "login"
window_duration: "7d"
aggregation: "count"
sensitivity: "non-sensitive"
# Last login time
- name:
Установить rt-config-attributes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rt-config-attributes?
Configure RT 2.0 attributes - single, list, counter, and batch attributes for real-time profile enrichment
Как установить скилл rt-config-attributes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rt-config-attributes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic