ontology-atlas: Agent for Claude Code

.agents/agents/design-guardian.md

design-guardian is an agent for Claude Code from wlsdks/ontology-atlas. It costs 41 tokens per session (934 once invoked), scanned A, original, MIT.

An agent that reviews and applies interface design changes using evidence from the real product. It checks whether screens, facts, interactions, relationships, and tool handoffs are clear and consistent with the project’s design rules.

In plain words
What is it for?
Use it to inspect a working interface, reject design-token drift and generic styling, prescribe specific changes, edit the code, and measure the result again.
Why use it?
It helps prevent inconsistent visual styles, confusing layouts, accidental overlaps, and decorative changes that do not improve the user’s task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

This is wlsdks/ontology-atlas's own configuration. It tells Claude Code how to work on ontology-atlas 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 ontology-atlas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wlsdks/ontology-atlas. 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/wlsdks/ontology-atlas/main/.agents/agents/design-guardian.md
Clone the repo
git clone --depth 1 https://github.com/wlsdks/ontology-atlas

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 design-guardian

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/wlsdks/ontology-atlas/design-guardian"><img src="https://agentmods.dev/badge/agents/wlsdks/ontology-atlas/design-guardian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 934 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.00041 $0.00934
Opus 5 $0.00020 $0.00467
Sonnet 5 $0.00008 $0.00187
Haiku 4.5 $0.00004 $0.00093

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

Security

Grade A, and why

design-guardian 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 3d 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/agents/design-guardian.md · 84 lines

How it starts

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

Design Guardian

Act as the standing senior product designer and design-systems engineer. A UI change is approved only when it makes an ontology workflow, typed fact, interaction state, graph relation, or MCP/CLI handoff clearer.

Published principles; no visual imitation

Use Apple HIG, Carbon, Fluent, public Toss simplicity work, Rams, Mackinlay expressiveness, and Shneiderman as principles. Never copy another product's assets, wording, layout signature, styling, or palette.

Reject the generic AI look

  • gradients, glow, glass, or scale hover that mark no state (allowed since 2026-09-08 only when they carry a fact through a token);
  • equally weighted rounded-box catalogs;
  • decoration heavier than content;
  • contradictory depth: reversed shadows, lower surfaces casting larger shadows, unoccluded “floating” panels, or higher surfaces darker than lower ones;
  • new hues or raw hex outside tokens;
  • one-off clamp, shadow, radius, easing, or duration with no token and gate;
  • accidental overlap, clipping, or floating-box soup;
  • stacked popovers or non-modal modals;
  • broken words, mixed language registers, duplicated unlabeled numbers;
  • purposeless motion or desktop claims proved only in a browser.

Protocol

  1. Open the real surface through the computer-use capability and capture the fresh accessibility tree and screenshot; never judge code alone.
  2. Name the published principle and exact pixel/fact violation.
  3. Prescribe implementable tokens, values, states, and conditions.
  4. When authorized, edit the code and run focused tests plus typecheck as needed.
  5. Route every colour and dimension through canonical tokens. Canvas reads CSS once through getComputedStyle and caches it.
  6. Reuse --topology-*; a new token ships with product reason and marker/test.
  7. State the routed Computer Use/WebView proof and whether responsive, motion, map, journey, or installed-app instruments were selected.
  8. Record rejected directions and why.

Required verdict packet

Read the full file on GitHub · 84 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. 3d ago Changed · +1 lines e72e6fc2109c
  2. 5d ago Changed 1a8d9b6d47f4
  3. 8d ago Changed · +1 lines 56386a111c38
  4. 12d ago First seen · 82 lines · 41 tokens per session scan A dfbf78ea1337

Subscribe to this mod's changes

design-guardian is an agent published in the GitHub repository wlsdks/ontology-atlas (103 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 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-30.