whitespace-density

whitespace-density is a skill for Claude Code from oborchers/fractional-cto. It costs 96 tokens per session (1,479 once invoked), scanned A, original, MIT.

A guide to controlling empty space, padding, margins, and content density in an interface. It distinguishes space between major sections from space inside components and describes a consistent spacing scale.

In plain words
What is it for?
Use it when adjusting section gaps, form spacing, list density, component padding, or the separation between related and unrelated elements.
Why use it?
It helps prevent screens from feeling cramped, disconnected, or uneven. Intentional spacing makes groups easier to recognise and content easier to read.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the visual-design-principles plugin — 12 skills, 1 command, 1 agent shipped together

Good fit Use it when adjusting section gaps, form spacing, list density, component padding, or the separation between related and unrelated elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oborchers/fractional-cto/whitespace-density
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.

Any agent
npx skills add oborchers/fractional-cto --skill whitespace-density
Clone the repo
git clone --depth 1 https://github.com/oborchers/fractional-cto

Made for: Claude Code.

Or install visual-design-principles, the plugin that ships this one along with the rest of its 12 skills, 1 command, 1 agent.

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 whitespace-density

README.md
[![agentmods](https://agentmods.dev/badge/skills/oborchers/fractional-cto/whitespace-density/github.svg)](https://agentmods.dev/skills/oborchers/fractional-cto/whitespace-density)
Your own site
<a href="https://agentmods.dev/skills/oborchers/fractional-cto/whitespace-density"><img src="https://agentmods.dev/badge/skills/oborchers/fractional-cto/whitespace-density/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 whitespace-density

Your own site · 80×15
<a href="https://agentmods.dev/skills/oborchers/fractional-cto/whitespace-density"><img src="https://agentmods.dev/badge/skills/oborchers/fractional-cto/whitespace-density.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,479 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.00096 $0.01479
Opus 5.5 $0.00038 $0.00592
Sonnet 5.5 $0.00019 $0.00296
Haiku 4.5 $0.00010 $0.00148

Measured 1mo ago against content hash bd40c3756037, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

whitespace-density 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 1mo 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.

visual-design-principles/skills/whitespace-density/SKILL.md · 120 lines

How it starts

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

Start with Too Much Whitespace, Then Remove Until It Feels Right

Whitespace is not empty space -- it is active structure. Research by Wichita State University found that increased whitespace between paragraphs and around margins improved comprehension by 20%. The Refactoring UI principle is clear: start with too much whitespace, then remove until it feels right. Never start tight and try to add space later.

Macro vs Micro Whitespace

Macro whitespace is the space between major sections, around the content frame, and between layout regions. It establishes page-level breathing room and visual grouping.

Micro whitespace is the space within components -- between a label and its input, between list items, between an icon and its text. It determines readability and component density.

Both must be intentional. Macro whitespace without micro whitespace produces elegant-looking layouts with unreadable components. Micro whitespace without macro whitespace produces readable components floating in a cramped sea.

The 4px/8px Spacing Scale

Define a constrained spacing scale using a 4px base unit. Every spacing value in the system must come from this scale.

:root {
  --space-1:   4px;    /* micro: icon-text gap */
  --space-2:   8px;    /* micro: inline element gap */
  --space-3:  12px;    /* micro: related element gap */
  --space-4:  16px;    /* standard component padding */
  --space-5:  20px;    /* component internal sections */
  --space-6:  24px;    /* between related components */
  --space-8:  32px;    /* between distinct components */
  --space-10: 40px;    /* compact section gap */
  --space-12: 48px;    /* standard section gap */
  --space-16: 64px;    /* generous section gap */
  --space-24: 96px;    /* premium section gap */
  --space-32: 128px;   /* hero/premium section gap */
}

Whitespace Ratio Benchmarks

Context Whitespace % Example
News sites 20--30% CNN, Reuters
SaaS dashboards 25--35% Datadog, Grafana
Corporate / SaaS marketing 35--45% Stripe docs, GitHub
Premium / luxury 50--65% Apple product pages
Apple homepage hero 60--70% apple.com

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 120 lines · 96 tokens per session scan A bd40c3756037

Subscribe to this mod's changes

whitespace-density is a skill published in the GitHub repository oborchers/fractional-cto (39 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 1,479 once invoked, about $0.0004 per session on Opus 5.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-10-13.

Related

whitespace-density compared with skills from other repositories

whitespace-density next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
whitespace-densityoborchers/fractional-ctoSkill391mo agoMITA96Claude Code
customer-journey-mapphuryn/pm-skillsSkill28k23d agoMITA49Claude Code
ergonomicsboshu2/agentopsSkill4653d agoApache-2.0A36Claude Code
design-reviewsecondsky/claude-skillsSkill2572d agoMITA51Claude Code
aceternity-uisecondsky/claude-skillsSkill2572d agoMITA48Claude Code
motionsecondsky/claude-skillsSkill2572d agoMITA39Claude Code
frontend-designsecondsky/claude-skillsSkill2572d agoMITA43Claude Code