layout-system

layout-system is a skill for Claude Code, Codex from sanky369/vibe-building-skills. It costs 148 tokens per session (1,787 once invoked), scanned A, original, MIT.

A set of instructions for building or fixing responsive web-page layouts, including grids, cards, sidebars, and page structure. It adapts layouts to different screen sizes such as phones and desktops.

In plain words
What is it for?
Use it to create or refactor page shells, grids, component layouts, alignment, responsive behavior, and fixes for overlap or overflow.
Why use it?
It helps resolve pages that break on mobile, have misaligned elements, inconsistent spacing, or poor breakpoint choices. It bases the layout on the content instead of applying a fixed pattern.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or refactor page shells, grids, component layouts, alignment, responsive behavior, and fixes for overlap or overflow.

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

Made for: Claude Code, Codex.

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-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanky369/vibe-building-skills/layout-system"><img src="https://agentmods.dev/badge/skills/sanky369/vibe-building-skills/layout-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,787 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.00148 $0.01787
Opus 5.5 $0.00059 $0.00715
Sonnet 5.5 $0.00030 $0.00357
Haiku 4.5 $0.00015 $0.00179

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

Security

Grade A, and why

layout-system 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 2mo 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.

skills/frontend-design/layout-system/SKILL.md · 112 lines

How it starts

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

Layout System

Produce working, mobile-first layout code for the user's actual screens — a refactored page shell, grid, or component layout — not a CSS tutorial. Governing principle: content determines structure. Choose Grid vs Flexbox by the shape of the content, place breakpoints where the content breaks, and let flexible tracks absorb the rest.

When to use / handoffs

  • Use for page structure, alignment, responsiveness, grids, overlap/overflow bugs, and breakpoint strategy.
  • Spacing values themselves inconsistent across the app (no scale) → establish tokens first via skills/frontend-design/design-foundation.
  • Text hard to read at some widths (line length, fluid type) → skills/frontend-design/typography-system.
  • Layout is fine but the screen feels cluttered → skills/frontend-design/visual-hierarchy-refactoring.

Step 1 — Inspect the codebase

  1. Locate the target. If the user named a screen/component, read it plus its CSS. Otherwise glob the main layout files (**/layout.*, **/App.*, **/*page*, global CSS).
  2. Detect the styling system. Tailwind classes vs CSS Modules vs styled-components — deliver in the same system.
  3. Grep for layout smells and record counts:
    • width:\s*\d+px|w-\[\d+px\] — fixed widths (breakage source #1)
    • position:\s*absolute outside overlays/badges — layout by coordinates
    • float:|margin-top:\s*-|margin-left:\s*- — legacy/negative-margin hacks
    • @media — count distinct breakpoint values; >4 distinct min-widths = breakpoint sprawl
    • overflow-x and 100vw — horizontal-scroll suspects
  4. Read existing breakpoints (Tailwind screens, or media queries) — reuse them unless they're the problem.
  5. Check for spacing tokens — if a scale exists, all new gaps/padding must use it.

Step 2 — Intake

Ask in one batch, only if not inferable: which screen/flow matters most, and the smallest and largest viewports that matter (default: 320px–1440px, content capped ~1200–1280px). Infer density and stack from the code. Don't stall — with a named target and visible code, state assumptions and build.

Read the full file on GitHub · 112 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. 2mo ago First seen · 112 lines · 148 tokens per session scan A 974d03a45d3d

Subscribe to this mod's changes

layout-system is a skill published in the GitHub repository sanky369/vibe-building-skills (31 stars, last pushed 3mo ago), licensed MIT. It adds 148 tokens to every session and 1,787 once invoked, about $0.0006 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-30.

Related

layout-system compared with skills from other repositories

layout-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
layout-systemsanky369/vibe-building-skillsSkill313mo agoMITA148Claude Code, Codex
image-seo-auditindranilbanerjee/digital-marketing-proSkill9278d agoMITA34Claude Code
ui-designAnastasiyaW/codex-claude-code-configSkill214yesterdayMITA97Claude Code, Codex
frontend-designAnastasiyaW/codex-claude-code-configSkill214yesterdayMITA264Claude Code
design-system-architectroedyrustam/vibes-plugSkill121yesterdayMITA43Cursor
tailwind-expertroedyrustam/vibes-plugSkill121yesterdayMITA38Cursor
visual-ui-auditorroedyrustam/vibes-plugSkill121yesterdayMITA51Cursor