ui-craft

ui-craft is a skill for Claude Code from afaraha8403/balakit. It costs 137 tokens per session (2,201 once invoked), scanned A, original, MIT.

A workflow for designing and checking web interfaces through separate passes for visual rules, page design, implementation, critique, and accessibility. It uses rendered views at narrow and wide screen sizes as evidence of how the interface actually looks.

In plain words
What is it for?
Use it to build, refine, redesign, or audit web pages and routes, including their CSS, components, visual style, and responsive browser output.
Why use it?
It prevents an interface from being designed and approved only from source code or a single visual pass. It also helps preserve an existing product during refinement and avoid overlooking accessibility or small-screen problems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; installed under .agents/ (shared by several agents).

Good fit Use it to build, refine, redesign, or audit web pages and routes, including their CSS, components, visual style, and responsive browser output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/afaraha8403/balakit/ui-craft
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 afaraha8403/balakit --skill ui-craft
Clone the repo
git clone --depth 1 https://github.com/afaraha8403/balakit

Made for: Claude Code.

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-craft

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/afaraha8403/balakit/ui-craft"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/ui-craft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,201 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.00137 $0.02201
Opus 5.5 $0.00055 $0.00880
Sonnet 5.5 $0.00027 $0.00440
Haiku 4.5 $0.00014 $0.00220

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

Security

Grade A, and why

ui-craft 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 9d 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.

.agents/skills/ui-craft/SKILL.md · 124 lines

How it starts

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

UI Craft

Leading words: brief wins, surface intent, token contract, craft floor, three-proof gate, fresh-eyes critique, rendered proof, refine preserves, redesign replaces.

Generic AI interfaces happen when one pass invents tokens, picks a voice, writes markup, and ships unverified. This playbook splits those five hats into gated passes with real DOM and viewport proof.

Operating contract

  • Brief wins. Honor explicit user aesthetics, eras, palettes, or fonts even when they overlap common defaults. Never override a clear brief with contrarian taste.
  • Refine preserves, redesign replaces. In --refine, keep the incumbent brand, tokens, copy, and features. In --redesign, keep product truth, features, and factual copy, treat the old look as anti-reference, and replace DESIGN.md cleanly rather than half-polishing the old look.
  • Visual authority is evidence. An existing app without DESIGN.md is not greenfield. Inspect live routes, CSS, and existing component primitives first.
  • Keep workflow state silent. Track mode, route intents, scores, and fixes in session todos and DESIGN.md. Never emit internal state blocks in chat.

Modes and modifiers

$ARGUMENTS
Flag Role Behavior
(default / build) Workflow Build a new app or surface end-to-end through all five passes.
--refine Workflow Tighten an existing surface while preserving its visual identity and tokens.
--redesign Workflow Keep features and factual copy, replace DESIGN.md and the visual world.
--audit Workflow Read-only critique, accessibility audit, and live viewport probe. Zero code edits.
--focus <axis> Modifier Narrow --refine or --audit to type, layout, a11y, states, motion, or responsive.
--brake Modifier Pause after Phase 2 (DESIGN.md and visual thesis, or audit plan) for user approval before editing UI code.

Auto-detecting mode when no workflow flag is passed:

  • New app, new page, or blank canvas → build
  • Improve, clean up, polish, or fix an existing UI → refine
  • Rebrand or overhaul visuals while keeping behavior → redesign
  • Review, critique, or audit without edits → audit

Read the full file on GitHub · 124 lines

Files

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.

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. 9d ago First seen · 124 lines · 137 tokens per session scan A 80db7c84107d

Subscribe to this mod's changes

ui-craft is a skill published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 9d ago), licensed MIT. It adds 137 tokens to every session and 2,201 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-11-21.

Related

ui-craft compared with skills from other repositories

ui-craft next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-craftafaraha8403/balakitSkill19d agoMITA137Claude Code
hs-frontend-developmentUnibean9/harness-skillsSkill182mo agononeA175Claude Code, Codex
impeccableoyi77/1ai-skillsSkill19todayMITA83Claude Code
frontend-designPracticalSwan/agent-skillsSkill2514d agoMITA59Codex
web-design-guidelinesmartineserios/thebranaSkill38d agoMITA37Claude Code
tastejxoesneon/CielSkill11mo agoApache-2.0A38Claude Code, Codex
design-systemfurkangonel/cowranglerSkill12mo agoMITA16Claude Code, Codex