Excel → Sigma
A coding-agent skill that migrates Excel (.xlsx) planning / budget / forecast
models to Sigma — preserving the part that matters most about a spreadsheet:
data entry.
The repository is a Claude Code plugin marketplace and also contains a standalone,
agent-neutral SKILL.md with its own scripts, refs, and Python requirements.
Install
Claude Code
In Claude Code, add this repository as a marketplace and install its plugin:
/plugin marketplace add twells89/excel-to-sigma
/plugin install excel-to-sigma@excel-to-sigma
Invoke /excel-to-sigma:excel-to-sigma or ask Claude to migrate an Excel model.
The plugin contains the same skill directory used by every other agent. If you
are developing a local checkout, claude --plugin-dir /path/to/excel-to-sigma
loads it for one session. An installed plugin does not install Python dependencies
or connect to Sigma for you; complete the requirements below before posting.
Codex, Cursor, Cortex Code, and other coding agents
Clone this repository and point your agent at
skills/excel-to-sigma/SKILL.md. The root
AGENTS.md routes Excel migration requests to that skill. For a
project or user skill installation, copy the entire
skills/excel-to-sigma/ directory into the agent's skill location, keeping
SKILL.md, refs/, scripts/, and requirements.txt together. For example:
git clone https://github.com/twells89/excel-to-sigma.git
cp -R excel-to-sigma/skills/excel-to-sigma /path/to/agent/skills/
In a full clone, read AGENTS.md; with a standalone skill installation, open
its SKILL.md directly. Run commands from the skill directory so scripts/
and refs/ resolve the same way in either form. In Cortex Code, a clone can
also be registered with cortex skill add excel-to-sigma/skills/excel-to-sigma.
What it does
Excel planning models aren't dashboards — they're data-entry tools. The faithful
Sigma translation keeps forecasters typing numbers, which is what input tables
are for. The skill covers:
- Discovery — inventory formal Excel Tables, pivots, charts, and a formula
census (flagging the untranslatable).
- Read/output half — formal Tables → Sigma data-model elements; the
income-statement SUMIFS become grouped DM metrics + workbook charts.
- Data-entry half (validated) — the formal Table forecasters edit becomes a
Sigma input table; the data model re-points to read it through a
warehouse view.
- Fail-loud complex-workbook audit — inventories formulas, charts, pivots,
validation, protection, links/connections, VBA, add-ins, and embedded
content; unsupported behavior receives an explicit route instead of vanishing.
Excel formal Table → Sigma input table → (publish) → SIGDS_ writeback
→ warehouse view → data model (FROM view) → workbook charts/metrics
Status
- ✅ Input-table data-entry path: validated end-to-end (2026-06-08) with exact
parity on a 540-row forecast model.
- ✅ Read/output DM + workbook build: validated (2026-06-03).
- ✅ Excel chart discovery and line/bar/doughnut/scatter migrations validated on
deterministic sales, expense, and headcount fixtures.
- ✅ Current Sigma
contents API, dry-run validation, Actions, Python, stored
procedures, input validation, and automation are OpenAPI-audited in CI.
- ✅ Cell-drawn forecast P&Ls (any sections, month/quarter/week periods, growth, YoY,
percent-of-total, flat, manual and external-link lines):
migrate.py plan →
draft-forecast-plan.py → build-forecast-model.py. Validated live in Sigma
(2026-10-22) with exact parity on a monthly and a quarterly model.
- ✅ Formula grids over formal Tables (pipeline by rep, headcount and opex plan,
inventory projection, 13-week cash flow):
draft-table-report.py → build-table-report.py. Validated
live in Sigma (2026-10-22) with exact parity on every summary cell.
- ✅ Linked input tables through Sigma MCP Code Mode:
linked-input-program.py emits
the create / seed / edit programs. Validated live (2026-10-22).
- 🚧 Other shapes route to a source inventory and a source-specific build; unrecognised
formulas fail loudly with the cell.
See skills/excel-to-sigma/SKILL.md for the full workflow and QUICKSTART.md for
a runnable walkthrough on the bundled sample fixture.
Layout