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 GCWing/Sparo-OS --skill product-app-ui-polishgit clone --depth 1 https://github.com/GCWing/Sparo-OSWrote 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/gcwing/sparo-os/product-app-ui-polish)<a href="https://agentmods.dev/skills/gcwing/sparo-os/product-app-ui-polish"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-ui-polish/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/gcwing/sparo-os/product-app-ui-polish"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-ui-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00071 | $0.02064 |
| Opus 5 | $0.00036 | $0.01032 |
| Sonnet 5 | $0.00014 | $0.00413 |
| Haiku 4.5 | $0.00007 | $0.00206 |
Grade A, and why
product-app-ui-polish 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 12d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Product App UI Polish Skill
Use this skill for Product App visual polish and experience quality. Do not start from generic web aesthetics; prefer the current scaffold, existing Product App shape, and real issues exposed by runtime preview.
Product App UI Boundary
- Product App surfaces run inside sandboxed iframes and usually use native HTML/CSS/ESM JavaScript.
- Product Apps cannot directly import
@/design-systemor main-app React components. Those belong to the Web UI / desktop app development contract. - Product Apps can use
window.app.ui. It is a runtime-injected DOM UI Kit and does not depend on React, Vite aliases, or main-app context. - If the change is inside
src/web-ui, followsrc/web-ui/src/design-system/AGENTS.mdand import primitives/patterns from the public@/design-systembarrel.
Runtime UI Kit
Current window.app.ui exports:
ui.Button({ text, children, variant, size, iconOnly, loading, loadingText, disabled, onClick })ui.Card({ children, variant, padding, radius, interactive, fullWidth, onClick })ui.CardHeader({ title, subtitle, extra, children })ui.CardBody({ children })ui.CardFooter({ children, align })ui.Input({ label, placeholder, value, prefix, suffix, error, errorMessage, hint, onInput, onChange })ui.Badge({ text, children, variant })ui.Alert({ type, title, message, description, icon })ui.Empty({ title, description, children })ui.Stack({ children, direction, gap })ui.Toolbar({ children })ui.createElement(tag, attrs, ...children)ui.mount(target, child)
Component class contracts include btn, v-card, sparo-input-wrapper, badge, alert, bfui-empty, bfui-stack, and bfui-toolbar. For routine tool-like Product Apps, build the skeleton with the runtime UI Kit first, then add minimal product-specific styles.
Theme Variables
The Product App iframe canonical runtime namespace is --sparo-*. Prefer semantic app slots:
- Background and layers:
--sparo-app-bg,--sparo-app-surface,--sparo-app-panel,--sparo-app-card,--sparo-app-card-hover - Controls:
--sparo-app-control-bg,--sparo-app-control-hover - Text:
--sparo-app-text,--sparo-app-text-secondary,--sparo-app-text-muted - Borders:
--sparo-app-border,--sparo-app-border-subtle - Accent:
--sparo-app-accent,--sparo-app-accent-hover,--sparo-app-accent-soft,--sparo-app-accent-text - State:
--sparo-success,--sparo-success-bg,--sparo-warning,--sparo-warning-bg,--sparo-error,--sparo-error-bg,--sparo-info,--sparo-info-bg - Interaction:
--sparo-app-focus-ring,--sparo-app-selection,--sparo-app-overlay - Radius and shadow:
--sparo-app-radius-sm,--sparo-app-radius,--sparo-app-radius-lg,--sparo-app-shadow-sm,--sparo-app-shadow - Fonts:
--sparo-font-sans,--sparo-font-mono - Scrollbar:
--sparo-scrollbar-thumb,--sparo-scrollbar-thumb-hover
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.
- 12d ago First seen · 130 lines · 71 tokens per session scan A fc8c54922736
product-app-ui-polish is a skill published in the GitHub repository GCWing/Sparo-OS (21 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 2,064 once invoked, about $0.0004 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-30.
Other skills, from other repositories
anyui-template-authoring
Author and invoke high-quality, mobile-first AnyUI HTML templates for MioChat. Guides the creation of clean, responsive cards, game interfaces, forms, story choices, and Galgame/visual novel dialogue cards rendered via extraRender in Shadow DOM. Enforces decoupled zero-round-trip async image rendering (pure CSS…
Color Palette Generator
Create beautiful, accessible color schemes for any project.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
css-expert
CSS expert for flexbox, grid, animations, responsive design, and modern layout techniques.
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…