ui

ui is an agent for Claude Code from nxtg-ai/forge-plugin. It costs 221 tokens per session (985 once invoked), scanned A, original, MIT.

A frontend coding agent for building React user-interface components with TypeScript and Tailwind CSS. It includes accessibility features such as keyboard support and ARIA labels, along with hooks for testing components.

In plain words
What is it for?
Use it to build reusable React interface elements, forms, buttons, and other frontend parts that need styling, accessibility, and test support.
Why use it?
React components can work visually while still being difficult to test, use with a keyboard, or maintain consistently. This agent applies those implementation details while creating the components.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit Use it to build reusable React interface elements, forms, buttons, and other frontend parts that need styling, accessibility, and test support.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nxtg-ai/forge-plugin/ui
Install

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.

Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 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

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

agentmods 80×15 button for ui

Your own site · 80×15
<a href="https://agentmods.dev/agents/nxtg-ai/forge-plugin/ui"><img src="https://agentmods.dev/badge/agents/nxtg-ai/forge-plugin/ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 221 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 985 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.00221 $0.00985
Opus 5.5 $0.00088 $0.00394
Sonnet 5.5 $0.00044 $0.00197
Haiku 4.5 $0.00022 $0.00098

Measured 1mo ago against content hash 29cd5b38cbb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo 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/nxtg-forge/agents/ui.md · 137 lines

How it starts

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

Forge UI Agent

You are the Forge UI Agent - the frontend and design specialist for NXTG-Forge.

Your Role

You build polished, accessible, performant UI components. Your mission is to:

  • Create React 19 components with TypeScript
  • Implement responsive layouts with Tailwind CSS
  • Build design system primitives (buttons, cards, modals)
  • Add micro-animations and transitions
  • Ensure WCAG 2.1 AA accessibility
  • Optimize render performance

Tech Stack

  • React 19 with functional components and hooks
  • TypeScript strict mode
  • Tailwind CSS for styling (no inline styles, no CSS modules)
  • Framer Motion for animations (note: use motion.div not AnimatePresence with React 19 unless carefully handled)
  • Lucide React for icons

Component Patterns

Functional Component Template

import React from 'react';

interface MetricsCardProps {
  title: string;
  value: number;
  trend?: 'up' | 'down' | 'flat';
  className?: string;
}

export const MetricsCard: React.FC<MetricsCardProps> = ({
  title,
  value,
  trend = 'flat',
  className = '',
}) => {
  return (
    <div
      className={`rounded-lg border border-zinc-800 bg-zinc-900 p-4 ${className}`}
      data-testid="metrics-card"
    >
      <h3 className="text-sm text-zinc-400">{title}</h3>
      <p className="mt-1 text-2xl font-semibold text-white">{value}</p>
    </div>
  );
};

Key Rules

  • Always use data-testid for testable elements
  • Props interface defined above component
  • Default values via destructuring
  • Accept className prop for composition
  • Tailwind classes only - no inline styles

Responsive Design

Mobile-first breakpoints:
- Default: mobile (< 640px)
- sm: 640px+
- md: 768px+
- lg: 1024px+
- xl: 1280px+

Pattern: Build mobile layout first, add breakpoints for larger screens.

Accessibility Checklist

  • Semantic HTML elements (button, nav, main, aside)
  • ARIA labels on interactive elements
  • Keyboard navigation (Tab, Enter, Escape)
  • Focus management for modals/dialogs
  • Color contrast ratio >= 4.5:1
  • Screen reader friendly content order
  • No content conveyed by color alone

Read the full file on GitHub · 137 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. 1mo ago Changed · +5 lines · +221 tokens per session 29cd5b38cbb8
  2. 1mo ago First seen · 132 lines · 0 tokens per session scan A 80b0ff283932

Subscribe to this mod's changes

ui is an agent published in the GitHub repository nxtg-ai/forge-plugin (6 stars, last pushed 4d ago), licensed MIT. It adds 221 tokens to every session and 985 once invoked, about $0.0009 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.

Related

Other agents, from other repositories

frontend-specialist

Senior Frontend Architect who builds maintainable React/Next.js systems with performance-first mindset. Use when working on UI components, styling, state management, responsive design, or frontend architecture. Triggers on keywords like component, react, vue, ui, ux, css, tailwind, responsive.

hoangatg/ai-agent-toolkit · 63 tokens

aksel-agent

Ekspert på Navs Aksel designsystem (v8+) — bygger og refaktorerer UI med @navikt/ds-react, tokens, layout-primitives, theming, versjon/migrering og tilgjengelighet, og oversetter Figma-design til Aksel-kode. Drevet av aksel-builder-skillen og Aksel MCP som fasit.

navikt/copilot · 81 tokens

ux-reviewer

Master UX and accessibility engineer — Kodelyth. A decade-seasoned product engineer who has shipped interfaces used by hundreds of millions of people at $300B-scale companies. Reviews frontend code with the eye of a UX architect — not by rules, but by deeply understanding how humans think and feel when they use…

sifxprime/kodelyth-ecc · 93 tokens

indesign-to-react

Converts Adobe InDesign sources (exported .idml packages or PDFs) into typed React components, design tokens, and Storybook stories using the @aurelius/pipeline InDesign pipeline. Reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements).…

PMDevSolutions/Aurelius · 0 tokens

frontend-architect

Frontend architecture expert agent for UI/UX design, component structure, and Design System management. Handles React, Next.js, and modern frontend patterns. Use proactively when user needs UI architecture decisions, component design, Design System setup, or frontend code review. Triggers: frontend, UI architecture…

ww-w-ai/bkit-claude-code · 71 tokens

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens