alteryx-to-sigma
Claude Code plugin for migrating Alteryx Designer workflows (.yxmd) to
Sigma Computing, in the same format and phase structure as the
sigma-migration-skills
converters (Tableau, Power BI, Qlik, ThoughtSpot, QuickSight, Cognos,
MicroStrategy, SSRS).
Two things make this converter different from its siblings.
- Data-model only. An Alteryx canvas is an ETL graph, not a dashboard.
There is no report surface to reproduce, so this skill builds a Sigma
data model and stops. It never invents a workbook, never writes a
layout, and never runs visual QA — those gates are honestly N/A, not
skipped.
- Conversion is local, and the
.yxmd never leaves the box. The
converter is TypeScript that ships inside the skill
(converter/alteryx.ts, bundled to a dependency-free
converter/cli.mjs). Plain node, no network at convert time, no hosted
MCP. A customer's workflow XML is parsed on their machine.
The design contract: flag, never fake — and know when the answer is dbt
Sigma is a semantic layer (warehouse tables + relationships + metrics +
governed calc columns). Alteryx is frequently ETL (reshape rows, land
files, run Python, write a table). Forcing ETL through Sigma formulas
produces a model that POSTs cleanly and then returns the wrong grain, blank
columns, or type=error.
So every tool on the canvas is censused into one of four dispositions, and
nothing is silently dropped:
| Disposition | Meaning |
|---|
converted | Warehouse Input Data, two-input Join (composite keys; relationship on the fact/wider side), Formula (mapped functions + IF/ENDIF; cross-table refs qualified onto a derived view), ungrouped Summarize, Select hide/rename |
ignored | Browse / Comment / Sort — no data change, nothing to port |
dbt-offramp | Union, Join Multiple, L/R unjoin, grouped Summarize, file/CSV inputs, Crosstab/Transpose, Unique/Sample, macros/Python/In-DB, unmapped functions (REGEX_Replace, DateTimeParse, Switch, …) |
gap | Anything unrecognized — flagged, never assumed safe |
When stats.dbtOfframps > 0 the agent must stop claiming the workflow
lives in Sigma, show the offramp list with its per-tool dbt hint, and
recommend a dbt (or warehouse SQL) model that Sigma then reads as a
materialized table. Full rule table:
refs/dbt-offramp.md.
Per-tool coverage:
refs/yxmd-coverage.md.
What's in the box
| Skill | What it does |
|---|
skills/alteryx-to-sigma | The converter: .yxmd → Sigma data-model spec → reuse-check → POST + readback → column-type hard gate. Driven end-to-end by scripts/migrate-alteryx.rb. |
skills/alteryx-assessment | Read-only, file-based estate inventory: point it at a folder of .yxmd exports and get a sigma-dm vs dbt-first shortlist scored by the converter's actual coverage (it shells the same bundle, so it cannot drift). Writes nothing to Alteryx or Sigma. |
Install
# In Claude Code:
/plugin marketplace add twells89/alteryx-to-sigma
/plugin install alteryx-to-sigma
Then just ask: "migrate this Alteryx workflow to Sigma" / "assess my
Alteryx estate."
Or clone and run the scripts directly — nothing here requires the plugin
runtime.
Quick start (offline — no Sigma tenant, no credentials)
git clone https://github.com/twells89/alteryx-to-sigma
cd alteryx-to-sigma
# Convert a bundled fixture. The committed cli.mjs is self-contained:
# no npm install, no network.
node skills/alteryx-to-sigma/converter/cli.mjs \
skills/alteryx-to-sigma/fixtures/orders-join.yxmd \
--connection PLACEHOLDER-CONNECTION-ID \
--out /tmp/dm.json --gaps-out /tmp/gaps.json
# Inventory a folder of workflows (read-only):
ruby skills/alteryx-assessment/scripts/inventory.rb \
--dir skills/alteryx-to-sigma/fixtures --out /tmp/readout.json
End to end (needs a Sigma org)
Store credentials once — setup.rb writes both ~/.claude/settings.json
(Claude Code loads it automatically) and ~/.sigma-migration/env (every
script here auto-sources it, so any agent or plain shell works):
cd skills/alteryx-to-sigma
ruby scripts/setup.rb # or --client-id/--client-secret for automation
ruby scripts/migrate-alteryx.rb \
--yxmd path/to/workflow.yxmd \
--connection-id "$SIGMA_CONNECTION_ID" \
[--database DEMO_DB --schema DEMO] \
[--folder "$SIGMA_FOLDER_ID"] \
--workdir /tmp/alteryx-run