writing-css

writing-css is a skill for Claude Code from AleksandarBisevac/claude-plugins. It costs 167 tokens per session (1,912 once invoked), scanned A, original, MIT.

A guide to writing CSS in this repository, including its shared design variables, component naming, spacing rules, typography, and theme checks. CSS is the language that controls a webpage's visual appearance.

In plain words
What is it for?
It is for adding or changing styles in the report and panel interfaces, reusing design tokens for colours and spacing, naming components consistently, and using supported CSS features.
Why use it?
It prevents styles from drifting apart between the two interfaces and helps changes pass the repository's visual and theme checks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It is for adding or changing styles in the report and panel interfaces, reusing design tokens for colours and spacing, naming components consistently, and using supported CSS features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aleksandarbisevac/claude-plugins/writing-css
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 AleksandarBisevac/claude-plugins --skill writing-css
Clone the repo
git clone --depth 1 https://github.com/AleksandarBisevac/claude-plugins

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aleksandarbisevac/claude-plugins/writing-css"><img src="https://agentmods.dev/badge/skills/aleksandarbisevac/claude-plugins/writing-css.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,912 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.00167 $0.01912
Opus 5.5 $0.00067 $0.00765
Sonnet 5.5 $0.00033 $0.00382
Haiku 4.5 $0.00017 $0.00191

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

Security

Grade A, and why

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

.claude/skills/writing-css/SKILL.md · 114 lines

How it starts

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

Writing CSS here

Two stylesheets, ~2,000 lines, concatenated by Python after a generated token layer into one inline <style>. Neither is valid alone — both reference custom properties they do not declare, and panel.css on its own fails the color-scheme check. Assembly, splitting and the byte pins belong to refactoring-the-assembled-ui; this is how you write a rule.

Tokens are the language

_ui_theme.py declares 78 custom properties on :root (58 of them user-themable) and prepends them to both sheets. The discipline is already strong — panel.css uses var(--…) 605 times against 13 raw hex literals, report.css 429 against 8 — and it is the thing to protect.

  • Never write a raw colour. If a role does not exist, add the token; do not inline a hex.
  • The spacing migration is half done, so finish it rather than widening it. --sp-0 … --sp-7 exist and are used throughout the usage sections, yet .5rem, .25rem, .75rem, 1rem and 1.5rem are still written raw 204 times elsewhere — and each of those five has an exact token. Use the token.
  • Type has a four-step scale and the sheets contain about 23 distinct font-size literals. Pick a step; add one if the design genuinely needs it.
  • A metric both surfaces use is a token, or it will drift. It already has: .shell is max-width:92rem in the panel and 96rem in the report, .bud's grid disagrees in four places, the nav breakpoint is 70rem against 72rem, .tri is .9em against 1em.
  • Adding a token has obligations. compile_theme(DEFAULT_THEME) == TOKEN_CSS is pinned byte-for-byte, so no comment inside TOKEN_CSS may contain a brace, and a new token must be placed in a theme group or the neutral list or the round-trip case fails.

Modern syntax that is safe here

Check the feature before using it — grep '^| container-queries ' in refactoring-the-assembled-ui/references/baseline-snapshot.md. As of the 2026-07-08 snapshot:

  • Widely available, use freely: cascade layers (@layer), container queries (@container), :has(), nesting, :where()/:is().
  • Newly available, needs @supports plus a fallback: light-dark(), view transitions.
  • Limited, do not use: anchor positioning.

Read the full file on GitHub · 114 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. 1mo ago Changed afe7f2719417
  2. 1mo ago First seen · 114 lines · 167 tokens per session scan A e76070101c23

Subscribe to this mod's changes

writing-css is a skill published in the GitHub repository AleksandarBisevac/claude-plugins (4 stars, last pushed yesterday), licensed MIT. It adds 167 tokens to every session and 1,912 once invoked, about $0.0007 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

prism-audit

Frontend audit — bundle size, dependencies, accessibility, performance, component quality. Use when asked for "frontend review", "performance audit", "accessibility check", or "bundle size".

tonone-ai/tonone · 42 tokens

touch-audit

Mobile audit — app size, startup time, crash reporting, store compliance, accessibility, offline behavior. Use when asked for "mobile review", "app store readiness", "mobile performance", or "crash analysis".

tonone-ai/tonone · 47 tokens

forge-audit

Audit existing infrastructure for security issues, waste, and misconfigurations. Use when asked to "audit my infra", "check cloud setup", "infra review", "are we wasting money", "security check on infra", or "review my terraform".

tonone-ai/tonone · 54 tokens

lens-audit

Review existing analytics — find all dashboards and reports, check who uses them, whether metrics are defined, and whether they drive decisions. Recommend what to keep, kill, or add. Use when asked "are our dashboards useful", "analytics review", or "metrics audit".

tonone-ai/tonone · 58 tokens

warden-audit

Full security audit — secrets, dependencies, IAM, auth, injection, XSS, HTTPS, rate limiting, public storage. Use when asked for "security audit", "check for vulnerabilities", "security review", or "are we secure".

tonone-ai/tonone · 52 tokens

relay-audit

Audit an existing CI/CD pipeline for slowness, security issues, and reliability gaps. Use when asked to "audit pipeline", "why is CI slow", "pipeline review", or "deployment review".

tonone-ai/tonone · 45 tokens