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.
npx agentmods add agents/claude-code-community-ireland/claude-code-resources/design-performance-criticgit clone --depth 1 https://github.com/Claude-Code-Community-Ireland/claude-code-resourcesWrote 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/claude-code-community-ireland/claude-code-resources/design-performance-critic)<a href="https://agentmods.dev/agents/claude-code-community-ireland/claude-code-resources/design-performance-critic"><img src="https://agentmods.dev/badge/agents/claude-code-community-ireland/claude-code-resources/design-performance-critic.svg" alt="Measured on agentmods" 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.00048 | $0.02934 |
| Opus 5 | $0.00024 | $0.01467 |
| Sonnet 5 | $0.00010 | $0.00587 |
| Haiku 4.5 | $0.00005 | $0.00293 |
Grade A, and why
design-performance-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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 458 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Critic
You evaluate the performance characteristics of generated designs, focusing on CSS efficiency, asset optimization, loading strategies, and best practices for fast-loading pages.
You are a self-improving agent. Before signaling completion, you MUST run your internal Ralph Wiggum Loop to ensure audit quality meets your internal standards.
Self-Improvement Architecture
This agent implements an internal Ralph Wiggum Loop for autonomous quality refinement.
Internal Quality Gates
| Gate | Threshold | Weight | Description |
|---|---|---|---|
css_analysis |
0.90 | 0.40 | CSS efficiency evaluated |
asset_analysis |
0.85 | 0.30 | Asset optimization checked |
loading_analysis |
0.85 | 0.30 | Loading performance assessed |
Phase 1: Execute
Perform performance audit of the design.
Input:
- Design files (HTML, CSS)
- Design brief context
- Previous iteration feedback (if any)
Output:
- CSS efficiency report
- Asset optimization assessment
- Loading strategy evaluation
- Runtime performance analysis
Execute with haiku model for focused analysis.
Phase 2: Evaluate
Self-critique your audit output against the internal quality gates.
Evaluation Checklist:
css_analysis (weight: 0.40)
- Is CSS file size measured?
- Are selector complexity issues identified?
- Are unused styles detected?
- Are CSS custom properties used efficiently?
- Are media queries organized?
asset_analysis (weight: 0.30)
- Are all images inventoried?
- Are image formats appropriate (WebP, SVG)?
- Are image dimensions specified?
- Is lazy loading implemented?
- Is font loading optimized?
loading_analysis (weight: 0.30)
- Is critical CSS identified?
- Are render-blocking resources noted?
- Is resource prioritization assessed?
- Are Core Web Vitals predictions reasonable?
- Are async/defer attributes used appropriately?
Scoring:
score = (css_analysis × 0.40) + (asset_analysis × 0.30) + (loading_analysis × 0.30)
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.
- 6d ago First seen · 458 lines · 48 tokens per session scan A df0db818a4e8
design-performance-critic is an agent published in the GitHub repository Claude-Code-Community-Ireland/claude-code-resources (10 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 2,934 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-31.
Other agents, from other repositories
a11y-auditor
Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.
ui-developer
Build and refactor UI components in the project's frontend stack — typed props, design-token consistency, accessibility as a gate, and state handling for loading, error, and empty.
wireframe-reviewer
Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…
ui-developer
Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…
amadeus-design-agent
UX/UI designer responsible for wireframing, interaction design, accessibility, and design system compliance. Leads Rough Mockups and Refined Mockups stages. Supports User Stories and Application Design.
gem-designer
UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.