/alteryx-to-sigma:alteryx-to-sigmafrom Alteryx → Sigma
Convert an Alteryx Designer workflow (.yxmd XML) into a Sigma data model. DbFileInput tools become warehouse tables, Join tools become relationships, Formula tools become calculated columns, Summarize tools become metrics. Data-model only — Alteryx has no dashboard surface, so this skill never builds a workbook.
Ships in Alteryx → Sigma. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Data-model only. An Alteryx Designer workflow is an ETL graph, not a dashboard. This skill converts
.yxmdXML into a Sigma data model and posts it. It does not build a workbook, applylayout.xml, or run visual PNG QA — those gates are N/A. Defer workbook authoring (if you want charts on top of the posted DM) tosigma-workbooks.
Phase numbering is local to this skill; the canonical Assess→Discover→ Reuse→Convert→Post-DM→Build→Layout→Parity→Security→Enhance arc and this skill's mapping live in
docs/phase-schema.mdat the repo root.
The converter lives in this skill (converter/alteryx.ts, bundled as
converter/cli.mjs). Conversion is local only — never call the hosted
sigma-data-model MCP, never convert_alteryx_to_sigma, never send the
.yxmd off-box. Rebuild after a .ts edit with npm run bundle in
converter/ (plain node, no tsx, no MCP checkout).
Read refs/yxmd-coverage.md (tool census) and refs/dbt-offramp.md
(ETL that belongs in dbt, not Sigma) before converting anything beyond a
simple Input + Join + Formula canvas.
Run from this skill directory.
An Alteryx .yxmd (or .yxmc) export of the workflow. Designer → Save.
No Alteryx Server/Gallery credentials are required.
Sigma auth, either of:
sigma auth login once, interactively
(never from a script); ruby scripts/setup.rb --cli verifies it. Tokens are
minted with sigma auth token, and the API host comes from the profile.
SIGMA_CLI_PROFILE picks a profile; an explicit one pins the run to it.ruby scripts/setup.rb (writes
~/.claude/settings.json + ~/.sigma-migration/env; every script here
auto-sources the neutral file).SIGMA_AUTH_MODE = auto (default: Sigma CLI first when sigma is on
PATH, then client credentials) | sigma-cli | client-credentials. To mint
a token by hand: eval "$(scripts/get-token.sh)", or python3 scripts/get_token.py --workdir <dir> on a shell that cannot run the bash
idiom.
The same warehouse the workflow's Input Data tools read. Sigma reads it
live; --database / --schema override the path parsed from the ODBC
File string when the .yxmd was built against a different catalog.
ruby scripts/migrate-alteryx.rb --yxmd <workflow.yxmd> --connection-id <id>
Defer estate inventory to alteryx-assessment (file-based scan of a folder
of .yxmd files). For a single workflow, skip to Phase 1.
The .yxmd is the source of truth. Open it (XML) and confirm:
<AlteryxDocument> rootDbFileInput / AlteryxDbFileInput) with warehouse
paths in the <File> stringUnsupported tools (Browse, Union, Crosstab, Download, macros, In-DB, etc.)
are skipped with warnings — never silently dropped from the warning list.
See refs/yxmd-coverage.md.
If MetaInfo is empty, run the workflow once in Designer and re-export so column names are in the XML; otherwise columns are inferred from Formula / Summarize refs (noisier).
Before creating a DM, score existing Sigma DMs and reuse on a strong match (avoid sprawl). Mirrors tableau Phase 1.5:
node converter/cli.mjs <workflow.yxmd> --connection <id> --out dm.json
ruby scripts/emit-signature.rb --spec dm.json --out signature.json
ruby scripts/find-or-pick-dm.rb --workbook-signature signature.json --out dm-match.json --auto-pick
migrate-alteryx.rb runs this automatically. --force-new skips reuse.
node converter/cli.mjs <workflow.yxmd> \
--connection <SIGMA_CONNECTION_ID> \
[--database DEMO_DB --schema DEMO --name "Orders"] \
--out dm.json
Mapping (see refs/yxmd-coverage.md for the full tool list):
| Alteryx | Sigma |
|---|---|
Input Data (DbFileInput) | warehouse-table element (source.path from the ODBC File string) |
| Join | relationships[] on the fact side (assumed N:1; composite keys; L/R unjoin → dbt) |
| Formula | calculated columns (Alteryx functions → Sigma; IF/ENDIF → If()) |
| Summarize | metrics (Sum/Avg/CountDistinct/…) |
| Select (renames / deselects) | hide deselected columns; apply name overrides |
| Filter | warning — consider as RLS (Phase Security) |
| Cross-element Formula refs | moved onto the derived "<Table> View" element as [SRC/REL/Field] |
converter/cli.mjs is self-contained (node, no npm, no network, no MCP).
It also writes a gaps array: every tool is converted / ignored /
dbt-offramp / gap. If stats.dbtOfframps > 0, read
refs/dbt-offramp.md and recommend a dbt (or warehouse SQL) model
for those tools before claiming the workflow lives in Sigma. Do not fake
Union / Crosstab / grouped Summarize / file inputs / macros as calc columns.
node converter/cli.mjs <workflow.yxmd> --connection <id> --out dm.json --gaps-out dbt-offramp.json
POST the DM, then read back the real element/column ids — never keep client-side ids as the source of truth:
ruby scripts/post-and-readback.rb --spec dm.json --out dm-map.json
folderId is required on create. The poster auto-picks a writable folder
(preferring a name matching ALTERYX / MIGRATION / TEST); override with
--folder <id> or SIGMA_FOLDER_ID.
Hard gate: /v2/dataModels/{id}/columns must contain zero type=error
columns. A 200 POST with a runtime-broken formula is a fail.
Alteryx workflows have no dashboard/report surface. Do not invent a
workbook. If the user wants charts on the posted DM, hand off to
sigma-workbooks.
No workbook is built, so there is no put-layout.rb / layout.xml and no
last write of layout. Visual PNG QA is also N/A; see
refs/layout-visual-qa.md.
For this skill the hard parity gate is the C5 column-type guard (formulas
resolve). migrate-alteryx.rb writes parity-final.json with
status=PASS only after that guard succeeds.
Numeric warehouse-vs-Sigma metric comparison is the follow-up when the same warehouse is reachable (query the posted DM's metrics against the Input Data tables). There is no Alteryx engine API to query for a three-way check. Never skip the column-type gate; never fake GREEN.
assert-phase6-ran.rb is not vendored — Alteryx is data-model-only,
so the workbook completion gate (layout, tiles, visual PNG) has nothing
to point at. The C5 column-type guard plus parity-final.json is the
hard gate.
Detect Filter tools always (Filter: <expr> — consider adding as RLS in
converter warnings). Alteryx has no first-class RLS/CLS on a .yxmd;
Filter expressions are the closest analogue. Apply to Sigma user-attributes
Alteryx canvases that reshape rows or land files are ETL. Sigma will not
be a better Alteryx. When the converter emits dbt-offramp:
dbtHint (also in dbt-offramp.json).sigma-data-models). The Output Data tool on the canvas usually is
the model you want.Worked rule table: refs/dbt-offramp.md.
Unsupported / unmapped tools are already in gaps (kind gap or
dbt-offramp). Optional tracking issue (dry-run by default — it files
nothing without --yes):
python3 scripts/escalate-gap.py --skill alteryx-to-sigma --category skill.
Both skill and converter route to this repo, because the converter
lives here (converter/*.ts) — there is no hosted Alteryx MCP tool. Never
fake a feature; flag it. Coverage: refs/yxmd-coverage.md.
QUICKSTART.md (opens in a new tab)converter/PROVENANCE.json (opens in a new tab)converter/alteryx.test.ts (opens in a new tab)converter/alteryx.ts (opens in a new tab)converter/cli.mjs (opens in a new tab)converter/cli.ts (opens in a new tab)converter/package-lock.json (opens in a new tab)converter/package.json (opens in a new tab)converter/sigma-ids.ts (opens in a new tab)converter/tsconfig.json (opens in a new tab)fixtures/orders-join.yxmd (opens in a new tab)fixtures/retail-star.yxmd (opens in a new tab)fixtures/union-offramp.yxmd (opens in a new tab)generated/cline/alteryx-to-sigma.md (opens in a new tab)generated/codex/AGENTS.md (opens in a new tab)generated/continue/alteryx-to-sigma.md (opens in a new tab)generated/cursor/rules/alteryx-to-sigma.mdc (opens in a new tab)refs/dbt-offramp.md (opens in a new tab)refs/layout-visual-qa.md (opens in a new tab)refs/yxmd-coverage.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub twells89/alteryx-to-sigma --plugin alteryx-to-sigma