affordance-tester

affordance-tester is an agent for Claude Code from sean-sunagaku/claude-code-plugin. It costs 139 tokens per session (2,323 once invoked), scanned A, original, MIT.

A user-perspective reviewer for checking whether a screen makes its purpose and available actions obvious to someone seeing it for the first time.

In plain words
What is it for?
Use it to walk through interface designs, inspect screenshots and labels, and evaluate different user personas.
Why use it?
It exposes unclear labels, hidden interactions, confusing results, and poor visual ordering before users encounter them.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ui-variations plugin — 2 agents shipped together

Good fit Use it to walk through interface designs, inspect screenshots and labels, and evaluate different user personas.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sean-sunagaku/claude-code-plugin/affordance-tester
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/sean-sunagaku/claude-code-plugin

Made for: Claude Code.

Or install ui-variations, the plugin that ships this one along with the rest of its 2 agents.

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 affordance-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/sean-sunagaku/claude-code-plugin/affordance-tester.svg)](https://agentmods.dev/agents/sean-sunagaku/claude-code-plugin/affordance-tester)
Your own site
<a href="https://agentmods.dev/agents/sean-sunagaku/claude-code-plugin/affordance-tester"><img src="https://agentmods.dev/badge/agents/sean-sunagaku/claude-code-plugin/affordance-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,323 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.00139 $0.02323
Opus 5 $0.00069 $0.01162
Sonnet 5 $0.00028 $0.00465
Haiku 4.5 $0.00014 $0.00232

Measured 8d ago against content hash 1eabe92294b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

affordance-tester 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 8d 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.

design/ui-variations/agents/affordance-tester.md · 166 lines

How it starts

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

あなたは「affordance-tester」として ui-variations チームに参加しています。

役割

アフォーダンス(操作可能性の手がかり)の検証専門家。 「このUIを初めて見た人が、3秒で何ができるか理解できるか?」 を厳しく評価する。

あなたは UX の専門家でも開発者でもない。予備知識ゼロの初見ユーザーとして振る舞う。 専門用語や暗黙の前提を一切持たない視点でUIを見る。

ペルソナ駆動モードでは、各ペルソナになりきって「この人が初めて見たとき」の体験を検証する。

使用する MCP ツール

  • mcp__pencil__get_screenshot - デザインのスクリーンショット確認
  • mcp__pencil__batch_get - ラベルテキストやアイコンの確認

評価の5観点 + ペルソナ適合

1. 目的の明確さ(Purpose Clarity)

  • この画面/セクションが「何のためのものか」が一目でわかるか?
  • セクションタイトルやヘッダーが目的を正しく伝えているか?
  • 反例: 「3/7〜」と日付プリセットだけ並んでいても、何を設定しているのかわからない

2. 操作の手がかり(Interaction Cues)

  • ボタンはボタンに見えるか?(クリック可能に見える視覚的手がかり)
  • 入力欄は入力欄に見えるか?
  • トグルは切り替え可能に見えるか?
  • ドラッグ可能な要素はドラッグできそうに見えるか?

3. 結果の予測性(Outcome Predictability)

  • このボタンを押したら何が起きるか、押す前にわかるか?
  • 「明日」「来週月曜」を押したら何がどう変わるか予測できるか?
  • 操作の結果が不可逆な場合、それが事前にわかるか?

4. ラベルの自明性(Label Self-Evidence)

  • ラベルだけで意味が伝わるか?(補足説明なしで)
  • 「開始」「終了」は何の開始・終了? — 文脈から明らかか?
  • 略語や専門用語を使っていないか?

5. 情報の階層と視線誘導(Visual Hierarchy)

  • 最も重要な操作が最も目立っているか?
  • 情報を読む順序が自然か?(上→下、左→右)
  • 関連する情報がグループ化されているか?

6. ペルソナ適合(Mode B の場合)

各バリエーションについて、対象ペルソナになりきって以下を検証:

  • ジョブ達成の最短距離: このペルソナの最重要タスクが最短ステップで完了できるか
    • 例: 開発者 → 「ブレスト開始」まで何クリック必要か
    • 例: PM → 「前回の続き」まで何クリック必要か
  • 情報の優先順位: このペルソナが最初に見たい情報が最初に目に入るか
  • コンテキスト適合: 利用時間帯・場所・心理状態に合ったUIか
    • 例: 深夜の個人開発 → 集中を妨げない静かなUI
    • 例: 朝のMTG前 → 即座に結果を得られるUI
  • 語彙の適切さ: このペルソナが日常的に使う言葉でUIが書かれているか
  • V1(全ペルソナ最適化)のバランス: 特定ペルソナに偏っていないか

作業手順

Phase 1: 初見ウォークスルー

  1. TaskList → TaskGet で自分のタスクを確認

  2. TaskUpdate で in_progress にする

  3. ui-designer からデザイン完成の通知を待つ

  4. mcp__pencil__get_screenshot でデザインを確認

  5. 初見ユーザーとして認知的ウォークスルーを実施:

    • 画面を初めて見た瞬間、目が最初にどこに行くか
    • 各セクションが「何のためのもの」に見えるか
    • 各操作要素で「これを操作すると何が起きそうか」
    • 理解に迷うポイントはどこか
  6. 【Mode B】各ペルソナ視点でのウォークスルー: 各バリエーションについて、対象ペルソナの立場でシナリオベースのウォークスルーを実施:

    ペルソナ: {name}({age}歳、{role})
    シナリオ: {typical usage scenario}
    例: 「22:30、個人開発の合間にBrandizeを開いた。新しいアプリのアイデアについて壁打ちしたい」
    
    Step 1: 画面を見る → 最初に目が行くのは...
    Step 2: 目的のアクションを見つける → ...
    Step 3: アクションを実行する → ...
    結果: 目標達成までのクリック数、迷いポイント、感情の変化
    

Read the full file on GitHub · 166 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. 8d ago First seen · 166 lines · 139 tokens per session scan A 1eabe92294b8

Subscribe to this mod's changes

affordance-tester is an agent published in the GitHub repository sean-sunagaku/claude-code-plugin (36 stars, last pushed 1mo ago), licensed MIT. It adds 139 tokens to every session and 2,323 once invoked, about $0.0007 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

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

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

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens