Command Palette

Search for a command to run...

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

worker-local-setup

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

Install and start the Data Exchange Worker on a user-managed machine (laptop, cloud VM, or on-prem server).

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

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

Worker Local Setup

Set up and run the Data Exchange Worker on whatever machine will execute it: a laptop, a cloud VM, an on-premises server, or one host per worker when scaling out. The steps are the same on each host.

Prerequisites

Note: Ensure the host can reach both the source database and your Snowflake account (and meets any corporate firewall or proxy rules when applicable).

Prerequisites depend on the source dialect and the extraction strategy chosen in data migration setup. Load extraction-strategies-reference.md for the full matrix; complete the matching section below before Step 1.

SQL Server — regular (ODBC)

The Data Exchange Worker connects to SQL Server via the Microsoft ODBC Driver. Before starting the worker, verify it is installed:

odbcinst -q -d 2>/dev/null | grep -i "ODBC Driver"

If the command returns a driver name (e.g. [ODBC Driver 18 for SQL Server]), the driver is present — continue to Step 1.

If the command returns nothing, the driver is missing. Stop here and ask the user to install it — do not attempt installation yourself, as it requires sudo and interactive steps that cannot be automated.

Tell the user:

The Data Exchange Worker requires the Microsoft ODBC Driver for SQL Server to connect to your source database. Please install it and then resume.

macOS — Homebrew (recommended):

brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
HOMEBREW_ACCEPT_EULA=Y brew install msodbcsql18

The brew tap step may ask you to confirm adding a third-party repository — this is expected.

macOS — without Homebrew: Download and install the .pkg from the Microsoft ODBC Driver download page. Choose the macOS package matching your architecture (arm64 for Apple Silicon, x86_64 for Intel).

After installing, verify with:

odbcinst -q -d | grep -i "ODBC Driver"

Then resume the setup.

Once the user confirms the driver is installed, re-run the check and continue.

PostgreSQL — regular (COPY)

No ODBC driver. The worker uses bundled Npgsql with use_copy = true. Skip the ODBC pre-flight above.

Oracle — regular (ODP.NET)

No SQL Server ODBC check. Ensure the worker can reach Oracle with the service name in TOML database (same as scai connection).

Oracle — dbms_cloud

Configure dbms_cloud_credential_name and dbms_cloud_file_uri_prefix in [connections.source.oracle] after generate-config. Oracle must grant EXECUTE on DBMS_CLOUD and a credential for the HTTPS prefix. Set extraction.strategy: dbms_cloud and externalStage in workflow YAML. See extraction-strategies reference and dmvf/data-exchange-agent/docs/oracle-dbms-cloud-local-setup.md.

Redshift — unload

Add unload_s3_bucket and unload_iam_role_arn to [connections.source.redshift]. Set extraction.strategy: unload and externalStage in workflow YAML.

Teradata — tpt

Install Teradata TTU on the worker host (tbuild). Optional tpt_* fields in TOML. Workflow may use extraction.strategy: tpt.

Teradata — write_nos

Configure write_nos_* fields in [connections.source.teradata]. Set extraction.strategy: write_nos and externalStage in workflow YAML.

Step 1 — Generate the Worker Config

Skip this step for Iceberg migration strategies that don't use a Worker (catalog_link, convert_to_managed, copy_files with sourceDataStage).

If the project's .scai/config/dew_configuration.toml (path relative to the SCAI project root) already exists with no <PLACEHOLDER> tokens, report "Worker config already complete" and continue to Step 2.

Otherwise, run:

scai data worker generate-config

Run inside the project (no path argument) — scai writes the project-default .scai/config/dew_configuration.toml.

This pre-fills [connections.source.<engine>] from the project's scai source connection (host, user, database, port, and engine-specific fields like SQL Server's trust_server_certificate and encrypt, or Teradata authentication = "LDAP" when --auth ldap). The CLI will prompt before overwriting an existing file; pass -y to overwrite without prompting.

Affinity: when this flow is driven through the plugin, data_infrastructure(mode="up") generates this config. With no explicit override, scai applies the same stable project default used by workflow generation. If configure(affinity="<label>") set an override, the plugin passes that label to both generators and regenerates a stale DEW config whose affinity differs. When running generate-config yourself, omit --affinity to use the project default or pass the same explicit --affinity <label> as the workflow. See the [Affinity Reference](../ref

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

Установить worker-local-setup в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл worker-local-setup?

Install and start the Data Exchange Worker on a user-managed machine (laptop, cloud VM, or on-prem server).

Как установить скилл worker-local-setup?

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

Скилл worker-local-setup запускает скрипты?

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

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

Сравнить worker-local-setup с