parent-segment-analysis

Installation
SKILL.md

tdx Parent-Segment-Analysis - CDP Parent Segment Data Analysis

Workflow

  1. Get output database schema
  2. Read ALL columns from the schema file to understand available data
  3. Identify relevant columns for the analysis (use sub-agent if schema is large)
  4. Query customers or behavior tables

Get Output Database Schema

Parent segments generate an output database (cdp_audience_{id}) with:

  • customers table - master + all attributes joined
  • behavior_{name} tables - one per behavior
# Save schema to file (recommended for large schema data)
tdx ps desc "Customer 360" -o customer_360_schema.json
Installs
2
GitHub Stars
19
First Seen
Mar 30, 2026
parent-segment-analysis — treasure-data/td-skills