responsive-layout

responsive-layout is a skill for Claude Code from eugenelim/agent-ready-repo. It costs 80 tokens per session (2,493 once invoked), scanned A, original, Apache-2.0.

A frontend layout skill for building interfaces that adapt to different screen and container sizes. It uses CSS layout tools and fluid text and spacing so layouts can respond without JavaScript.

In plain words
What is it for?
Use it to build responsive page structures, fix breakpoint problems, and design components that adapt to variable-width containers.
Why use it?
It helps prevent pages and shared components from breaking at particular widths or needing separate fixes for every screen size.

Skill for Claude Code

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

Part of the frontend-engineering plugin — 9 skills, 1 agent shipped together

Good fit Use it to build responsive page structures, fix breakpoint problems, and design components that adapt to variable-width containers.

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

Made for: Claude Code.

Or install frontend-engineering, the plugin that ships this one along with the rest of its 9 skills, 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 responsive-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/eugenelim/agent-ready-repo/responsive-layout/github.svg)](https://agentmods.dev/skills/eugenelim/agent-ready-repo/responsive-layout)
Your own site
<a href="https://agentmods.dev/skills/eugenelim/agent-ready-repo/responsive-layout"><img src="https://agentmods.dev/badge/skills/eugenelim/agent-ready-repo/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/eugenelim/agent-ready-repo/responsive-layout"><img src="https://agentmods.dev/badge/skills/eugenelim/agent-ready-repo/responsive-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,493 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 235
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00080 $0.02493
Opus 5 $0.00040 $0.01247
Sonnet 5 $0.00016 $0.00499
Haiku 4.5 $0.00008 $0.00249

Measured 4d ago against content hash a08efa7d51c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 4d 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.

packs/frontend-engineering/.apm/skills/responsive-layout/SKILL.md · 263 lines

How it starts

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

Skill: responsive-layout

Load this skill when the primary task is designing or debugging a layout that must work across breakpoints. Do not load it for routine margin or padding adjustments on an already-responsive surface. Load responsive-layout when:

  • Building the layout structure for a new page or section from scratch
  • Debugging a layout that breaks at a specific viewport width
  • Designing a shared component that must adapt to variable-width containers
  • Evaluating whether a layout approach is correct before implementation

Layout primitive selection

CSS Grid: for two-dimensional layouts and page-level structure. Use when elements need to be positioned on both a row axis and a column axis, or when the layout requires elements to align with other elements across rows/columns.

Flexbox: for one-dimensional alignment and component-level distribution. Use when elements need to be distributed along a single axis (row or column), with flexible sizing and alignment.

The mixing rule: never use Grid and Flexbox to solve the same axis in the same container. Use Grid for the page layout; use Flexbox inside a Grid cell for component-level distribution within that cell.

Common mistakes:

  • Using Flexbox for a two-column layout with a sidebar — Grid is the right tool; Flexbox cannot express "sidebar is fixed-width, content fills the rest" without a min-width: 0 hack on the content column.
  • Using Grid for a single-axis distribution of buttons in a toolbar — Flexbox is the right tool; Grid's two-dimensional power is wasted here.

Container queries vs. media queries

Use container queries when a component must adapt to the width of its own container rather than the viewport. This is the correct tool for shared components that appear in multiple layout contexts (e.g., a card that appears in a sidebar at 320px and in a main content area at 600px).

/* Define the containment context on the parent */
.card-container {
  container-type: inline-size;
  container-name: card;
}

/* Query the container, not the viewport */
@container card (min-width: 500px) {
  .card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
}

Read the full file on GitHub · 263 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. 4d ago Changed · +40 tokens per session a08efa7d51c9
  2. 6d ago First seen · 263 lines · 40 tokens per session scan A 63cc8cbe5912

Subscribe to this mod's changes

responsive-layout is a skill published in the GitHub repository eugenelim/agent-ready-repo (20 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 2,493 once invoked, about $0.0004 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-09-03.