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/Oriolshhh/runware-image-mcpWrote 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/oriolshhh/runware-image-mcp/ui-state-design)<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/ui-state-design"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/ui-state-design/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/oriolshhh/runware-image-mcp/ui-state-design"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/ui-state-design.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.00016 | $0.00408 |
| Opus 5 | $0.00008 | $0.00204 |
| Sonnet 5 | $0.00003 | $0.00082 |
| Haiku 4.5 | $0.00002 | $0.00041 |
Grade A, and why
ui-state-design 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.
What it actually says
Skill: ui-state-design
UI State Design
Purpose
Prevent polished happy paths surrounded by ambiguous loading, failure, empty, disabled, permission, and recovery behavior.
When to use it
- For any interface with asynchronous data, mutations, permissions, or forms.
Instructions
- Enumerate relevant states: initial, loading, incremental loading, empty, populated, stale, offline, permission denied, validation error, server error, partial success, success, disabled, destructive pending, and cancelled.
- For each state define what the user sees, can do, hears through assistive technology, and how focus/state is preserved.
- Keep actions named consistently from control through pending and result copy.
- Prefer specific recovery instructions over generic error messages.
- Prevent duplicate submission and destructive ambiguity without trapping users.
- Test slow, failed, empty, and long-content cases—not only mocked success.
Output format
A state matrix with trigger, visible UI, available actions, announcement/focus, recovery, persistence, and verification for every applicable state.
Anti-patterns
- Empty blank panels, indefinite spinners, success-only stories, or errors with no recovery.
- Using disabled controls where an explanation or read-only state is needed.
- Toast-only feedback for errors requiring user correction.
Verification checklist
- Every reachable state has clear status, next action, and recovery behavior.
- State transitions preserve user input, navigation context, and accessibility.
Apply
context-discoverybefore broad scanning: use a supplied context capsule first; otherwise check context frontmatter freshness, read.agent/context/routing.md, load only relevant summaries, and verify critical claims against source.
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 · 45 lines · 16 tokens per session scan A b89ebb8f8f86
ui-state-design is a cursor rule published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 408 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-09-03.
Other cursor rules, from other repositories
codex-premium-website-skills
Apply Codex Skills standards to frontend, website, motion, accessibility, QA, agent reasoning, and handoff work.
react-prefer-shadcn-components
Preferir componentes shadcn/ui sobre alternativas custom o de terceros.
modal
A rule describing the inputs for a modal dialog component, which is a pop-up window. It specifies the title, HTML content, optional actions, open state, and supported sizes.
ant-design
A set of guidelines for using Ant Design, a collection of ready-made interface components, in React applications. It covers code organization, performance, security, testing, and common mistakes.
7-day-nextjs-web-design-cursor
A seven-day design workflow for web products that will be built in Next.js.
clone-ai
Site Clone AI — website klonlama pipeline kuralları.