layout

layout is a skill for Claude Code from PrabhdeepSingh/claude-plugins. It costs 71 tokens per session (1,161 once invoked), scanned A, original, MIT.

A set of rules for arranging web pages and interface components so related items stay together, alignment is clear, and content remains usable at different screen sizes.

In plain words
What is it for?
Use it when structuring pages, grouping content, aligning controls, choosing what collapses on mobile, or reviewing responsive frontend layouts.
Why use it?
It helps prevent confusing hierarchy, cramped spacing, broken layouts, and controls that become difficult to use on small screens or in right-to-left languages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the sonu plugin — 22 skills, 2 commands shipped together

Good fit Use it when structuring pages, grouping content, aligning controls, choosing what collapses on mobile, or reviewing responsive frontend layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prabhdeepsingh/claude-plugins/layout
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 PrabhdeepSingh/claude-plugins --skill layout
Clone the repo
git clone --depth 1 https://github.com/PrabhdeepSingh/claude-plugins

Made for: Claude Code.

Or install sonu, the plugin that ships this one along with the rest of its 22 skills, 2 commands.

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 layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/layout/github.svg)](https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/layout)
Your own site
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/layout"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/layout/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 layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/layout"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,161 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.00071 $0.01161
Opus 5.5 $0.00028 $0.00464
Sonnet 5.5 $0.00014 $0.00232
Haiku 4.5 $0.00007 $0.00116

Measured 20d ago against content hash 45a959de495a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

layout 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 20d 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.

sonu/skills/layout/SKILL.md · 48 lines

How it starts

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

Layout that communicates structure

The project's own instructions win: where its AGENTS.md, CLAUDE.md, design system or established conventions say otherwise, follow them and skip that part of this. Use the project's existing kit and tokens; do not add components, on-screen text or options that the project's design does not call for.

Position, spacing and alignment carry hierarchy before a word is read. Express every change in the project's existing styling system and spacing scale. The numbers below are this skill's defaults for an interface with no established density or spacing system; an existing system that works keeps its own values.

Defaults

Group with space before lines. Negative space is the first grouping tool, a background shape the second, and a separator line the last, kept for dense data where space would cost too much. The gap between groups is at least twice the gap within a group (8px inside, 16px or more between), or the grouping does not read. A separator that is needed is a quiet hairline and is not combined with a large gap.

One spacing step per level. Use one project spacing step for each level of nesting (16px when no scale exists), and keep everything on a small set of shared edges. A stray edge reads as noise even when nobody can name it.

Controls look like controls. An interactive element has a background, a border, an underline or a consistent control zone. Static elements do not borrow control styling, or they collect dead clicks.

Space between targets. Start with 12px between adjacent bordered or filled controls and 24px around borderless text and icon controls, which have nothing else marking where one target ends. Compact tools may use less when hit areas ([[accessibility]]) do not overlap.

Order by importance, in leading and trailing terms. The most important content sits near the top and the leading edge. Use logical properties (margin-inline-start, padding-inline-end, inset-inline-start, text-align: start) for anything direction-dependent, and keep physical left and right for geometry that is physical, such as a device notch. Arrangements that encode progression mirror in right-to-left.

Read the full file on GitHub · 48 lines

Files

What ships with it

2 files 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. 20d ago Changed · -48 lines · -33 tokens per session 45a959de495a
  2. 3mo ago First seen · 96 lines · 104 tokens per session scan A 880e9ddbb6d1

Subscribe to this mod's changes

layout is a skill published in the GitHub repository PrabhdeepSingh/claude-plugins (4 stars, last pushed 21d ago), licensed MIT. It adds 71 tokens to every session and 1,161 once invoked, about $0.0003 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-08-31.

Related

layout compared with skills from other repositories

layout next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
layoutPrabhdeepSingh/claude-pluginsSkill421d agoMITA71Claude Code
svg-masterylukaskellerstein/claude-my-marketplaceSkill313d agononeA276Claude Code
frontend-aestheticslukaskellerstein/claude-my-marketplaceSkill313d agononeA122Claude Code
animation-systemlukaskellerstein/claude-my-marketplaceSkill313d agononeA78Claude Code
variationlukaskellerstein/claude-my-marketplaceSkill313d agononeA77Claude Code
top-designwondelai/skillsSkill2.8ktodayMITA113Claude Code, Codex
web-typographywondelai/skillsSkill2.8ktodayMITA128Claude Code, Codex