sigma-plugin-authoring

sigma-plugin-authoring is a cursor rule for Cursor from twells89/sigma-skills. It costs 192 tokens per session (2,980 once invoked), scanned A, original, Apache-2.0.

A guide for building custom Sigma plugins, which are small embedded visualisations for chart or table types Sigma does not provide by default. It covers registering, hosting, embedding, and connecting a plugin to data.

In plain words
What is it for?
Use it to create visuals such as radial gauges, custom heatmaps, sankey diagrams, or other bespoke charts and connect them to Sigma data.
Why use it?
It lets a Sigma workbook display a specialised visual when the needed chart or KPI format is outside Sigma’s standard elements.

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/register-plugin.rb "<plugin name>" "<hosted URL>" "<description>".

Good fit Use it to create visuals such as radial gauges, custom heatmaps, sankey diagrams, or other bespoke charts and connect them to Sigma data.

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-plugin-authoring

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-plugin-authoring

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/twells89/sigma-skills/sigma-plugin-authoring"><img src="https://agentmods.dev/badge/rules/twells89/sigma-skills/sigma-plugin-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00192 $0.02980
Opus 5.5 $0.00077 $0.01192
Sonnet 5.5 $0.00038 $0.00596
Haiku 4.5 $0.00019 $0.00298

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

Security

Grade A, and why

sigma-plugin-authoring scanned grade A with 0 findings 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 28d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sigma-plugin-authoring/generated/cursor/rules/sigma-plugin-authoring.mdc · 207 lines

How it starts

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

sigma-plugin-authoring

Build, register, host, embed, and data-bind a bespoke Sigma custom plugin (@sigmacomputing/plugin) to recreate a source visualization for which Sigma has no native chart/KPI/table equivalent — a radial gauge, a custom heatmap, a sankey, or any bespoke viz kind outside Sigma's native element set. Use when a source viz has no native Sigma equivalent and should be recreated as a bespoke plugin — not when a native Sigma chart, KPI, or table kind already covers it (that's the sigma-workbooks skill). Covers the full lifecycle: writing the single-file plugin, registering it via POST /v2/plugins, hosting it, embedding it in a workbook spec bound to real data, and verifying value parity. Ships a worked example (a radial gauge / "value vs. target" plugin) and the plugin_embed emitter. Requires an SIGMA_API_TOKEN — obtain via the sigma-api skill first.

Installed runtime

When installed with scripts/install-into-project.sh, the complete runnable skill is copied to <project>/.sigma-skills/sigma-plugin-authoring/ (project install) or ~/.sigma-skills/sigma-plugin-authoring/ (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 Plugin Authoring (Recreate-as-Plugin)

Sigma's native element kinds (bar-chart, kpi-chart, table, pivot-table, point-map, …) cover most dashboards. Some source vizzes don't map to any of them — a radial/semicircle gauge, a calendar heatmap, a sankey, a custom ring/dial. For those, recreate the viz as a Sigma custom plugin (@sigmacomputing/plugin): a single-file web app Sigma hosts inside a workbook element, wired to real workbook data through an editor-panel contract you define.

Read the full file on GitHub · 207 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. 28d ago Changed 1e711ba25d84
  2. 1mo ago Changed · +2 lines 84be4aaa5dd1
  3. 2mo ago Changed · +11 lines cadf13f2648a
  4. 3mo ago First seen · 194 lines · 192 tokens per session scan A de2f4b225746

Subscribe to this mod's changes

sigma-plugin-authoring is a cursor rule published in the GitHub repository twells89/sigma-skills (16 stars, last pushed 28d ago), licensed Apache-2.0. It adds 192 tokens to every session and 2,980 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sigma-plugin-authoring compared with cursor rules from other repositories

sigma-plugin-authoring next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sigma-plugin-authoringtwells89/sigma-skillsCursor rule1628d agoApache-2.0A192Cursor
explorer-interface-briefmohitagw15856/pm-claude-skillsCursor rule1.6ktodayMITA91Cursor
prototype-previewerchocpink123/prototype-previewer-skillCursor rule327mo agoMITA14Cursor
figma-performancehoshikitsunoda/figma-plugins-vibe-coding-templateCursor rule2111mo agoMITA0Cursor
ant-designTideTree/awesome-cursor-rules-mdc-zhCursor rule148mo agononeA0Cursor
7-day-nextjs-web-design-cursormattcsnyder/7-day-mobile-and-web-design-skillCursor rule26mo agononeA16Cursor
clone-aiOmerfaruk-aydn/siteclonerCursor rule26mo agononeA374Cursor