ui-first-builder

ui-first-builder is a skill for Claude Code, Codex from wasintoh/toh-framework. It costs 75 tokens per session (2,355 once invoked), scanned A, original, MIT.

A UI-building workflow for creating complete responsive web pages and components from a description, using Next.js, Tailwind, and shadcn/ui. It fills in standard details and uses realistic sample data when needed.

In plain words
What is it for?
Use it to build app screens, reusable components, and initial front-end prototypes. It also adds common interaction details such as hover states and transitions.
Why use it?
It reduces the back-and-forth normally needed before seeing a working interface, such as choosing pages, colors, features, or responsive behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to build app screens, reusable components, and initial front-end prototypes. It also adds common interaction details such as hover states and transitions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wasintoh/toh-framework/ui-first-builder
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.

Any agent
npx skills add wasintoh/toh-framework --skill ui-first-builder
Clone the repo
git clone --depth 1 https://github.com/wasintoh/toh-framework

Made for: Claude Code, Codex.

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-first-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/wasintoh/toh-framework/ui-first-builder/github.svg)](https://agentmods.dev/skills/wasintoh/toh-framework/ui-first-builder)
Your own site
<a href="https://agentmods.dev/skills/wasintoh/toh-framework/ui-first-builder"><img src="https://agentmods.dev/badge/skills/wasintoh/toh-framework/ui-first-builder/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-first-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/wasintoh/toh-framework/ui-first-builder"><img src="https://agentmods.dev/badge/skills/wasintoh/toh-framework/ui-first-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,355 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 28
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00075 $0.02355
Opus 5.5 $0.00030 $0.00942
Sonnet 5.5 $0.00015 $0.00471
Haiku 4.5 $0.00007 $0.00235

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

Security

Grade A, and why

ui-first-builder 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.

src/skills/ui-first-builder/SKILL.md · 315 lines

How it starts

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

UI First Builder

Create beautiful, functional UI immediately. No questions. No waiting.

<core_principle>

The First-Prompt Promise

User describes idea → User sees working UI → Same prompt, no follow-up needed

This is what makes Lovable magical. We replicate it here. </core_principle>

<default_to_action> NEVER ask:

  • "How many pages do you want?" → Infer from description, start with essential pages
  • "What color scheme?" → Read root DESIGN.md (the design contract); if absent, trigger design identity generation first (design-craft two-pass → DESIGN-TEMPLATE.md). The identity file is how we decide without asking — distinctive per project.
  • "What features do you need?" → Infer standard features for this app type
  • "Should it be responsive?" → ALWAYS responsive, mobile-first

ALWAYS do:

  • Create complete, working pages
  • Include realistic mock data (based on language setting in CLAUDE.md)
  • Add hover states and transitions
  • Make it look professional immediately </default_to_action>

<component_architecture>

File Structure (Next.js 16 App Router)

src/
├── app/
│   ├── layout.tsx        # Root layout with providers
│   ├── page.tsx          # Home/Dashboard
│   ├── globals.css       # Tailwind + custom styles
│   └── [feature]/
│       └── page.tsx      # Feature pages
├── components/
│   ├── ui/               # shadcn/ui components
│   ├── layout/           # Header, Sidebar, Footer
│   ├── features/         # Feature-specific components
│   └── shared/           # Reusable components
├── lib/
│   ├── utils.ts          # cn() helper
│   └── mock-data.ts      # Realistic mock data
├── stores/               # Zustand stores
└── types/                # TypeScript types

</component_architecture>

<shadcn_components>

shadcn/ui Components to Use

Always Available (assume installed)

  • Button, Card, Input, Label, Textarea
  • Dialog, Sheet, Dropdown Menu, Popover
  • Table, Tabs, Avatar, Badge, Separator
  • Select, Checkbox, Radio Group, Switch
  • Toast (sonner), Calendar, Date Picker
  • Command (for search), Skeleton (loading)

Read the full file on GitHub · 315 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 First seen · 315 lines · 75 tokens per session scan A 5307e5993700

Subscribe to this mod's changes

ui-first-builder is a skill published in the GitHub repository wasintoh/toh-framework (98 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 2,355 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

frontend-design-quality

Use when implementing or revising any frontend UI – landing pages, marketing sites, portfolios, app screens, dashboards, or components – and when choosing layout, typography, color, spacing, motion, or styling. Enforces a design-read first, real design systems, anti-slop discipline, accessibility, and a pre-flight…

bartoszarendt/agenticloop · 82 tokens

slop-taste

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

KornLabs/truss · 60 tokens

slop-hallmark

Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots. Use when the user asks to build a new app or landing page, wants to redesign something, invokes Hallmark by name, or uses audit/redesign/study.

KornLabs/truss · 64 tokens

slop-ui

Anti Slop: Rules for AI Coding Agents. The core filter. Load always to stop generic AI slop.

KornLabs/truss · 27 tokens

antislop-ui

UI and visual skill for antislop. Use when building or editing any interface: color, layout, components, motion. Load with the core.

KornLabs/truss · 35 tokens

uiux-ui-ux-pro-max

UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local…

KornLabs/truss · 116 tokens