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.
npx skills add GalaxyRuler/Galactic-skills --skill test-uigit clone --depth 1 https://github.com/GalaxyRuler/Galactic-skillsWrote 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/skills/galaxyruler/galactic-skills/test-ui)<a href="https://agentmods.dev/skills/galaxyruler/galactic-skills/test-ui"><img src="https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/test-ui/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/skills/galaxyruler/galactic-skills/test-ui"><img src="https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/test-ui.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.00131 | $0.01082 |
| Opus 5.5 | $0.00052 | $0.00433 |
| Sonnet 5.5 | $0.00026 | $0.00216 |
| Haiku 4.5 | $0.00013 | $0.00108 |
Grade A, and why
test-ui 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 2mo 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 — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/test-ui — portable UI testing runner
Execute the UI Testing Playbook (playbook.md, same folder) against the current project and emit a findings report. Read it first — it's the method; this is the runbook. Works in any web repo; a project-level test-ui overrides this when present.
Scope: an argument narrows to a component/page/flow (/test-ui checkout). No argument = the critical surfaces from Phase 0.
Phase 0 — Detect the stack (do this first)
Read package.json (+ lockfile, config files) and pick commands. Detect:
- Framework: React / Vue / Svelte / Angular / Next / Vite / CRA / SvelteKit / Astro.
- Test runner: Vitest / Jest / (node:test). → component tests.
- E2E / visual: Playwright / Cypress / WebdriverIO. → e2e, visual snapshots.
- a11y:
@axe-core/*,jest-axe,axe-playwrightpresent? → automated a11y. - i18n: i18next / react-intl / vue-i18n / next-intl / lingui? → locale list, pseudo-locale, RTL.
- Styling/tokens: Tailwind / CSS vars / styled-system / design-tokens.
Map these to:
lint,build, component-test, e2e, and how to run a single spec. If a tool is absent, degrade that phase to a manual checklist + a one-line setup note — never fail the run, never silently pass it. Read a projectTESTING.md/docs/testing/*/ the Project appendix inplaybook.mdif present and prefer its commands.
Runbook (phase-gated — see playbook.md for the why)
- Inventory — build the states × breakpoints × themes × locales matrix.
- Static & build — type-check + lint + build; design-token fidelity (no hardcoded values).
- Component/DOM — run the suite; assert states + accessibility tree; query priority getByRole → getByLabelText → getByText → testId-last.
- Visual regression — across the matrix on critical surfaces; determinism first (pin browser, freeze time/tz, normalize fonts, disable animation,
--force-device-scale-factor=1, mask volatile regions, per-branch baselines). Review every diff. - Responsive & cross-browser — breakpoints; targets ≥24px; reflow @320px/400%; engines (Chromium/Gecko/WebKit); RTL mirroring.
- Accessibility WCAG 2.2 AA, layered — axe (light+dark, zero violations) → keyboard/focus(2.4.7, 2.4.11) → contrast → forms → screen-reader spot-check. (Automation ≈20–40%; the rest is manual — don't mark manual as auto-passed.)
- i18n / locale-integrity — pseudo-locale pass (truncation/clipping/hardcoded strings); rendered-output scan per target locale for raw identifiers + untranslated source text (allowlist brand/units); RTL bidi + icon directionality; ~30% expansion headroom.
- Interaction & data-viz — validation UI, skeleton no-shift, error/empty states, charts + non-color alternative, focus on route change.
- Report — write to
docs/testing/reports/<date>-ui.md(or./ui-test-report-<date>.md); lead with a11y S0/S1, then i18n leaks, then visual.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed 95e718e4dd7e
- 2mo ago First seen · 41 lines · 131 tokens per session scan A 554a4c54851f
test-ui is a skill published in the GitHub repository GalaxyRuler/Galactic-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 131 tokens to every session and 1,082 once invoked, about $0.0005 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.
test-ui compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-uiGalaxyRuler/Galactic-skills | Skill | 5 | 2mo ago | MIT | A | 131 | Codex |
| a11y-allyproffesor-for-testing/agentic-qe | Skill | 524 | yesterday | MIT | A | 44 | Claude Code |
| accessibility-testingproffesor-for-testing/agentic-qe | Skill | 524 | yesterday | MIT | A | 50 | Claude Code |
| image-compareteimurjan/blazediff | Skill | 354 | 3d ago | MIT | A | 49 | Claude Code, Codex |
| playwright-scannerCommunity-Access/accessibility-agents | Skill | 436 | yesterday | MIT | A | 18 | Claude Code, Codex |
| frontend-manual-testingmakifbaysal/tasktrooper | Skill | 120 | 17d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| visual-prooffrankxai/claude-skills-library | Skill | 47 | yesterday | MIT | A | 116 | Claude Code, Codex |