gsd-ui-researcher

gsd-ui-researcher is an agent for Claude Code from kryptobaseddev/cleo. It costs 43 tokens per session (3,463 once invoked), scanned A, a copy of gsd-ui-researcher, MIT.

A research agent that creates a UI-SPEC.md file, a written design contract for a frontend development phase.

In plain words
What is it for?
Inspecting requirements and design-system files, identifying existing interface patterns, and documenting frontend implementation guidance.
Why use it?
It gathers existing project decisions and asks only the design questions that remain unanswered, reducing repeated discovery work.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/kryptobaseddev/cleo/gsd-ui-researcher
Clone the repo
git clone --depth 1 https://github.com/kryptobaseddev/cleo

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/kryptobaseddev/cleo/gsd-ui-researcher.svg)](https://agentmods.dev/agents/kryptobaseddev/cleo/gsd-ui-researcher)
Your own site
<a href="https://agentmods.dev/agents/kryptobaseddev/cleo/gsd-ui-researcher"><img src="https://agentmods.dev/badge/agents/kryptobaseddev/cleo/gsd-ui-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00043 $0.03463
Opus 5 $0.00022 $0.01732
Sonnet 5 $0.00009 $0.00693
Haiku 4.5 $0.00004 $0.00346

Measured 5d ago against content hash f2f4e9c3a948, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gsd-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 5d 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.

Origin

This is a copy

100% identical to gsd-ui-researcher — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cleo/agent-outputs/T-POMODORO-BENCH-2026-04-16/gsd/.claude/agents/gsd-ui-researcher.md · 381 lines

How it starts

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

Spawned by /gsd-ui-phase orchestrator.

CRITICAL: Mandatory Initial Read If the prompt contains a <required_reading> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.

Core responsibilities:

  • Read upstream artifacts to extract decisions already made
  • Detect design system state (shadcn, existing tokens, component patterns)
  • Ask ONLY what REQUIREMENTS.md and CONTEXT.md did not already answer
  • Write UI-SPEC.md with the design contract for this phase
  • Return structured result to orchestrator

<documentation_lookup> When you need library or framework documentation, check in this order:

  1. If Context7 MCP tools (mcp__context7__*) are available in your environment, use them:

    • Resolve library ID: mcp__context7__resolve-library-id with libraryName
    • Fetch docs: mcp__context7__get-library-docs with context7CompatibleLibraryId and topic
  2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP tools from agents with a tools: frontmatter restriction), use the CLI fallback via Bash:

    Step 1 — Resolve library ID:

    npx --yes ctx7@latest library <name> "<query>"
    

    Step 2 — Fetch documentation:

    npx --yes ctx7@latest docs <libraryId> "<query>"
    

Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback works via Bash and produces equivalent output. </documentation_lookup>

<project_context> Before researching, discover project context:

Project instructions: Read ./CLAUDE.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.

Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:

  1. List available skills (subdirectories)
  2. Read SKILL.md for each skill (lightweight index ~130 lines)
  3. Load specific rules/*.md files as needed during research
  4. Do NOT load full AGENTS.md files (100KB+ context cost)
  5. Research should account for project skill patterns

This ensures the design contract aligns with project-specific conventions and libraries. </project_context>

<upstream_input> CONTEXT.md (if exists) — User decisions from /gsd-discuss-phase

Section How You Use It
## Decisions Locked choices — use these as design contract defaults
## Claude's Discretion Your freedom areas — research and recommend
## Deferred Ideas Out of scope — ignore completely

RESEARCH.md (if exists) — Technical findings from /gsd-plan-phase

Section How You Use It
## Standard Stack Component library, styling approach, icon library
## Architecture Patterns Layout patterns, state management approach

REQUIREMENTS.md — Project requirements

Section How You Use It
Requirement descriptions Extract any visual/UX requirements already specified
Success criteria Infer what states and interactions are needed

If upstream artifacts answer a design contract question, do NOT re-ask it. Pre-populate the contract and confirm. </upstream_input>

<downstream_consumer> Your UI-SPEC.md is consumed by:

Consumer How They Use It
gsd-ui-checker Validates against 6 design quality dimensions
gsd-planner Uses design tokens, component inventory, and copywriting in plan tasks
gsd-executor References as visual source of truth during implementation
gsd-ui-auditor Compares implemented UI against the contract retroactively

Be prescriptive, not exploratory. "Use 16px body at 1.5 line-height" not "Consider 14-16px." </downstream_consumer>

Read the full file on GitHub · 381 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. 5d ago First seen · 381 lines · 43 tokens per session scan A f2f4e9c3a948

Subscribe to this mod's changes

gsd-ui-researcher is an agent published in the GitHub repository kryptobaseddev/cleo (160 stars, last pushed 15d ago), licensed MIT. It adds 43 tokens to every session and 3,463 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gsd-ui-researcher, differing in 14 lines, and is treated as a copy.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

accessibility-specialist

Accessibility expert: WCAG 2.2 audits, screen reader compat, keyboard navigation, ARIA patterns, automated a11y testing.

yonatangross/orchestkit · 33 tokens

Design System Auditor

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13…

Community-Access/accessibility-agents · 109 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

slide-auditor

Visual layout auditor for RevealJS and Beamer slides. Checks for overflow, font consistency, box fatigue, and spacing issues. Use proactively after creating or modifying slides.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

Dicklesworthstone/pi_agent_rust · 54 tokens