super-ux

super-ux is a cursor rule for coding agents from ssheleg/super-ux. It costs 978 tokens per session, scanned A, original, MIT.

A strict set of rules for documenting user-facing product behavior through scenarios, flows, screens, and user goals.

In plain words
What is it for?
Use it when building or changing interfaces, especially when maintaining UX documentation and optional Figma designs alongside the code.
Why use it?
It keeps design records and the working interface aligned, making missing states, outdated links, and uncovered user needs easier to detect.

Cursor rule

Install

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.

agentmods
npx agentmods add rules/ssheleg/super-ux/super-ux
Clone the repo
git clone --depth 1 https://github.com/ssheleg/super-ux

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 super-ux

README.md
[![agentmods](https://agentmods.dev/badge/rules/ssheleg/super-ux/super-ux.svg)](https://agentmods.dev/rules/ssheleg/super-ux/super-ux)
Your own site
<a href="https://agentmods.dev/rules/ssheleg/super-ux/super-ux"><img src="https://agentmods.dev/badge/rules/ssheleg/super-ux/super-ux.svg" alt="Measured on agentmods" height="20"></a>
Per session 978 This file is loaded in full into every session.
When invoked 978 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00978 $0.00978
Opus 5 $0.00489 $0.00489
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured 3d ago against content hash 0e89477322f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

super-ux 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 3d 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.

cursor/rules/super-ux.mdc · 67 lines

How it starts

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

UX scenarios — hard rule (super-ux)

  • docs/ux/scenarios.md is the source of truth for all user-facing behavior; docs/ux/foundation.md (personas, JTBD, journeys, stories) and docs/ux/flows.md (user flows) are the WHY and HOW layers scenarios trace to. Above all three sits docs/ux/vision.md — what the product is and refuses to become — when the project has written one.
  • Any change that touches user-facing behavior or interface MUST update, in the same change: docs/ux/scenarios.md; affected flows; the affected screens in docs/ux/screens.md (the UI map — states, elements, coverage); and, when Figma is enabled, the Figma frame(s) plus their links in screens.md. A screen whose code diverges from its record, or a stale Figma link, is drift — the exact thing this system prevents.
  • A Coverage: citation is a claim about code and is resolved as one: the path must exist and the line range must be inside the file. Seven of this pack's own citations were pre-shift ranges nothing re-resolved.
  • Any new feature or project STARTS with the chain: which job does it serve, which journey stage, which story — then flows and scenarios, validated against the existing base, approved. An idea serving no job is challenged, not silently accepted.
  • Do NOT write interface code until the UX workflow is done first: the foundation → flows → screens → scenarios chain is designed and approved, and — when Figma is enabled (default) — the UI is mocked up in Figma with every screen linked to its frame. Building UI before this is the exact mistake super-ux exists to prevent.
  • Visual identity is ONE locked style pack, recorded in docs/ux/screens.md → Design system and obeyed by every Figma frame and every built screen — picked with the sheleg-design companion skill when the project has no design system of its own (recommended, not required). Inventing a palette, type pairing, or motion per screen is visual drift.
  • After any UX change and before calling the work done, run the linter python3 docs/ux/lint.py — it must pass (errors are drift/broken structure; wire it into CI/pre-commit). Run python3 docs/ux/doctor.py when picking this base up after a while: the linter checks the chain against itself and stays silent when the whole base is written to an old contract, and the doctor is what notices.
  • Text a user reads is governed too. docs/brand/ holds the voice, the terminology, the string registry and facts.md — the only source of any public figure — and python3 docs/brand/lint.py must pass beside the UX linter. Never quote a number that has no row in facts.md.

Read the full file on GitHub · 67 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. 3d ago First seen · 67 lines · 978 tokens per session scan A 0e89477322f0

Subscribe to this mod's changes

super-ux is a cursor rule published in the GitHub repository ssheleg/super-ux (2 stars, last pushed 3d ago), licensed MIT. It adds 978 tokens to every session, about $0.0049 per session on Opus 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-31.