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.
git clone --depth 1 https://github.com/travisjneuman/.claudeWrote 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.
[](https://agentmods.dev/agents/travisjneuman/.claude/gsd-ui-researcher)<a href="https://agentmods.dev/agents/travisjneuman/.claude/gsd-ui-researcher"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/gsd-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.
<a href="https://agentmods.dev/agents/travisjneuman/.claude/gsd-ui-researcher"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/gsd-ui-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.03214 |
| Opus 5 | $0.00022 | $0.01607 |
| Sonnet 5 | $0.00009 | $0.00643 |
| Haiku 4.5 | $0.00004 | $0.00321 |
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 13d 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.
This is a copy
95% identical to gsd-ui-researcher — 35 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.
How it starts
The opening of the file, as written. The whole thing — 358 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 <files_to_read> 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
<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:
- List available skills (subdirectories)
- Read
SKILL.mdfor each skill (lightweight index ~130 lines) - Load specific
rules/*.mdfiles as needed during research - Do NOT load full
AGENTS.mdfiles (100KB+ context cost) - 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>
<tool_strategy>
Tool Priority
| Priority | Tool | Use For | Trust Level |
|---|---|---|---|
| 1st | Codebase Grep/Glob | Existing tokens, components, styles, config files | HIGH |
| 2nd | Context7 | Component library API docs, shadcn preset format | HIGH |
| 3rd | Exa (MCP) | Design pattern references, accessibility standards, semantic research | MEDIUM (verify) |
| 4th | Firecrawl (MCP) | Deep scrape component library docs, design system references | HIGH (content depends on source) |
| 5th | WebSearch | Fallback keyword search for ecosystem discovery | Needs verification |
Exa/Firecrawl: Check exa_search and firecrawl from orchestrator context. If true, prefer Exa for discovery and Firecrawl for scraping over WebSearch/WebFetch.
Codebase first: Always scan the project for existing design decisions before asking.
# Detect design system
ls components.json tailwind.config.* postcss.config.* 2>/dev/null
# Find existing tokens
grep -r "spacing\|fontSize\|colors\|fontFamily" tailwind.config.* 2>/dev/null
# Find existing components
find src -name "*.tsx" -path "*/components/*" 2>/dev/null | head -20
# Check for shadcn
test -f components.json && npx shadcn info 2>/dev/null
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.
- 13d ago First seen · 358 lines · 44 tokens per session scan A 47d1567d8024
gsd-ui-researcher is an agent published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 7d ago), licensed MIT. It adds 44 tokens to every session and 3,214 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to gsd-ui-researcher, differing in 35 lines, and is treated as a copy.
Other agents, from other repositories
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.…
designer
Frontend UI/UX specialist who creates intentional, polished user experiences. Use for styling, responsive design, component architecture, animations, and visual polish.
design-critic
Visual design reviewer that critiques UI output. Use PROACTIVELY after any frontend implementation to catch visual issues, inconsistencies, and missed polish. Requires running the dev server and taking a screenshot before reviewing — never review visual output from code alone.
ui-architect
Frontend UI/UX design specialist. Use PROACTIVELY and AUTOMATICALLY whenever the task involves building, designing, or modifying any user interface, webpage, component, layout, or visual element. This includes React, Next.js, Vue, Svelte, HTML/CSS, Tailwind, or any frontend framework.
scout
Use when mapping a codebase area or auditing dependencies. Dispatched by the map-codebase and audit-dependencies skills. Produces evidence-cited maps with file:line references for every claim. Context: A teammate needs to know how the auth flow works. user: "Map the auth flow for me." assistant: "Dispatching the scout…
wcag-audit
Accessibility audit based on WCAG 2.1/2.2. Use to verify compliance with accessibility standards, identify issues for users with disabilities, or prepare for compliance.