td-npath

Generate SQL workflows for nPath path analysis on Teradata event data.

7|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-npath
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: td-npath
Source: https://github.com/teradata-labs/claude-cookbooks/tree/main/skills/analytics/td-npath
Command: npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-npath

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of analyzing sequential event data to uncover patterns, user flows, and critical path analysis within your Teradata data.

Core Features & Use Cases

  • Automated Table Analysis: Discovers table structure, data types, and potential features.
  • SQL Workflow Generation: Creates dynamic SQL scripts for preprocessing and nPath execution.
  • Path Analysis: Identifies and quantifies sequential patterns for user behavior, transaction flows, and more.
  • Use Case: Analyze customer journey paths on your e-commerce platform to understand common sequences of actions leading to a purchase.

Quick Start

Analyze table: my_database.customer_events with target column: purchase_status.

Frequently Asked Questions about td-npath

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze sequential event patterns in Teradata to understand user flows?

Sequential event pattern analysis in Teradata uses the nPath function to identify and quantify user behavior paths. This Skill automates data preprocessing, feature engineering, and SQL generation to uncover common sequences like customer journeys leading to purchases.

What is nPath analysis and when do I need it for transaction flows?

nPath analysis is a technique for discovering sequential patterns in ordered event data. You need it when analyzing transaction flows or user behavior sequences to identify critical paths, bottlenecks, and common actions preceding specific outcomes within your database.

Can I use this to automate SQL generation for path analysis on my existing tables?

Yes, you can automate SQL generation for path analysis. The Skill discovers your table structure and data types, then dynamically creates SQL scripts for data preprocessing and nPath execution, supporting comprehensive workflow generation for sequential pattern discovery.

Does path analysis with nPath require manual data preprocessing first?

Manual data preprocessing is not required for path analysis with nPath. The Skill automates table analysis to discover structures and data types while generating feature engineering recommendations and dynamic SQL scripts for immediate workflow execution.

What's the best way to identify customer journey sequences leading to a purchase?

The best way to identify customer journey sequences is applying nPath analysis to sequential event data. By analyzing your e-commerce platform events, you can quantify common sequences of user actions that lead directly to a completed purchase.

Do I need to write custom SQL to discover sequential patterns in my event data?

You do not need to write custom SQL to discover sequential patterns. The Skill generates dynamic SQL scripts for preprocessing and nPath execution automatically after analyzing your table structure, data types, and potential features.