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/coddy-project/coddy-agentWrote 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/coddy-project/coddy-agent/ui-spa)<a href="https://agentmods.dev/rules/coddy-project/coddy-agent/ui-spa"><img src="https://agentmods.dev/badge/rules/coddy-project/coddy-agent/ui-spa/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/coddy-project/coddy-agent/ui-spa"><img src="https://agentmods.dev/badge/rules/coddy-project/coddy-agent/ui-spa.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.00000 | $0.00410 |
| Opus 5.5 | $0.00000 | $0.00164 |
| Sonnet 5.5 | $0.00000 | $0.00082 |
| Haiku 4.5 | $0.00000 | $0.00041 |
Grade A, and why
ui-spa 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 2d 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
Embedded UI (external/ui)
- Start with
DESIGN.md. Read only the relevant contract: foundations, layout, composer, transcript, settings, workspace, or components. Consult implementation notes for file ownership, state and regression tests. Update the owning spec when behavior changes. - Keep the SCSS cascade in
src/styles.scss, shared tokens in_tokens.scss, palettes inthemes/, and component styles in their surface partial. Keep simplified mode last. Use theme tokens instead of hardcoded accents. - Treat accessibility as behavior. Prefer native semantics, expose accurate names and state, support keyboard operation and visible focus, and verify reading order and the spoken result with a screen reader when available. Do not make non-interactive content a control just to add a discoverable action.
- Support people with low vision: keep text legible with sufficient contrast in every theme, never communicate state by color alone, and preserve content and operation at 200% zoom and narrow reflow without clipping or forcing horizontal scrolling. Respect reduced-motion preferences.
- Update all registered locale dictionaries together when user-facing copy changes. Keep browser geometry checks in a real browser as specified by the paired UI verification rule.
- Format touched SPA files with Prettier (
make ui-format-checkverifies the tree). After changing shipped UI sources, runmake build TAGS="http ui"to rebuild embedded assets. - Keep optimistic draft clearing reversible until the server accepts the turn. A failed send restores text and attachments and preserves the underlying error where safe.
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.
- 2d ago Changed · +2 lines 1c405dceb311
- 11d ago Changed · -62 lines 29b13ffc72d6
- 1mo ago Changed · +6 lines e7ad1f076b2b
- 1mo ago Changed 0bbbbbb732fd
- 1mo ago Changed · +1 lines 24b94cb89d25
- 1mo ago Changed · +2 lines 19faa2c16307
- 1mo ago Changed · +1 lines 507d7e2d2d8c
- 1mo ago Changed · +1 lines fc90650b6368
- 1mo ago Changed · +1 lines a7e4349a5d6b
- 1mo ago First seen · 64 lines · 0 tokens per session scan A 23468963e81f
ui-spa is a cursor rule published in the GitHub repository coddy-project/coddy-agent (215 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 410 tokens. 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.
ui-spa compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-spacoddy-project/coddy-agent | Cursor rule | 215 | today | MIT | A | 0 | Cursor |
| sciclaw-papercutssciclaw/sciclaw | Cursor rule | 11 | 4mo ago | none | A | 607 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 202k | 9d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |