Skip to content

TD Skills for Claude Code

TD Skills are pre-built Claude Code plugins that enhance AI assistance for Treasure Data workflows.

Getting Started

Launch Claude Code with tdx claude to get all TD Skills pre-installed and ready to use.

Available Skills

PluginDescription
sql-skillsSQL query writing, optimization, and Trino/Hive assistance
workflow-skillsDigdag workflow design and debugging
tdx-skills/tdx-basicCore tdx CLI operations and configuration
tdx-skills/parent-segmentManage CDP parent segments with YAML-based configuration
tdx-skills/segmentManage CDP child segments with rules and activations

Installation

Pre-installed with tdx claude

All TD Skills are automatically pre-installed when you launch Claude Code with tdx claude. No manual installation required.

To manually install plugins using Claude Code's /plugin install command:

bash
# SQL and query assistance
/plugin install sql-skills@td-skills

# Workflow and orchestration
/plugin install workflow-skills@td-skills

# tdx CLI guidance (includes all tdx-skills)
/plugin install tdx-skills@td-skills

# Or install individual tdx skills
/plugin install tdx-skills/tdx-basic@td-skills
/plugin install tdx-skills/parent-segment@td-skills
/plugin install tdx-skills/segment@td-skills

Usage

Once installed, skills are automatically available in your Claude Code sessions. Simply ask questions related to the skill's domain:

  • SQL Skills: "Help me optimize this Trino query" or "Convert this SQL to Hive"
  • Workflow Skills: "Create a Digdag workflow for daily ETL" or "Debug this workflow failure"
  • tdx-basic: "How do I query a table with tdx?" or "Set up authentication"
  • parent-segment: "Create a parent segment with customer attributes" or "Add behaviors to my segment"
  • segment: "Build a segment for high-value customers" or "Set up activations to Salesforce"

More Information

See the td-skills repository for detailed documentation and skill-specific guides.