responsive-layout

responsive-layout is a skill for Claude Code, Codex from m-binimran/dev-pack. It costs 40 tokens per session (360 once invoked), scanned A, original, MIT.

A guide for building layouts that work from small phones upward, starting at 375 pixels wide. It covers flexible text and spacing, CSS grid, container queries, and touch-friendly controls.

In plain words
What is it for?
Use it when creating or fixing responsive pages and components, including mobile navigation, grid or bento layouts, readable sizing, image loading, and 375-pixel checks.
Why use it?
It helps prevent desktop layouts from overflowing, becoming hard to read, or relying on interactions that do not work well on touch screens.

Skill for Claude CodeCodex

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

Good fit Use it when creating or fixing responsive pages and components, including mobile navigation, grid or bento layouts, readable sizing, image loading, and 375-pixel checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/m-binimran/dev-pack/responsive-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 m-binimran/dev-pack --skill responsive-layout
Clone the repo
git clone --depth 1 https://github.com/m-binimran/dev-pack

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 responsive-layout

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/m-binimran/dev-pack/responsive-layout"><img src="https://agentmods.dev/badge/skills/m-binimran/dev-pack/responsive-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 360 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.00040 $0.00360
Opus 5.5 $0.00016 $0.00144
Sonnet 5.5 $0.00008 $0.00072
Haiku 4.5 $0.00004 $0.00036

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

Security

Grade A, and why

responsive-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 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.

skills/responsive-layout/SKILL.md · 32 lines

What it actually says

responsive-layout

Mobile-first, fluid, and composed — not a desktop layout crammed onto a phone.

Process

  1. Design at 375px first, then scale up. Every layout must work at 375px width.
  2. Fluid type & spacing: clamp() for headings and section padding so it scales smoothly between breakpoints instead of jumping.
  3. Use the right query: media queries for page layout; container queries for components that appear in multiple widths (cards, sidebars).
  4. Composition with intent: CSS grid for structure; break the grid (bento/editorial/overlap) where the design direction calls for it — don't default to uniform columns.
  5. Touch targets ≥44px, no hover-only interactions on touch, test the mobile nav (Sheet/Drawer).

Checklist

  • No horizontal scroll at 375px.
  • Text never below ~14px on mobile; line length readable on desktop (~60–75ch).
  • Images sized/next/image to avoid CLS.
  • Tap targets large enough; nav works on touch.

Output

  • The responsive layout, breakpoints used, and confirmation it was checked at 375px (or flagged unverified).

Guardrails

  • Don't claim "responsive" from code alone — view it at 375px (Playwright/preview) or say it's unverified.
  • Avoid fixed heights that clip content when text wraps on small screens.
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 · 32 lines · 40 tokens per session scan A 900b00b17fa6

Subscribe to this mod's changes

responsive-layout is a skill published in the GitHub repository m-binimran/dev-pack (2 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 360 once invoked, about $0.0002 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

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens

tailwindcss

Style components with Tailwind CSS v4 and project tokens. Excludes plain CSS, CSS-in-JS, and other utility frameworks.

compozy/compozy · 31 tokens