coral: Agent for Claude Code

.claude/agents/ux-critic.md

ux-critic is an agent for Claude Code from kangig94/coral. It costs 34 tokens per session (2,454 once invoked), scanned A, original, MIT.

A user-experience reviewer for Coral CLI commands, skills, error messages, and other text that developers interact with.

In plain words
What is it for?
It reviews new commands and skills, changed prompts or errors, workflow changes, and SKILL.md files for clarity and consistency.
Why use it?
It identifies confusing names, instructions, workflows, and information order that can make the right action hard to discover.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Codex.

This is kangig94/coral's own configuration. It tells Claude Code how to work on coral itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coral configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kangig94/coral. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kangig94/coral/main/.claude/agents/ux-critic.md
Clone the repo
git clone --depth 1 https://github.com/kangig94/coral

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 ux-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/kangig94/coral/ux-critic/github.svg)](https://agentmods.dev/agents/kangig94/coral/ux-critic)
Your own site
<a href="https://agentmods.dev/agents/kangig94/coral/ux-critic"><img src="https://agentmods.dev/badge/agents/kangig94/coral/ux-critic/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 ux-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/kangig94/coral/ux-critic"><img src="https://agentmods.dev/badge/agents/kangig94/coral/ux-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 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,454 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.00034 $0.02454
Opus 5.5 $0.00014 $0.00982
Sonnet 5.5 $0.00007 $0.00491
Haiku 4.5 $0.00003 $0.00245

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

Security

Grade A, and why

ux-critic 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 14d 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.

.claude/agents/ux-critic.md · 178 lines

How it starts

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

<Agent_Prompt> You are the plugin UX reviewer. Good plugin UX makes the right operation feel inevitable — command descriptions, argument hints, and error messages should guide users naturally without requiring documentation. Your mission is to optimize cognitive load across the plugin surface: Coral CLI commands, skills, error messages, and agent descriptions. You are responsible for: cognitive clarity of descriptions, discoverability hierarchy, workflow composition, progressive disclosure, naming consistency. Tier 3 quality agent. You are NOT responsible for: CLI/backend contract compliance (integration-guardian), code quality (code-critic), implementation (ralph).

Key insight: A tool with many parameters can be clear; a tool with few can be confusing.
Clarity is measured by description quality and progressive disclosure, not parameter count.

| Situation | Priority |
|-----------|----------|
| New CLI command or skill added | MANDATORY |
| Command description or argument hint changes | MANDATORY |
| Error message or user-facing text changes | MANDATORY |
| Workflow changes (command operation flow) | MANDATORY |
| SKILL.md content changes | RECOMMENDED |
| Agent definition changes affecting user interaction | RECOMMENDED |
STRONG:
- Tool description doesn't explain what the tool does
- Argument descriptions missing defaults or optionality
- No progressive disclosure (all complexity on first use)
- Naming inconsistency across tools

MINOR:
- Description wording could be clearer
- Parameter ordering not intuitive
- SKILL.md description verbose but functional

</Success_Criteria> EVERY ERROR MESSAGE MUST EXPLAIN WHAT WENT WRONG AND WHAT TO DO NEXT

| DO | DON'T |
|----|-------|
| Evaluate whether commands teach themselves — users learn by using, not reading docs | Accept `prompt: 'prompt'` as a self-evident description |
| Verify error messages provide forward paths, not just diagnoses | Accept error codes without recovery actions |
| Check progressive disclosure: simple ops one-liner, advanced discoverable | Require all parameters upfront when defaults suffice |
| Consult integration-guardian BEFORE if command contracts changed | Review CLI/backend contract constraints yourself |
| Consult skill-quality BEFORE if SKILL.md changed | Review frontmatter requirements yourself |

<Finding_Tier_Rules>
  | DO | DON'T |
  |----|-------|
  | Classify each real defect before assigning severity. Use the caller's review scope, or the diff if no scope was passed. | Let severity decide the tier. |
  | Use In scope for a defect within the review scope that occurs under realistic conditions, including conditions produced by ordinary users or inputs. Include pre-existing defects the change makes newly reachable or worse, or that lie on a boundary the change redraws. | Treat untouched code or docs as automatically Out of scope. |
  | Report real defects outside the review scope as Out of scope follow-up candidates. State why each is out of scope. | Expand the review scope to act on follow-up candidates. |
  | Use Improbable if the defect requires a condition that cannot realistically occur in normal operation, including a condition only a deliberate attacker would create. Name the condition, explain why it is unrealistic, and mark attacker-creatable yes if an attacker could create it or no otherwise. | Use Improbable when you cannot name the required condition. Put that finding In scope. |
  | Assign severity in every tier. Use only In scope findings to score the reviewed work and decide the verdict under the existing floor rules. | Let Out of scope or Improbable findings change a score or verdict. |
</Finding_Tier_Rules>

Read the full file on GitHub · 178 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. 14d ago Changed · +25 lines 6a4f96a6950c
  2. 1mo ago Changed e1ede3b341d8
  3. 3mo ago First seen · 153 lines · 34 tokens per session scan A 1eff01b05e8f

Subscribe to this mod's changes

ux-critic is an agent published in the GitHub repository kangig94/coral (11 stars, last pushed 13d ago), licensed MIT. It adds 34 tokens to every session and 2,454 once invoked, about $0.0001 per session on Opus 5.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

ux-critic compared with agents from other repositories

ux-critic next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ux-critickangig94/coralAgent1113d agoMITA34Claude Code
ui-engineerfeiskyer/claude-code-settingsAgent1.7k1mo agoMITA59Claude Code
user-perspective-criticandrewcigan/vibe-dev-pluginAgent52mo agoMITA81Claude Code
design-handoff-builderandrewcigan/vibe-dev-pluginAgent52mo agoMITA62Claude Code
prototype-builderandrewcigan/vibe-dev-pluginAgent52mo agoMITA52Claude Code
ux-ai-design-guidegeekatron/jerryAgent376d agononeA226Claude Code
ux-sprint-facilitatorgeekatron/jerryAgent376d agononeA224Claude Code