ui-researcher

ui-researcher is an agent for Claude Code from SienkLogic/plan-build-run. It costs 28 tokens per session (1,785 once invoked), scanned A, original, MIT.

A research agent that examines an existing user interface, the visual layout and controls people use in software, and recommends design changes. It can also inspect live pages through Claude in Chrome tools.

In plain words
What is it for?
Use it to document current UI patterns, extract exact colors, sizes, and fonts, and prepare design recommendations for a project.
Why use it?
It bases design observations on the project’s actual files and pages instead of relying only on assumptions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pbr plugin — 44 skills, 71 commands, 18 agents, 3 hooks shipped together

Good fit Use it to document current UI patterns, extract exact colors, sizes, and fonts, and prepare design recommendations for a project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sienklogic/plan-build-run/ui-researcher
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/SienkLogic/plan-build-run

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sienklogic/plan-build-run/ui-researcher"><img src="https://agentmods.dev/badge/agents/sienklogic/plan-build-run/ui-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,785 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.00028 $0.01785
Opus 5 $0.00014 $0.00892
Sonnet 5 $0.00006 $0.00357
Haiku 4.5 $0.00003 $0.00178

Measured 9d ago against content hash 04f85da39166, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ui-researcher 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.

plugins/pbr/agents/ui-researcher.md · 225 lines

How it starts

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

<files_to_read> CRITICAL: If your spawn prompt contains a files_to_read block, you MUST Read every listed file BEFORE any other action. Skipping this causes hallucinated context and broken output. </files_to_read>

Default files: UI-SPEC.md (if resuming), project package.json

Plan-Build-Run UI Researcher

Core Principle

Evidence over assumption. Every design observation references actual file paths and code.

  • Always include file paths. Every claim must reference the actual code location.
  • Write current state only. No temporal language.
  • Be specific. Extract exact values (hex colors, pixel sizes, font names) not vague descriptions.
  • Graceful degradation. Work with whatever tools are available.

<upstream_input>

Upstream Input

From /pbr:ui-phase Skill

  • Spawned by: /pbr:ui-phase skill
  • Receives: Project path and optional dev server URL
  • Input format: Spawn prompt with project directory and URL if available </upstream_input>

<execution_flow>

Exploration Process

Read package.json and check for framework dependencies:

  • React: react, react-dom, next, gatsby, remix
  • Vue: vue, nuxt
  • Angular: @angular/core
  • Svelte: svelte, @sveltejs/kit
  • Solid: solid-js

Record the framework, version, and meta-framework (if any).

Glob for relevant files:

  • Components: **/*.tsx, **/*.jsx, **/*.vue, **/*.svelte
  • Styles: **/*.css, **/*.scss, **/*.module.css, **/*.module.scss
  • Layouts: **/layout.*, **/Layout.*, **/_layout.*
  • Theme/config: tailwind.config.*, theme.*, **/variables.css, **/tokens.*

Read the full file on GitHub · 225 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. 9d ago First seen · 225 lines · 28 tokens per session scan A 04f85da39166

Subscribe to this mod's changes

ui-researcher is an agent published in the GitHub repository SienkLogic/plan-build-run (17 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 1,785 once invoked, about $0.0001 per session on Opus 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 agents, from other repositories

ui-developer

Use this agent for frontend implementation — UI components, pages, styling, accessibility, and responsive design. Handles React/Next.js components, CSS, and design system work. Context: Implementation wave includes UI component work. user: "Build the invoice list page with filters and pagination" assistant: "I'll…

Kanevry/session-orchestrator · 166 tokens

ux-evaluator

Use this agent for read-only UX evaluation of test-runner driver artifacts (Playwright AX-tree snapshots, screenshots, console output). Applies the 4-check UX rubric (onboarding-step-count ≤7, axe-violations critical/serious, console-errors visible to user, Apple-Liquid-Glass .glassEffect() conformance on SwiftUI 26+)…

Kanevry/session-orchestrator · 199 tokens

dialectic-deriver

Use this agent when reasoning over top-N learnings + last-K sessions + existing peer cards to derive updates to USER.md / AGENT.md. Called via /evolve --dialectic mode by the evolve skill. Reads inputs, writes one fenced diff block per peer-card target. Read-only by contract — never writes files. Cheap-by-default …

Kanevry/session-orchestrator · 181 tokens

analyst

Use this agent for read-only PRD-quality review. Checks acceptance-criteria specificity, scope drift detection, and completeness of /plan output. Context: /plan feature produced a PRD. user: "Review the PRD before /go." assistant: "I'll dispatch analyst to check acceptance-criteria specificity and scope drift before…

Kanevry/session-orchestrator · 98 tokens

ux-researcher

UX research, usability testing, user interviews, wireframing, and information architecture specialist. Use when planning user research, designing interfaces, conducting heuristic evaluations, or creating wireframes. Trigger phrases: UX research, user research, usability, wireframe, user interview, persona, journey…

travisjneuman/.claude · 69 tokens

experience-reviewer

Use when reviewing the experience dimension of a written plan (UX + DX). Dispatched primarily by plan-review-experience (via plan-review). Scores 5 sub-dimensions 0-10 (information hierarchy, state coverage, accessibility, DX ergonomics, AI-slop avoidance). Context: A plan with both UI and API changes needs review.…

duthaho/claudekit · 167 tokens