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.
git clone --depth 1 https://github.com/ssheleg/super-uxWrote 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/commands/ssheleg/super-ux/ux-rule)<a href="https://agentmods.dev/commands/ssheleg/super-ux/ux-rule"><img src="https://agentmods.dev/badge/commands/ssheleg/super-ux/ux-rule.svg" alt="Measured on agentmods" 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.00021 | $0.01446 |
| Opus 5 | $0.00010 | $0.00723 |
| Sonnet 5 | $0.00004 | $0.00289 |
| Haiku 4.5 | $0.00002 | $0.00145 |
Grade A, and why
ux-rule 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Install the super-ux hard rule into this project. Idempotent — safe to run twice.
-
If the project's
CLAUDE.md(create it if absent) does not already contain the heading## UX scenarios — hard rule (super-ux), append this block verbatim:## 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. - 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. - 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. - **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). - Use `/ux` as the entry point; skills: `vision` (what the product is and refuses to become), `ux-foundation`, `ux-flows` (flows + Figma mockups), `ux-scenarios` for maintenance, `ux-audit` for evidence-backed verification, `brand-voice` and `copywriting` for everything the user reads. Full map: the plugin's system-map reference. ## Brand voice — hard rule (super-ux) - `docs/brand/` is the source of truth for how the product speaks: `voice.md` (axes, narrative, invariants), `terminology.md` (our words and the banned ones), `facts.md` (the only source of any public figure), `channels.md` (one record per surface), `strings.md` (the interface string registry), `locales/<code>.md`. - Any change to public-facing text (an interface string, a landing page, a post, a store listing, an ad, an email) updates `docs/brand/` in the SAME change. A new string with no registry row is drift, not a detail. - **Never quote a number that has no row in `facts.md`,** and never invent a fact, statistic, quote or expert to fill a gap. Report the gap instead. - **One action keeps one name** across button, confirmation, toast, history, notification and accessible name. Search `strings.md` before naming one. - **No humor, exclamation marks or emoji** on error, destructive confirm, billing or paywall surfaces, in any voice. - **No rhetorical dash, and no full stop after a title.** A dash standing in for a full stop, a comma or a colon is the loudest machine-drafting marker the pack has, and a heading, button, menu item or page title is a name rather than a statement. The dash a language requires stays: the Russian copula, numeric ranges, direct speech. Choose the replacement from the meaning, because a comma, a colon and a full stop state three different relationships and find-and-replace picks the wrong one. `B062` and `B063` catch what a machine can prove; the rest is in the skill's `ai-tells.md`. - Run `python3 docs/brand/lint.py` after any text change and before calling work done. It must exit 0 — an error blocks and a warning is advice, which is the same policy the UX linter has; `--strict` makes warnings block too. Wire it into CI or pre-commit alongside the UX linter so copy drift cannot merge.
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.
- 6d ago First seen · 98 lines · 21 tokens per session scan A 8f344350c95f
ux-rule is a command published in the GitHub repository ssheleg/super-ux (3 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 1,446 once invoked, about $0.0001 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.
Other commands, from other repositories
ux-fix
Opt-in fix loop. Reads the latest report from .ux/, validates working tree, and applies findings as atomic commits via the right sub-agents. Triggers on "fix the findings", "apply the fixes", or "run the fix loop". Use when applying findings from a previous audit / copy / a11y / motion / polish report, the user says…
ux-motion
Animation and motion rubric. Checks timing, easing, meaning, reduced-motion compliance, and performance for every animation on a surface. Triggers on "motion check", "are the animations good", or "fix the motion". Use when auditing motion or animations, checking durations / easing / reduced-motion / performance, is…
ux-case-study
Generate a project case study in pure-monochrome editorial format. Triggers on "write a case study", "case study this project", "do the wrap-up doc". Use when writing a project case study, shipping a publishable Wfrah-editorial document, ending a project with a case-study artifact, producing the (A)–(G) section format…
ux-component
Generate a single component (button, modal, navbar, sidebar, card, table, form, chart) from a spec. Triggers on "build a [component]", "create a pricing card", "make a modal", "add a navbar". Use when generating a single component, the user says "create a [button/modal/navbar/card/table/form/chart]", embedded into an…
ux-copy
Microcopy review and rewrite against the voice rubric. Produces a before/after table with severity per string and a clean rewrite block. Triggers on "review the copy", "fix the microcopy", "the error messages are bad", or "rewrite this". Use when reviewing or rewriting microcopy, fixing error messages that sound like…
ux-critique
Open-ended taste call on a specific surface. Not a structured audit — a designer's opinion. Returns 3 wins, 3 misses, and 1 strategic move. Triggers on "what do you think", "is this good", "critique this", or "honest take". Use when open-ended taste call, the user asks "what do you think", design review without a…