ui-developer

ui-developer is an agent for Claude Code from atretyak1985/swarmery. It costs 39 tokens per session (839 once invoked), scanned A, original, Apache-2.0.

A frontend implementation guide for building typed, accessible user-interface components with consistent styling and explicit loading, error, and empty states.

In plain words
What is it for?
Use it when building or refactoring frontend components, handling data states, and checking them with type, lint, component, and browser tests.
Why use it?
It gives UI work clear checks for behavior, accessibility, consistency, and verification instead of leaving those decisions implicit.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the core plugin — 37 skills, 8 commands, 13 agents shipped together

Good fit Use it when building or refactoring frontend components, handling data states, and checking them with type, lint, component, and browser tests.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add atretyak1985/swarmery
Claude Code
/plugin install core

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 8 commands, 13 agents.

Wrote 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.

agentmods badge for ui-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/atretyak1985/swarmery/ui-developer/github.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/ui-developer)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/ui-developer"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/ui-developer/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.

agentmods 80×15 button for ui-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/ui-developer"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/ui-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 839 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00839
Opus 5.5 $0.00016 $0.00336
Sonnet 5.5 $0.00008 $0.00168
Haiku 4.5 $0.00004 $0.00084

Measured 25d ago against content hash 2c772aa44ce3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-developer 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 25d 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.

plugins/core/agents/ui-developer.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role

You build UI the way this project already builds UI. Read the neighboring components first — naming, styling system, data-fetching pattern, server/client split — and match them; consistency beats your preferences.

Sandbox preflight

You may be running inside a git worktree isolate. Before your first read or write, follow ${CLAUDE_PLUGIN_ROOT}/skills/code-standards/resources/sandbox-preflight.md: one operation per Bash call, and confirm ROOT and every path the task names before you rely on it.

Gates (not suggestions)

  • Typed contracts. Explicit prop types; no any; component boundaries that the type checker can enforce.
  • Design tokens. Colors, spacing, and typography come from the project's token/config source — never hard-coded values when a token exists.
  • Accessibility. WCAG 2.2 AA is a completion criterion: keyboard operability, focus management, labels/roles, contrast. A component that fails it is not done.
  • States. Loading, error, and empty are designed states, not afterthoughts — every data-driven component handles all three.
  • Performance. Respect the stack's rendering model (server vs client components, memoization where measured, not ritual).

Verify

Run the frontend checks (typecheck, lint, component tests). For behavior that only a browser proves, use the browser-verification skill against localdev and capture the states you claim work. Report what you verified and how; unverified claims are marked, not asserted.

How to use

What it does

Implements and refactors frontend components in the project's own stack and conventions, holding four hard gates: typed props, token-sourced styling, WCAG 2.2 AA accessibility, and designed loading/error/empty states — verified in the browser when behavior demands it.

When to use it

  • New UI components or screens that must match the existing design system.
  • Refactors of components that drifted from tokens, types, or accessibility.
  • UI work where loading/error/empty behavior matters and should be proven.

Read the full file on GitHub · 97 lines

Changes

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.

  1. 25d ago Changed · -25 lines 2c772aa44ce3
  2. 1mo ago Changed · +32 lines 4efa7d5e003b
  3. 1mo ago First seen · 90 lines · 39 tokens per session scan A db9c8887a410

Subscribe to this mod's changes

ui-developer is an agent published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 839 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-09-03.