ui-validate

ui-validate is a command for Claude Code from databayt/hogwarts. It costs 4 tokens per session (1,509 once invoked), scanned A, original, no licence file.

A command that checks the quality of user-interface components. User-interface components are reusable parts of a web page or application.

In plain words
What is it for?
Use it after creating or changing UI components.
Why use it?
It gives you a dedicated validation step for finding issues in interface components.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it after creating or changing UI components.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/databayt/hogwarts/ui-validate
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/databayt/hogwarts

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 ui-validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/databayt/hogwarts/ui-validate/github.svg)](https://agentmods.dev/commands/databayt/hogwarts/ui-validate)
Your own site
<a href="https://agentmods.dev/commands/databayt/hogwarts/ui-validate"><img src="https://agentmods.dev/badge/commands/databayt/hogwarts/ui-validate/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 ui-validate

Your own site · 80×15
<a href="https://agentmods.dev/commands/databayt/hogwarts/ui-validate"><img src="https://agentmods.dev/badge/commands/databayt/hogwarts/ui-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 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,509 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 unknown 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.00004 $0.01509
Opus 5 $0.00002 $0.00754
Sonnet 5 $0.00001 $0.00302
Haiku 4.5 $0.00000 $0.00151

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

Security

Grade A, and why

ui-validate 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 7d 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/commands/ui-validate.md · 213 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 7d ago First seen · 213 lines · 4 tokens per session scan A 574655b3094d

Subscribe to this mod's changes

ui-validate is a command published in the GitHub repository databayt/hogwarts (15 stars, last pushed yesterday), with no licence file. It adds 4 tokens to every session and 1,509 once invoked, about $0.0000 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-09-03.

Related

Other commands, from other repositories

frontend-e2e

Perform a thorough live E2E test of a frontend web application using browser-bridge MCP tools. Tests every page, interactive element, form, navigation flow, responsive breakpoint, and accessibility rule through real browser interaction.

intellegix/intellegix-code-agent-toolkit · 0 tokens

build-from-canva

You are the master orchestrator for converting a Canva design into a fully working, tested React application. You receive a Canva URL and guide the entire process through 12 phases, using specialized skills and agents.

PMDevSolutions/Aurelius · 0 tokens

build-from-figma

You are the master orchestrator for converting a Figma design into a fully working, tested React application. You receive a Figma URL and guide the entire process through 9 phases, using specialized skills and agents.

PMDevSolutions/Aurelius · 0 tokens

build-from-screenshot

You are the master orchestrator for converting screenshots or a live URL into a fully working, tested application. You receive one or more image file paths OR a URL and guide the entire process through 12 phases, using specialized skills and agents. The output target (React, Vue, Svelte, React Native) is determined…

PMDevSolutions/Aurelius · 0 tokens

tanstack-start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch.

jezweb/claude-skills · 14 tokens

react-test

Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first), then implement components. Detects Vitest or Jest and verifies coverage targets.

DekaPrayoga/AurixAgent · 36 tokens