canon-responsive

canon-responsive is a skill for Claude Code, Codex from Dragoon0x/canon. It costs 61 tokens per session (2,273 once invoked), scanned A, original, MIT.

A guide for making interfaces adapt to phones, tablets, laptops, and large screens. It covers mobile-first CSS, breakpoints, fluid text, and container queries, which let components respond to their available space.

In plain words
What is it for?
Use it to design or review responsive layouts, mobile behavior, tablet and desktop breakpoints, fluid typography, and container-based components.
Why use it?
It helps prevent layouts from breaking when the screen or container changes size. It provides rules for choosing breakpoints, widths, spacing, and responsive text.

Skill for Claude CodeCodex

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

Good fit Use it to design or review responsive layouts, mobile behavior, tablet and desktop breakpoints, fluid typography, and container-based components.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dragoon0x/canon/canon-responsive"><img src="https://agentmods.dev/badge/skills/dragoon0x/canon/canon-responsive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,273 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.00061 $0.02273
Opus 5.5 $0.00024 $0.00909
Sonnet 5.5 $0.00012 $0.00455
Haiku 4.5 $0.00006 $0.00227

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

Security

Grade A, and why

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

source/skills/canon-responsive/SKILL.md · 261 lines

How it starts

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

CANON · Responsive Design

Mobile-first is non-negotiable. Container queries beat media queries for component-level responsiveness. Fluid type beats stepped breakpoints for headings.

Quantified Rules

Breakpoints

/* Mobile-first: base styles target the smallest screen */
/* Default: < 640px */

@media (min-width: 640px)  { /* sm — large phone, small tablet */ }
@media (min-width: 768px)  { /* md — tablet portrait */ }
@media (min-width: 1024px) { /* lg — tablet landscape, small laptop */ }
@media (min-width: 1280px) { /* xl — laptop */ }
@media (min-width: 1536px) { /* 2xl — large desktop */ }

These match Tailwind defaults and align with common device widths. Don't invent breakpoints unless the design demands it.

Use min-width, not max-width. Mobile-first means base styles work everywhere, breakpoints add complexity at larger sizes.

Container Widths

Container Mobile (<640) Tablet (768) Desktop (1280+)
Page horizontal padding 16–24px 32–48px 48–80px
Prose max-width 100% 65ch 65ch
Marketing max-width 100% 100% 1200–1280px
App max-width 100% 100% 1440–1600px

Fluid Type

Use clamp() for headings that scale smoothly between mobile and desktop:

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
  /*           min,    preferred,    max */
}
Heading Fluid range
H1 (marketing) clamp(2rem, 5vw + 1rem, 4.5rem) (32–72px)
H1 (app) clamp(1.75rem, 3vw + 0.5rem, 2.25rem) (28–36px)
H2 clamp(1.5rem, 3vw + 0.5rem, 2.25rem) (24–36px)
H3 clamp(1.25rem, 2vw + 0.5rem, 1.75rem) (20–28px)
Body 16px (don't scale body)

Rule: scale headings, not body text. Body stays 16px across all sizes for reading consistency.

Container Queries (preferred over media for components)

.card-grid {
  container-type: inline-size;
}

.card {
  /* default: 1 column */
  display: block;
}

@container (min-width: 600px) {
  .card {
    display: grid;
    grid-template-columns: 200px 1fr;
  }
}

Read the full file on GitHub · 261 lines

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 · 261 lines · 61 tokens per session scan A c96012e73bf3

Subscribe to this mod's changes

canon-responsive is a skill published in the GitHub repository Dragoon0x/canon (6 stars, last pushed 6mo ago), licensed MIT. It adds 61 tokens to every session and 2,273 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

canon-responsive compared with skills from other repositories

canon-responsive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canon-responsiveDragoon0x/canonSkill66mo agoMITA61Claude Code, Codex
accessibilityericrisco/rsc-harnessSkill5032d agoMITA86Claude Code, Codex
accessibility-auditNickCrew/Claude-CortexSkill664mo agoMITA31Claude Code, Codex
swiftui-layout-componentsdpearson2699/swift-ios-skillsSkill1.3k3mo agononeA101Claude Code
color-contrast-auditorcuriositech/windags-skillsSkill186d agononeA117Claude Code
accessibilitydiegosouzapw/awesome-omni-skillsSkill1704mo agoMITC119Claude Code, Codex
lagannOldiiik/Design-LagannSkill218d agononeA0Claude Code, Codex