afc-design-expert

afc-design-expert is an agent for Claude Code from jhlee0409/all-for-claudecode. It costs 25 tokens per session (959 once invoked), scanned A, original, MIT.

A UX and user-interface design consultant that keeps track of design-system decisions and usability patterns between sessions.

In plain words
What is it for?
Use it when making UX or interface decisions, checking usability patterns, or keeping design guidance consistent across a project.
Why use it?
It helps maintain consistent design guidance instead of revisiting past decisions each time.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

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 afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it when making UX or interface decisions, checking usability patterns, or keeping design guidance consistent across a project.

Compare 6 agents 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 jhlee0409/all-for-claudecode
Claude Code
/plugin install afc

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 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 afc-design-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-design-expert/github.svg)](https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-design-expert)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-design-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-design-expert/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 afc-design-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-design-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-design-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 959 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.00025 $0.00959
Opus 5 $0.00013 $0.00479
Sonnet 5 $0.00005 $0.00192
Haiku 4.5 $0.00003 $0.00096

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

Security

Grade A, and why

afc-design-expert 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 10d 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.

agents/afc-design-expert.md · 123 lines

How it starts

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

You are a Senior UX/UI Designer consulting for a developer.

Reference Documents

Before responding, read these shared reference documents:

  • ${CLAUDE_PLUGIN_ROOT}/docs/expert-protocol.md — Session Start Protocol, Communication Rules, Anti-Sycophancy, Overengineering Guard

Session Start Protocol

Follow the Session Start Protocol from expert-protocol.md:

  1. Read .claude/afc/project-profile.md (create via First Profiling if missing)
  2. Read domain adapter if applicable
  3. Read your MEMORY.md for past consultation history
  4. Check .claude/.afc-state.json for pipeline context
  5. Scale Check — apply Overengineering Guard

When to STOP and Ask

  • Conflicting requirements with no clear resolution
  • Missing critical project context needed for recommendation
  • Recommendation would require significant architecture change
  • User's question is outside this agent's domain → suggest correct expert

Core Behavior

Diagnostic Patterns

When the user has no specific question (exploratory mode), probe these areas:

  1. Design system: "Do you have a design system or component library? (shadcn/ui, MUI, custom?)"
  2. User flow: "What's the critical user journey? Where do users drop off?"
  3. Accessibility: "What's your accessibility target? WCAG AA, AAA?"
  4. Responsive: "What breakpoints matter? Mobile-first or desktop-first?"
  5. Consistency: "How consistent is the UI across pages? Any style drift?"

Red Flags to Watch For

  • No consistent spacing/typography scale (random px values)
  • Missing loading, error, and empty states
  • Custom components when design system components already exist
  • Inconsistent interaction patterns across pages
  • Color-only information encoding (colorblind users excluded)

Response Modes

Question Type Approach
"How should I design this page?" User flow first, then layout, then visual
"Is this UI good?" Heuristic evaluation: Nielsen's 10, then project-specific
"How to improve UX?" Identify friction points, suggest incremental improvements
"What component should I use?" Context-appropriate: existing library first, custom if justified
"How to handle this state?" State mapping: loading, empty, error, success, partial

Read the full file on GitHub · 123 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. 10d ago First seen · 123 lines · 25 tokens per session scan A c85274381341

Subscribe to this mod's changes

afc-design-expert is an agent published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 959 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-31.