Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add twells89/sigma-skills --skill sigma-data-modelsgit clone --depth 1 https://github.com/twells89/sigma-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/twells89/sigma-skills/sigma-data-models)<a href="https://agentmods.dev/skills/twells89/sigma-skills/sigma-data-models"><img src="https://agentmods.dev/badge/skills/twells89/sigma-skills/sigma-data-models/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/twells89/sigma-skills/sigma-data-models"><img src="https://agentmods.dev/badge/skills/twells89/sigma-skills/sigma-data-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00171 | $0.01865 |
| Opus 5.5 | $0.00068 | $0.00746 |
| Sonnet 5.5 | $0.00034 | $0.00373 |
| Haiku 4.5 | $0.00017 | $0.00186 |
Grade A, and why
sigma-data-models scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Requirements:** `curl`, `jq`, `base64`. Your Sigma API credentials must have permission to create or edit data models, plus "Can edit" access on the destination folder (for create) or the existing data model (for updat This is a copy
95% identical to sigma-data-models — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sigma Data Models (Author / Get / Update)
Build a Sigma data model spec — the JSON definition of pages, sources, columns, metrics, relationships, filters, controls, folder groupings, and column-level security — and round-trip it through the Sigma REST API.
This skill is for authoring from existing warehouse tables: a user knows their warehouse, wants to expose specific tables as a Sigma data model with the right joins, metrics, and governance, and needs help composing the spec. Conversions from other BI-tool formats (dbt schema.yml, LookML views, Tableau TDS, Power BI PBIT, Alteryx YXMD, etc.) are not in this skill — direct users to the Sigma data-model converter MCP / browser tool, which already handles those mappings.
Auth: Authenticate via the sigma-api skill first to set
$SIGMA_BASE_URL and $SIGMA_API_TOKEN. Its common get-token.sh path
prefers a saved interactive browser session and falls back to
SIGMA_CLIENT_ID / SIGMA_CLIENT_SECRET for unattended use. This skill
assumes the resulting token is already present.
Requirements: curl, jq, base64. Your Sigma API credentials must have permission to create or edit data models, plus "Can edit" access on the destination folder (for create) or the existing data model (for update). If a request returns 403, ask your Sigma admin to confirm the credential's permissions.
Reference Index
Feature-specific JSON patterns live in reference/. Load each file when you identify the corresponding feature in the user's request — don't read every file up-front.
| File | When to load |
|---|---|
reference/columns.md |
Calculated columns, formula columns, derived columns; renaming a column, changing a formula, warehouse-column ID conventions, column reference rules. |
reference/metrics.md |
Metrics, aggregate measures, metric timelines, time-series / trend metrics; adding a metric to an existing table or changing aggregation. |
reference/relationships.md |
Relationships, foreign-key linking, related tables, cross-table lookups; adding a relationship between an existing element and a new one (mixed-ID rule — see workflows/crud.md). |
reference/sources.md |
Custom SQL sources, join sources, union sources, transpose sources; swapping a model's source kind on an existing model. |
reference/filters.md |
Row filters, where clauses, date range filters, top-N; adding/removing a filter on an existing model. |
reference/folders-groupings.md |
Folders, column groupings, column ordering, sort, organize columns; reordering existing columns. |
reference/column-level-security.md |
Column-level security (CLS), data masking, restrict columns by team / user attribute; applying CLS to an existing column. |
reference/controls.md |
List/dropdown, text input, text area, number input, number range, date, date range, slider, range slider, segmented, switch, checkbox, top-N controls; adding a control to an existing page. |
reference/formatting.md |
Column or metric formatting — currency, percentage, date format, decimals, datetime; reformatting a column or metric on an existing model. |
reference/calc-columns.md |
Calculated / derived / formula columns on a DM element. Covers shape, formula references, and the window-function silent-error gotcha (CountOver/SumOver etc. fail in DM element calc cols → workarounds). |
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- generated/cline/sigma-data-models.md 8.4 KB
- generated/codex/AGENTS.md 8.4 KB
- generated/continue/sigma-data-models.md 8.4 KB
- generated/cursor/rules/sigma-data-models.mdc 9.2 KB
- reference/calc-columns.md 5.4 KB
- reference/column-level-security.md 3.7 KB
- reference/columns.md 6.5 KB
- reference/controls.md 6.7 KB
- reference/filters.md 2.2 KB
- reference/folders-groupings.md 1.6 KB
- reference/formatting.md 1.3 KB
- reference/metrics.md 1.8 KB
- reference/relationships.md 1.2 KB
- reference/sources.md 13 KB
- reference/workflows/authoring.md 5.7 KB
- reference/workflows/crud.md 10 KB
- reference/workflows/discover.md 4.1 KB
- reference/workflows/validate.md 4.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +4 lines 064a620bbee0
- 2mo ago Changed 11d097e63510
- 2mo ago Changed 4dbb7bcc8547
- 3mo ago First seen · 82 lines · 171 tokens per session scan A 4284fd8b55c4
sigma-data-models is a skill published in the GitHub repository twells89/sigma-skills (16 stars, last pushed 28d ago), licensed Apache-2.0. It adds 171 tokens to every session and 1,865 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to sigma-data-models, differing in 0 lines, and is treated as a copy.
sigma-data-models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sigma-data-modelstwells89/sigma-skills | Skill | 16 | 28d ago | Apache-2.0 | A | 171 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |