loomkin: Skill for Claude Code

.agents/skills/modern-css/SKILL.md

modern-css is a skill for Claude Code, Codex from pass-agent/loomkin. It costs 61 tokens per session (4,135 once invoked), scanned A, original, MIT.

A reference for writing modern CSS, the language that controls how web pages look and adapt to different screen sizes. It covers newer layout, color, and animation techniques.

In plain words
What is it for?
Use it when starting CSS work, adding features such as container queries or view transitions, or updating older styles.
Why use it?
It helps avoid outdated or fragile styling approaches when building or refactoring a web interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is pass-agent/loomkin's own configuration. It tells Claude Code and Codex how to work on loomkin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything loomkin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pass-agent/loomkin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pass-agent/loomkin/main/.agents/skills/modern-css/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pass-agent/loomkin

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 modern-css

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pass-agent/loomkin/modern-css"><img src="https://agentmods.dev/badge/skills/pass-agent/loomkin/modern-css.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 4,135 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.04135
Opus 5.5 $0.00024 $0.01654
Sonnet 5.5 $0.00012 $0.00827
Haiku 4.5 $0.00006 $0.00413

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

Security

Grade A, and why

modern-css 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.

.agents/skills/modern-css/SKILL.md · 757 lines

How it starts

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

Modern CSS

This skill provides a reference for writing modern, robust, and efficient CSS.


Layout & Responsive Design

Container Queries

.card {
  container: --my-card / inline-size;
}

@container --my-card (width < 40ch) {
  /* Component-based responsive design */
}

@container (20ch < width < 50ch) {
  /* Range syntax */
}

Container units: cqi, cqb, cqw, cqh - size relative to container dimensions

Anchored container queries: Style positioned elements based on anchor fallback state

.tooltip {
  container-type: anchored;
}

@container anchored(top) {
  /* Styles when positioned at top */
}

Media Query Range Syntax

@media (width <= 1024px) { }
@media (360px < width < 1024px) { }

Grid Enhancements

  • Subgrid: Inherit parent grid lines for nested layouts
  • Masonry: display: grid-lanes for Pinterest-style layouts with logical tab order. (Previously proposed as grid-template-rows: masonry).

Color & Theming

Color Scheme & Light-Dark Function

:root {
  color-scheme: light dark;
  --surface-1: light-dark(white, #222);
  --text-1: light-dark(#222, #fff);
}

Modern Color Spaces

/* OKLCH: uniform brightness, P3+ colors */
.vibrant {
  background: oklch(72% 75% 330);
}

/* Display-P3 for HDR displays */
@media (dynamic-range: high) {
  .neon {
    --neon-red: color(display-p3 1 0 0);
  }
}

/* Better gradients with in oklch */
.gradient {
  background: linear-gradient(
    to right in oklch,
    color(display-p3 1 0 .5),
    color(display-p3 0 1 1)
  );
}

Color Manipulation

/* color-mix() */
.lighten {
  background: color-mix(in oklab, var(--brand), white);
}

/* Relative color syntax */
.lighter {
  background: oklch(from blue calc(l + .25) c h);
  background: oklch(from blue 75% c h); /* Set to specific lightness */
}

.semi-transparent {
  background: oklch(from var(--color) l c h / 50%);
}

.complementary {
  background: hsl(from blue calc(h + 180) s l);
}

Read the full file on GitHub · 757 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 · 757 lines · 61 tokens per session scan A 3cb58ffcc388

Subscribe to this mod's changes

modern-css is a skill published in the GitHub repository pass-agent/loomkin (182 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session and 4,135 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-30.

Related

modern-css compared with skills from other repositories

modern-css next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modern-csspass-agent/loomkinSkill1825mo agoMITA61Claude Code, Codex
elixirericrisco/rsc-harnessSkill5032d agoMITA72Claude Code, Codex
phoenixericrisco/rsc-harnessSkill5032d agoMITB89Claude Code, Codex
elixir-webelixir-vibe/pi-elixirSkill1161mo agononeA62Claude Code, Codex
pretextNousResearch/hermes-agentSkill261ktodayMITA13Claude Code, Codex
scrollcraftNousResearch/hermes-agentSkill261ktodayMITA13Claude Code, Codex
inspecting-hermes-desktop-domNousResearch/hermes-agentSkill261ktodayMITA20Claude Code, Codex