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/rules/ssheleg/super-ux/ux-flows)<a href="https://agentmods.dev/rules/ssheleg/super-ux/ux-flows"><img src="https://agentmods.dev/badge/rules/ssheleg/super-ux/ux-flows/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/rules/ssheleg/super-ux/ux-flows"><img src="https://agentmods.dev/badge/rules/ssheleg/super-ux/ux-flows.svg" alt="Reviewed on agentmods" width="80" 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.00042 | $0.01135 |
| Opus 5.5 | $0.00017 | $0.00454 |
| Sonnet 5.5 | $0.00008 | $0.00227 |
| Haiku 4.5 | $0.00004 | $0.00113 |
Grade A, and why
ux-flows 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 19d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ux-flows — Design HOW Users Move
docs/ux/flows.md is the HOW layer between foundation (stories) and
scenarios: task analysis + mermaid user flows referencing screens by
SCR-ID. The canonical per-screen spec lives in docs/ux/screens.md — the
UI map: every screen and state with its Figma frame, wireframe, code
coverage, scenarios, and resources. IDs FLW-NN/SCR-NN, sequential, never
reused. Any interface change updates screens.md (and the Figma frame when
enabled) in the same change — a screen whose code diverges from its record
is drifted.
Flow entry (ux-contract v5; a v4 chain stays valid)
Fields: Traces (story/job IDs), Goal (observable end state), Entry points (ALL of them), Success exit, Task analysis (numbered
user-visible micro-steps), mermaid flowchart (screens as
Screen: <name>, decisions as diamonds, *_err error nodes with labeled
recovery edges), Screens traversed table (| Screen | States used here |
— SCR-IDs only; the full per-screen spec lives once in screens.md).
Each screen entry in screens.md: Used by, Purpose, Elements (mark
the ONE primary action), States table (| State | Trigger | Figma frame | Story | Behavior | — a row per default/loading/empty/error/offline/
long-content/keyboard-up/first-run state that applies), Axes
(viewport; theme; text; locale — or the Design system default),
Wireframe, Coverage (file:line), Scenarios, Resources, Status
(designed|blocked|built|drifted|retired); under v5 also Fronts (the
CAP-NN it fronts, or none) and Why human (a serving reason with
evidence), because flows and screens are drawn for the human lanes only.
A flow that onboards records
Onboarding: and First value:; the budget is one screen before the first
value unless the director record says why.
Design rules
- One flow = one user goal. Task analysis first: cut/merge/default-away every step that doesn't serve the job; pull first value as early as possible; happy path ≤5 steps or justified.
- Every decision an explicit branch; every error edge lands on recovery — dead ends are defects; all entry points enumerated.
- Wireframes optional (
docs/ux/wireframes/FLW-NN.md, ASCII hierarchy + primary action, not pixels); storyboard only when usage context drives design. - Visual identity BEFORE any frame:
screens.md→ Design system →Style pack. Empty and no design system in the project →/sheleg-designdecides from its own pack index and defaults and keeps the director record; record the pack + token file. A brief that leaves the look open gets directions first: one key screen in one state, two directions only when the fork is real, the human picks on a 2-up sheet, then the rest. Missing → offer the one-time install once (npx sheleg-design-skill) and continue on platform defaults;nonestill keeps the sheleg-design slop-marker floor where it is installed. The pack owns palette/type/motion and its bans; BP-079..090 stay the floors it must clear. Never invent a look per screen. - Figma mockups optional (default on): one Figma file per surface (App /
Web / ASO). If the foundation's Design tooling enables Figma and a Figma
MCP is available, mirror each screen-state into a frame built on the
pack's tokens applying BP-079..090, and link every state to its frame.
Critique the frames with
get_screenshot(region → defect → fix) before approval; the art direction is approved separately from the flow and the approval cites the critique. - Backwards mode (existing product): reconstruct flows as they ARE from
code with file:line evidence, tag
inferreduntil confirmed; gaps between is/should become the improvement backlog.
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.
- 19d ago Changed · +10 lines 5f6f0b80c2ff
- 3mo ago First seen · 74 lines · 42 tokens per session scan A 3f5857c889cf
ux-flows is a cursor rule published in the GitHub repository ssheleg/super-ux (8 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 1,135 once invoked, about $0.0002 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-31.
ux-flows compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ux-flowsssheleg/super-ux | Cursor rule | 8 | 2d ago | MIT | A | 42 | Cursor |
| sheleg-designssheleg/sheleg-design-skill | Cursor rule | 4 | yesterday | MIT | A | 40 | Cursor |
| tell-ui-designashishpatill/tell-proof | Cursor rule | 2 | 1mo ago | MIT | A | 0 | Cursor |
| motion-designAI-by-design/Design-workflow | Cursor rule | 24 | 5mo ago | none | A | 3,740 | Cursor |
| ux-designAI-by-design/Design-workflow | Cursor rule | 24 | 5mo ago | none | A | 3,966 | Cursor |
| cross-platform-ux-consistencyspencergoldade/cursor-designer | Cursor rule | 38 | 9mo ago | GPL-3.0 | A | 25 | Cursor |
| ui-components-and-statesspencergoldade/cursor-designer | Cursor rule | 38 | 9mo ago | GPL-3.0 | A | 0 | Cursor |