Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/twells89/sigma-migration-skillsnpx agentmods add skills/twells89/sigma-migration-skills/cognos-to-sigmaWrote 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-migration-skills/cognos-to-sigma)<a href="https://agentmods.dev/skills/twells89/sigma-migration-skills/cognos-to-sigma"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/cognos-to-sigma/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-migration-skills/cognos-to-sigma"><img src="https://agentmods.dev/badge/skills/twells89/sigma-migration-skills/cognos-to-sigma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 6 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 184 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00159 | $0.08656 |
| Opus 5.5 | $0.00064 | $0.03462 |
| Sonnet 5.5 | $0.00032 | $0.01731 |
| Haiku 4.5 | $0.00016 | $0.00866 |
Grade A, and why
cognos-to-sigma 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.
> - **NEVER hand-author a DM/workbook JSON and `curl`-POST it, and never ship How it starts
The opening of the file, as written. The whole thing — 475 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cognos → Sigma migration
Windows / first run — run the environment doctor before anything else:
bash scripts/doctor.sh(macOS/Linux/Git Bash) orpowershell -ExecutionPolicy Bypass -File scripts\doctor.ps1(Windows). It checks Ruby/Python/Node/bash and flags the Python "Store stub" + CRLF with exact fixes. Details:refs/environment.md.
Preflight the workbook spec before POST (mandatory)
Before POSTing any workbook spec, run ruby scripts/lib/preflight_lint.rb <spec.json> — it exits 1 with a precise message on the two migration-killer bugs: a table with aggregate columns + dimensions but no groupings (renders raw detail rows), and a malformed control (missing id/controlId/controlType or nesting value fields under a value object instead of flat, a non-double-nested source, or a list control wired to neither source nor filters — a filters-only list control is valid). Fix every violation first — never POST past it, and never conclude a feature is "unsupported" from an Invalid kind error (it means the inner fields are wrong). Verified shapes: sigma-workbooks controls.md / tables.md.
Phase 0a — Choose where to build (ask first when no destination given)
Don't silently land the migrated data model + workbook in My Documents.
If the user didn't supply a destination (no --folder <id>), ASK before building:
node scripts/pick-destination.mjs list→{ workspaces, folders (editable, with parentName), myDocuments }- Let the user pick ONE: a workspace (its
idlands content in the workspace root), an existing folder, My Documents (when non-null — null for service tokens), or create a new folder:node scripts/pick-destination.mjs create --name "<name>" [--parent <workspace-or-folder-id>] - Pass the chosen id as
--folder <id>.folderIdaccepts a workspace id or a folder id.
If a destination is already supplied, honor it silently — don't ask.
Convert a Cognos Data Module into a Sigma data model, then convert the Cognos report that sits on it into a matching Sigma workbook. Translate what maps cleanly; flag what doesn't (runtime macros, running-totals, localization) instead of emitting wrong logic.
What ships with it
60 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.
- converter/cli.mjs 282 KB runs code
- converter/cli.ts 7.3 KB runs code
- converter/cognos-fm.ts 32 KB runs code
- converter/cognos-print.ts 17 KB runs code
- converter/cognos-report-sources.ts 3.4 KB runs code
- converter/cognos-report.ts 91 KB runs code
- converter/cognos.ts 32 KB runs code
- converter/metric-binding.ts 2.6 KB runs code
- converter/package-lock.json 20 KB
- converter/package.json 633 B
- converter/PROVENANCE.json 865 B
- converter/sigma-ids.ts 14 KB runs code
- converter/test.ts 48 KB runs code
- converter/tsconfig.json 231 B
- converter/workbook-features.ts 3.1 KB runs code
- fixtures/acme-warehouse.fm.xml 26 KB
- fixtures/banking-risk-crosstab.report.xml 27 KB
- fixtures/go-sales-performance.report.xml 46 KB
- fixtures/great-outdoors.module.json 77 KB
- fixtures/print-layout-blueprint.json 16 KB
- fixtures/print-list.report.xml 1.2 KB
- fixtures/sales-overview-charts.report.xml 57 KB
- fixtures/sample-data-module.module.json 28 KB
- fixtures/telco-churn.module.json 31 KB
- QUICKSTART.md 13 KB
- refs/app-recommendation-signals.md 3.1 KB
- refs/cognos-coverage.md 7.0 KB
- refs/dashboard-migration.md 9.3 KB
- refs/design-notes.md 12 KB
- refs/environment.md 8.9 KB
- refs/expression-dsl.md 2.8 KB
- refs/format-shapes.md 13 KB
- refs/layout-visual-qa.md 19 KB
- refs/modeling-strategy.md 6.7 KB
- refs/operating-contract.md 2.8 KB
- refs/phase-e-enhance.md 12 KB
- refs/print-reports.md 17 KB
- refs/report-only-model.md 5.0 KB
- refs/source-anchors.md 13 KB
- refs/visual-similarity.md 5.0 KB
- schemas/app-plan.schema.json 3.0 KB
- scripts/apply_sigma_rls.py 18 KB runs code
- scripts/apply-layout.mjs 4.6 KB runs code
- scripts/assert-parity.mjs 3.3 KB runs code
- scripts/bootstrap.ps1 44 KB runs code
- scripts/bootstrap.sh 47 KB runs code
- scripts/browser-login.sh 17 KB runs code
- scripts/build-dm-from-report.mjs 4.4 KB runs code
- scripts/build-parity-plan.rb 5.3 KB runs code
- scripts/cognos-apikey-session.sh 4.3 KB runs code
- scripts/cognos-batch-fetch.sh 13 KB runs code
- scripts/cognos-discover.sh 1.9 KB runs code
- scripts/cognos-dm-signature.py 3.0 KB runs code
- scripts/compare-report-pdfs.py 5.9 KB runs code
- scripts/compose-print-layout.mjs 19 KB runs code
- scripts/doctor.ps1 27 KB runs code
- scripts/doctor.sh 37 KB runs code
- scripts/enhance-app-plan.rb 8.1 KB runs code
- scripts/enhance-apply.rb 48 KB runs code
- scripts/enhance-scan.rb 38 KB runs code
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 · +17 lines 62f6d0ed9814
- 1mo ago Changed · +19 lines 7e6e296fe2f3
- 2mo ago Changed · +12 lines · +31 tokens per session bb0fbd361346
- 2mo ago Changed · +47 lines · +11 tokens per session 675f6415fe60
- 3mo ago First seen · 380 lines · 117 tokens per session scan A 2beb3bb90dcf
cognos-to-sigma is a skill published in the GitHub repository twells89/sigma-migration-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 159 tokens to every session and 8,656 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cognos-to-sigma compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cognos-to-sigmatwells89/sigma-migration-skills | Skill | 18 | 1mo ago | MIT | A | 159 | 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 |