Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    treasure-data

    parent-segment

    treasure-data/parent-segment
    Data & Analytics
    6
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Manages CDP parent segments using tdx ps commands with YAML configs...

    SKILL.md

    tdx Parent-Segment - CDP Parent Segment Management

    Core Commands

    tdx ps list                                  # List parent segments
    tdx ps pull "Customer 360"                   # Pull to YAML (sets context)
    tdx ps push                                  # Push changes
    tdx ps validate                              # Validate all
    tdx ps validate --attribute "User Profile"   # Validate specific attribute
    tdx ps preview --enriched                    # Preview joined data
    tdx ps run                                   # Push and run workflow
    tdx ps fields                                # List segmentation fields
    

    YAML Configuration

    name: "Customer 360"
    
    master:
      database: cdp_db
      table: customers
      filters:                          # Optional: max 2 filters
        - column: status
          values: ["active"]
    
    schedule:
      type: daily                       # none | hourly | daily | weekly | cron
      time: "03:00:00"
      timezone: "America/Los_Angeles"
    
    attributes:
      - name: "User Profile"
        source:
          database: cdp_db
          table: user_profiles
        join:
          parent_key: user_id
          child_key: customer_id
        columns:
          - column: age
            type: number
    
    behaviors:
      - name: "Purchases"
        source:
          database: cdp_db
          table: purchase_events
        join:
          parent_key: user_id
          child_key: customer_id
        columns:
          - column: amount
            type: number
    

    Common Issues

    Issue Solution
    Low join match rate tdx ps preview --master and --attribute to compare keys
    Workflow fails tdx ps validate --master, --attribute, --behavior

    Related Skills

    • segment - Child segments using parent segment data
    • tdx-basic - Core CLI operations

    Resources

    • https://tdx.treasuredata.com/commands/parent-segment.html
    Recommended Servers
    Desktop Commander
    Desktop Commander
    Neon
    Neon
    GitHub
    GitHub
    Repository
    treasure-data/td-skills
    Files