ui-phase

ui-phase is a skill for Claude Code from SienkLogic/plan-build-run. It costs 15 tokens per session (1,494 once invoked), scanned A, original, MIT.

A design contract for a frontend development phase, saved as a UI-SPEC.md file. It records the visual and interaction decisions that the implementation should follow.

In plain words
What is it for?
Use it to define the expected UI for a frontend phase before implementation begins.
Why use it?
Frontend work can drift when layout, styling, and behavior are not agreed before coding. This provides a written reference for building a consistent interface.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

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 pbr plugin — 44 skills, 71 commands, 18 agents, 3 hooks shipped together

Good fit Use it to define the expected UI for a frontend phase before implementation begins.

Compare 6 skills 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 SienkLogic/plan-build-run
Claude Code
/plugin install pbr

Made for: Claude Code.

Or install pbr, the plugin that ships this one along with the rest of its 44 skills, 71 commands, 18 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sienklogic/plan-build-run/ui-phase"><img src="https://agentmods.dev/badge/skills/sienklogic/plan-build-run/ui-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 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.00015 $0.01494
Opus 5.5 $0.00006 $0.00598
Sonnet 5.5 $0.00003 $0.00299
Haiku 4.5 $0.00002 $0.00149

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

Security

Grade A, and why

ui-phase 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/pbr/skills/ui-phase/SKILL.md · 181 lines

How it starts

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

STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes tokens. Begin executing Step 0 immediately.

Step 0 -- Banner

Before ANY tool calls, display this banner:

╔══════════════════════════════════════════════════════════════╗
║  PLAN-BUILD-RUN ► UI PHASE DESIGN                           ║
╚══════════════════════════════════════════════════════════════╝

Then proceed to Step 1.

Step 1 -- Load State

Read the following files:

pbr-tools state load

Also read .planning/config.json to check for ui.enabled setting.

Step 2 -- Check UI Eligibility

Determine whether the UI pipeline should be active:

2a. If config.ui.enabled is explicitly true, proceed to Step 3.

2b. If config.ui.enabled is explicitly false, display:

UI pipeline is disabled. Enable with: /pbr:config set ui.enabled true

Then STOP. Do not proceed further.

2c. If ui.enabled is not set (undefined), auto-detect frontend project:

  1. Check package.json for dependencies or devDependencies containing: react, vue, angular, svelte, next, nuxt, solid-js, preact, lit, @angular/core
  2. Check for index.html in the project root or public/ or src/
  3. Check for .css, .scss, .less, .sass files in src/ or styles/

If frontend indicators are found, proceed to Step 3.

If NO frontend indicators are found, ask the user:

This doesn't appear to be a frontend project. No frontend frameworks
or UI files were detected.

Options:
1. Continue anyway (I know this project has UI components)
2. Cancel (this project doesn't need UI design contracts)
3. Enable permanently: /pbr:config set ui.enabled true

If the user chooses option 1, proceed. If option 2, STOP. If option 3, tell them to run the config command and then re-run /pbr:ui-phase.

Step 3 -- Parse Arguments

Parse $ARGUMENTS for:

Read the full file on GitHub · 181 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 · 181 lines · 15 tokens per session scan A 314826994e05

Subscribe to this mod's changes

ui-phase is a skill published in the GitHub repository SienkLogic/plan-build-run (19 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 1,494 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

republic-design

Republic-style UX design reviewer and scorer for pitch decks, landing pages, and investor-facing materials. Applies Republic.com's design DNA (financial-grade trust, data-forward, restrained elegance) to score and improve any visual artifact. Use when user says "republic", "republic style", "score design", "polish…

floomhq/moto · 86 tokens

ui-audit

Systematic visual audit of a web app. Two modes: (1) Wireframe comparison, matching implementation against a design spec HTML file with CSS property extraction. (2) Standalone UX/product review, evaluating usability, visual hierarchy, interaction patterns, and mobile responsiveness from a user perspective. Both modes…

floomhq/moto · 129 tokens

slide-design

Visual design system for creating high-quality presentation slides (HTML, PPTX, or PDF). Use when designing pitch deck slides, presentation visuals, or any slide-based content. Covers layout composition, typography, color, data visualization, and visual hierarchy for 1920x1080 slide formats. Focuses on making slides…

floomhq/moto · 75 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. Use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work.

floomhq/moto · 53 tokens

product

Product strategy and UX decision-making for user-facing features. Use when asked about "product decision", "UX strategy", "how should we present this", "user trust", "what should the user see", "is this confusing", "zero friction", "product skill", or any question about how a feature should feel, communicate, or…

floomhq/moto · 107 tokens

ux-audit

Independent UX quality audit using Gemini as the judge. Takes screenshots of live pages at multiple viewports and themes, sends them to Gemini for scoring across 7 UX dimensions. Produces actionable report with per-page breakdown.

floomhq/moto · 0 tokens