sigma-reports

sigma-reports is a cursor rule for Cursor from twells89/sigma-skills. It costs 114 tokens per session (4,148 once invoked), scanned A, original, Apache-2.0.

A guide for creating and changing Sigma reports, which are fixed-layout documents such as invoices, statements, regulatory forms, and PDFs. It works with the code representation sent to Sigma’s report API.

In plain words
What is it for?
Use it to create pixel-precise report pages with headers, footers, shared elements, and layouts intended for PDF delivery.
Why use it?
It helps keep report elements in precise positions and provides checks before retrieving or updating a report.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ruby scripts/test-openapi-contract.rb /tmp/sigma-openapi.json.

Good fit Use it to create pixel-precise report pages with headers, footers, shared elements, and layouts intended for PDF delivery.

Compare 6 cursor rules from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/twells89/sigma-skills
agentmods
npx agentmods add rules/twells89/sigma-skills/sigma-reports

Made for: Cursor.

Wrote 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.

agentmods badge for sigma-reports

README.md
[![agentmods](https://agentmods.dev/badge/rules/twells89/sigma-skills/sigma-reports/github.svg)](https://agentmods.dev/rules/twells89/sigma-skills/sigma-reports)
Your own site
<a href="https://agentmods.dev/rules/twells89/sigma-skills/sigma-reports"><img src="https://agentmods.dev/badge/rules/twells89/sigma-skills/sigma-reports/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.

agentmods 80×15 button for sigma-reports

Your own site · 80×15
<a href="https://agentmods.dev/rules/twells89/sigma-skills/sigma-reports"><img src="https://agentmods.dev/badge/rules/twells89/sigma-skills/sigma-reports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.04148
Opus 5.5 $0.00046 $0.01659
Sonnet 5.5 $0.00023 $0.00830
Haiku 4.5 $0.00011 $0.00415

Measured 8d ago against content hash 34ddce7c8ec5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sigma-reports 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 8d 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.

curl -sfL \
sigma-reports/generated/cursor/rules/sigma-reports.mdc · 348 lines

How it starts

The opening of the file, as written. The whole thing — 348 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sigma-reports

Build, validate, retrieve, and safely update Sigma report code representations through /v2/reports/spec. Use for fixed-layout or pixel-perfect reports, executive board packets, wide operational tables, invoices, statements, regulatory documents, PDF delivery, and bursting one copy per store/account/recipient. Covers reusable report scaffolds, report pages, absolute pixel layout, header/footer panels, common elements, verification, full-document replacement, and workbook conversion to reports. Do not use for responsive dashboards; use sigma-workbooks instead. Requires SIGMA_API_TOKEN from the sigma-api skill.

Installed runtime

When installed with scripts/install-into-project.sh, the complete runnable skill is copied to <project>/.sigma-skills/sigma-reports/ (project install) or ~/.sigma-skills/sigma-reports/ (global install). Resolve every relative scripts/, reference/, refs/, and docs/ path below from that runtime directory; cd there before running a command. The installer also copies sigma-api beside skills that need authentication.

Sigma Reports (Code Representation via REST API)

Use this skill for Sigma reports, the fixed-page authoring surface exposed by /v2/reports/spec. Reports are a private-beta resource. They share common element shapes with workbooks but have a different resource lifecycle and a different layout language.

Choose the correct resource

Use a report for invoices, statements, regulatory packets, printable forms, branded documents, and other outputs whose physical page size matters. Use sigma-workbooks for responsive dashboards, exploratory analysis, application workflows, containers, tabs, modals, drawers, or workbook navigation.

Never create a report by sending kind: report to a workbook endpoint. The resource families are separate:

  • Reports: /v2/reports/spec, /v2/reports/{reportId}/spec
  • Workbooks: /v2/workbooks/spec, /v2/workbooks/{workbookId}/spec
  • Conversion: /v2/workbooks/{workbookId}/convertToReport

Read the full file on GitHub · 348 lines

Changes

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.

  1. 8d ago Changed · +20 lines · +9 tokens per session 34ddce7c8ec5
  2. 23d ago Changed · +1 lines 49c557fb1071
  3. 1mo ago Changed · +54 lines · +13 tokens per session a3e498a17943
  4. 1mo ago Changed · +11 lines 5d2d1cca4a1b
  5. 1mo ago Changed · +1 lines 6ea625d07e3c
  6. 1mo ago Changed · +27 lines a64eb5d23dd7
  7. 1mo ago First seen · 234 lines · 92 tokens per session scan A aea58ccef030

Subscribe to this mod's changes

sigma-reports is a cursor rule published in the GitHub repository twells89/sigma-skills (16 stars, last pushed 9d ago), licensed Apache-2.0. It adds 114 tokens to every session and 4,148 once invoked, about $0.0005 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.