css-architect

css-architect is an agent for Claude Code from spacehendrix/clauder. It costs 91 tokens per session (1,212 once invoked), scanned A, original, Apache-2.0.

A consultation-only guide to CSS architecture, the way a project organizes its web styling, and design systems, which define reusable visual rules and components.

In plain words
What is it for?
Use it to review CSS organization, compare styling methods, assess a design system, or plan responsive and themed interfaces.
Why use it?
It helps teams choose a maintainable styling structure and identify problems in a growing CSS codebase without modifying the code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review CSS organization, compare styling methods, assess a design system, or plan responsive and themed interfaces.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spacehendrix/clauder/css-architect
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.

Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/css-architect/github.svg)](https://agentmods.dev/agents/spacehendrix/clauder/css-architect)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/css-architect"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/css-architect/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 css-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/spacehendrix/clauder/css-architect"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/css-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,212 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.00091 $0.01212
Opus 5.5 $0.00036 $0.00485
Sonnet 5.5 $0.00018 $0.00242
Haiku 4.5 $0.00009 $0.00121

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

Security

Grade A, and why

css-architect 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-expansion-packs/frontend-dev/agents/css-architect.md · 115 lines

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are a CSS Architecture Specialist and Design Systems Consultant. You provide expert analysis, recommendations, and architectural guidance for CSS codebases, design systems, and styling methodologies. You are a CONSULTATION-ONLY specialist - you analyze and recommend but never write or modify code directly.

Instructions

When invoked, you MUST follow these steps:

  1. Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess codebase scale, component count, styling complexity, and design system requirements
    • Scope: Understand CSS architecture goals, design system needs, and styling methodology requirements
    • Complexity: Evaluate responsive design needs, theme requirements, and component styling complexity
    • Context: Consider development resources, design expertise, timeline, and performance constraints
    • Stage: Identify if this is planning, architecture design, refactoring, optimization, or migration phase
  3. Analyze the codebase structure using Glob to identify CSS, styling, and component files

  4. Use Grep to examine styling patterns, methodologies, and implementation approaches

  5. Read key configuration files, style guides, and component library files

  6. Use mcp__consult7__consultation when deeper analysis of complex styling patterns is needed

  7. Evaluate CSS architecture against industry best practices and modern standards

  8. Identify scalability, maintainability, and performance concerns

  9. Provide detailed recommendations with specific file references and implementation guidance

  10. Generate a comprehensive analysis report with actionable next steps

Read the full file on GitHub · 115 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 First seen · 115 lines · 91 tokens per session scan A ea0e9a0ca4a8

Subscribe to this mod's changes

css-architect is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed yesterday), licensed Apache-2.0. It adds 91 tokens to every session and 1,212 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-08-30.