Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

teradata-connection

БесплатноБез исполняемых скриптовНе проверен

Connect to a source Teradata database for full migration to Snowflake using scai CLI (code, scai test, cloud table data migration/validation). Requires a…

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub

Об этом скилле

Teradata Connection Skill

On Entry

Tell the user:

Setting up Teradata connection — I'll configure and test a connection to your source Teradata database. This requires a driver download on first use.

Prerequisites

  • Network access to the Teradata database instance
  • Teradata credentials (username/password) — standard or LDAP-backed
  • The scai CLI installed and available
  • The Teradata .NET driver NuGet package (Teradata.Client.Provider.nupkg) — see Step 1

Required Connection Details

Parameter Required Description
-s, --source-connection Yes Friendly name for this connection
--auth Yes Authentication method (standard or ldap)
--host Yes Teradata hostname or IP
--database Yes Teradata database name
--port No Port number (default: 1025)
--user Yes Teradata username
--password Yes Teradata password (prompted securely)
--connection-timeout No Connection timeout in seconds (default: 30)

Workflow

Step 1: Provision the Teradata Driver

The required driver is the Teradata.Client.Provider NuGet package. Resolve it by following the canonical bootstrap flow:

Driver bootstrap: see ../references/driver-bootstrap.md with parameters <dialect>=teradata, <package>=Teradata.Client.Provider, <driver_file>=Teradata.Client.Provider.nupkg, <cache_dir>=~/.snowflake/scai/drivers/teradata/, <nuget_url>=https://www.nuget.org/api/v2/package/Teradata.Client.Provider.

That doc walks through cache check → ask-on-miss → user-provided path or download → first SCAI invocation with --driver-path if needed. Follow it silently — don't narrate "the bootstrap flow" or step labels to the user.

Naming guard: the driver is a .NET NuGet package, not a JDBC driver. Refer to it only as "the Teradata driver" or "the Teradata NuGet package" when talking to the user.

For this skill specifically, the first SCAI invocation called out by the bootstrap is the configure tool call in Step 4 below — pass driver_path=<PATH> there if the driver wasn't already cached. The MCP server invokes scai connection test --driver-path <PATH> internally, which seeds the driver cache.

Step 2: Ask How to Provide Credentials

Ask the user:

"I need the following to connect to Teradata:

  • Host (hostname or IP)
  • Database name
  • Username and Password
  • Authentication method — standard (username/password) or ldap (LDAP-backed credentials)

How would you like to provide these?"

Options:

  1. Enter manually - Provide values interactively

Step 3: Add the Connection (Manual Entry)

Interactive mode (recommended):

scai connection add-teradata

Inline mode (standard auth):

scai connection add-teradata \
  -s <CONNECTION_NAME> \
  --auth standard \
  --host <HOST> \
  --database <DATABASE> \
  --port 1025 \
  --user <USERNAME>

Inline mode (LDAP auth):

scai connection add-teradata \
  -s <CONNECTION_NAME> \
  --auth ldap \
  --host <HOST> \
  --database <DATABASE> \
  --user <USERNAME>

Password will be prompted securely.

Step 4: Save and Test Source Connection

This is the "first SCAI invocation" called out as 1e in the bootstrap reference. Use the path resolved in Step 1.

Call the configure tool with source_connection set to <CONNECTION_NAME>. The MCP server runs scai connection test internally and only persists the connection if the test passes.

  • First use (driver not yet cached): also pass driver_path=<PATH_TO_NUPKG>. The first call copies the driver into ~/.snowflake/scai/drivers/teradata/, so every subsequent configure call (in this project or any other) can omit driver_path.

    configure(source_connection=<CONNECTION_NAME>, driver_path=<PATH_TO_NUPKG>)
    
  • Driver already cached: omit driver_path.

    configure(source_connection=<CONNECTION_NAME>)
    
  • On success: the response includes connection_test: ok.

  • On failure: the tool returns an error containing the scai message. Surface it to the user, help them fix the issue, then re-run configure(...). See ./references/REFERENCE.md for detailed troubleshooting.

Common errors:

Error Cause Solution
Socket closed Invalid host or port Verify host and port (default 1025)
Logon failed Wrong credentials Check username and password
Database does not exist Invalid database name Verify the database name
Connection timed out Network/firewall issue Check VPN, firewall rules, security groups
Driver not found Missing or invalid driver_path Re-download the NuGet package and verify the file path
LDAP authentication failed Invalid LDAP credentials Verify LDAP username and password with your admin

CHECKPOINT

Confirm with user:

  • [
Полный SKILL.md на GitHub

Установить teradata-connection в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/REFERENCE.md

FAQ

Что делает скилл teradata-connection?

Connect to a source Teradata database for full migration to Snowflake using scai CLI (code, scai test, cloud table data migration/validation). Requires a user-provided Teradata driver (NuGet package). Triggers: teradata, source connection, source database, connect to teradata, add teradata connection.

Как установить скилл teradata-connection?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл teradata-connection запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить teradata-connection с