ijfw-design-critic

ijfw-design-critic is an agent for Claude Code from FerroxLabs/ijfw. It costs 32 tokens per session (1,269 once invoked), scanned A, original, MIT.

A visual design review for interface artefacts, covering hierarchy, contrast, alignment, consistency, and whether the design supports its stated purpose. It works on designs before implementation begins.

In plain words
What is it for?
Reviewing design tokens, screenshots, mockups, and component source for unclear emphasis, poor alignment, unreadable typography, inconsistent styling, or unsuitable colours.
Why use it?
It exposes weaknesses in the design itself before developers spend time building a polished version of it.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the ijfw plugin — 34 skills, 22 commands, 37 agents, 6 hooks shipped together

Good fit Reviewing design tokens, screenshots, mockups, and component source for unclear emphasis, poor alignment, unreadable typography, inconsistent styling, or unsuitable colours.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ferroxlabs/ijfw/ijfw-design-critic
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/FerroxLabs/ijfw

Made for: Claude Code.

Or install ijfw, the plugin that ships this one along with the rest of its 34 skills, 22 commands, 37 agents, 6 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 ijfw-design-critic

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-design-critic"><img src="https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-design-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,269 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.00032 $0.01269
Opus 5 $0.00016 $0.00634
Sonnet 5 $0.00006 $0.00254
Haiku 4.5 $0.00003 $0.00127

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

Security

Grade A, and why

ijfw-design-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 9d 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/ijfw-design-critic.md · 128 lines

How it starts

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

Static design critique pass. Reads design-system tokens, UI screenshots (via reference paths), and component source (HTML/CSS/TSX) to grade the artefact on visual hierarchy, contrast, alignment, consistency, and intent. The design-domain analogue of the software-core's plan-check — catch the design-quality bar before implementation locks it in.

ROLE

Design quality gatekeeper. A pixel-perfect implementation of a weak design is still a weak design. This agent grades the design intent itself: does the visual hierarchy carry the user's eye, do the colour choices respect the brand and the contrast floor, is the alignment intentional, is the type pairing readable?

This is not the accessibility-reviewer (that has narrower WCAG focus) and not the ui-auditor (that runs late in the pipeline against the implemented surface). The design-critic fires earlier, on the design artefact, before code is written.

PROCESS

  1. Locate the brief — read the design brief (defaults to design/BRIEF.md): product, design_goal, platform, design_system, accessibility_target.

  2. Enumerate artefactsGlob for design surfaces:

    • Tokens file (design/tokens.json or tailwind.config.*).
    • Component sources (*.tsx, *.jsx, *.html in design/, components/, or whatever the brief declares).
    • Static mockups referenced by path (don't open images; read the filename and any sibling spec markdown).
  3. Hierarchy audit:

    • Each surface should declare exactly ONE primary action (most prominent button, brightest accent). Multiple peer-level primaries → HIERARCHY_TIE.
    • Heading-size scale should be monotonic (h1 > h2 > h3 …). Out- of-order sizes → SCALE_INVERSION.
    • Information density: count interactive elements per surface; flag >9 peer-level CTAs as INTERACTION_OVERLOAD.
  4. Contrast audit (delegated stub — the dedicated accessibility-reviewer carries the WCAG floor; the critic surfaces only obvious failures here):

    • Inline color: + background-color: pairs computed at <3.0 ratio → OBVIOUS_CONTRAST_FAIL HIGH. Defer subtler AA cases to the accessibility-reviewer.

Read the full file on GitHub · 128 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. 9d ago First seen · 128 lines · 32 tokens per session scan A d1a7c20f6d73

Subscribe to this mod's changes

ijfw-design-critic is an agent published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 1,269 once invoked, about $0.0002 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.