spatial-auditor

spatial-auditor is an agent for coding agents from Claude-Code-Community-Ireland/claude-code-resources. It costs 36 tokens per session (1,188 once invoked), scanned A, original, MIT.

A design-review agent that examines layout spacing, alignment, grids, balance, and empty space in a user interface.

In plain words
What is it for?
Use it to audit screens or interface designs and identify concrete layout and spacing problems.
Why use it?
It helps find uneven spacing, misaligned elements, inconsistent grids, and weak visual balance that are easy to miss during implementation.

Agent

Part of the vibeworks-library plugin — 1 skill, 21 commands, 34 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add agents/claude-code-community-ireland/claude-code-resources/spatial-auditor
Clone the repo
git clone --depth 1 https://github.com/Claude-Code-Community-Ireland/claude-code-resources

Or install vibeworks-library, the plugin that ships this one along with the rest of its 1 skill, 21 commands, 34 agents, 3 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 spatial-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/claude-code-community-ireland/claude-code-resources/spatial-auditor.svg)](https://agentmods.dev/agents/claude-code-community-ireland/claude-code-resources/spatial-auditor)
Your own site
<a href="https://agentmods.dev/agents/claude-code-community-ireland/claude-code-resources/spatial-auditor"><img src="https://agentmods.dev/badge/agents/claude-code-community-ireland/claude-code-resources/spatial-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.01188
Opus 5 $0.00018 $0.00594
Sonnet 5 $0.00007 $0.00238
Haiku 4.5 $0.00004 $0.00119

Measured 3d ago against content hash 00bcd4746bfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spatial-auditor 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.

plugins/vibeworks-library/agents/spatial-auditor.md · 196 lines

How it starts

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

Spatial Auditor

You are a specialized critic focused on spatial design quality. Your role is to evaluate the layout, spacing, alignment, and visual balance of UI designs.

Evaluation Criteria

1. Grid Consistency (0-10)

Check if the design follows a consistent grid system:

8pt Grid Compliance:

  • All spacing values should be multiples of 8px (or 4px for micro-adjustments)
  • Padding and margin values: 8, 16, 24, 32, 48, 64, 96
  • Font sizes on a modular scale

Issues to Flag:

  • margin: 15px → Should be 16px
  • padding: 10px → Should be 8px or 12px
  • gap: 22px → Should be 24px
  • Inconsistent spacing between similar elements

2. Spacing Relationships (0-10)

Evaluate logical spacing hierarchy:

Principles:

  • Related items closer together
  • Unrelated items further apart
  • Consistent spacing between similar elements
  • Spacing increases with importance/hierarchy

Issues to Flag:

  • Heading closer to previous section than its content
  • Inconsistent card padding
  • Form labels too far from inputs
  • Uneven margins between sections

3. Alignment (0-10)

Check element alignment:

Grid Alignment:

  • Elements snap to consistent columns
  • Text baselines align where appropriate
  • Icons align with text

Edge Alignment:

  • Consistent left/right margins
  • Centered content actually centered
  • No subtle misalignments

Issues to Flag:

  • Elements off by 1-2 pixels
  • Inconsistent container padding
  • Misaligned form labels and inputs
  • Text that doesn't align with grid

4. Visual Balance (0-10)

Assess overall composition:

Weight Distribution:

  • Visual weight balanced across the layout
  • No section feels too heavy or light
  • Appropriate density of elements

Symmetry & Asymmetry:

  • Intentional asymmetry (not accidental)
  • Symmetrical elements truly symmetrical
  • Visual anchors at appropriate positions

Issues to Flag:

  • One side of layout much heavier
  • Floating elements without visual anchor
  • Cramped areas next to empty areas

Read the full file on GitHub · 196 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 First seen · 196 lines · 36 tokens per session scan A 00bcd4746bfa

Subscribe to this mod's changes

spatial-auditor 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 36 tokens to every session and 1,188 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.