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.
npx skills add khalilbenaz/claude-skills-collection --skill css-layout-solvergit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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.
[](https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/css-layout-solver)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/css-layout-solver"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/css-layout-solver/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.
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/css-layout-solver"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/css-layout-solver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.02099 |
| Opus 5.5 | $0.00036 | $0.00840 |
| Sonnet 5.5 | $0.00018 | $0.00420 |
| Haiku 4.5 | $0.00009 | $0.00210 |
Grade A, and why
css-layout-solver 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.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CSS Layout Solver
Étape 1 — Diagnostiquer avant de coder
Avant toute solution, collecter :
- Ce que l'utilisateur voit : screenshot ou description du bug (débordement, mauvais alignement, collapse, etc.)
- Ce qu'il attend : maquette ou description du résultat cible
- Contexte DOM : nesting, nombre d'enfants, largeur/hauteur connue ou dynamique
Questions de triage rapide :
- Le problème est-il unidimensionnel (ligne OU colonne) → Flexbox
- Le problème est-il bidimensionnel (lignes ET colonnes) → Grid
- Le composant doit-il réagir à sa propre taille (pas au viewport) → Container Queries
- Y a-t-il un overflow ou un z-index suspect → Diagnostic stacking context
Étape 2 — Critères de choix de technique
| Besoin | Technique | Éviter |
|---|---|---|
| Centrer un élément (1D) | display:flex; align-items:center; justify-content:center |
margin:auto seul sans contexte flex/grid |
| Grille fixe (colonnes répétées) | grid-template-columns: repeat(3, 1fr) |
float + clearfix |
| Colonnes de taille variable | grid-template-columns: auto 1fr auto |
display:table-cell |
| Layout responsive sans media query | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) |
media queries manuelles |
| Taille fluide entre deux bornes | clamp(1rem, 2.5vw, 2rem) |
valeurs px fixes |
| Composant réutilisable responsive | @container |
media query sur viewport |
| Sticky header/footer | position:sticky; top:0 |
position:fixed (sort du flux) |
Étape 3 — Snippets copiables par cas fréquent
Centrage universel (Flex)
.wrapper {
display: flex;
align-items: center; /* axe transversal */
justify-content: center; /* axe principal */
min-height: 100dvh; /* dvh : tient compte des barres mobiles */
}
Grille responsive sans media query
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
gap: 1.5rem;
}
/* min(100%, 280px) évite l'overflow sur petits écrans */
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.
- 2mo ago First seen · 217 lines · 89 tokens per session scan A 174ae42e29e3
css-layout-solver is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (27 stars, last pushed 3mo ago), licensed MIT. It adds 89 tokens to every session and 2,099 once invoked, about $0.0004 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-09-03.
css-layout-solver compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| css-layout-solverkhalilbenaz/claude-skills-collection | Skill | 27 | 3mo ago | MIT | A | 89 | Claude Code, Codex |
| design-engineeringsoftspark/ai-toolkit | Skill | 180 | 12d ago | Apache-2.0 | A | 43 | Claude Code |
| frontend-designthatrebeccarae/claude-marketing | Skill | 225 | 6mo ago | MIT | A | 58 | Claude Code, Codex |
| i18n-localizationmedy-gribkov/arcana | Skill | 1 | 4mo ago | Apache-2.0 | A | 35 | Claude Code, Codex |
| accessibility-checkerinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 34 | Claude Code, Codex |
| color-paletteinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 26 | Claude Code, Codex |
| dark-mode-converterinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 26 | Claude Code, Codex |