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 guyoung/boxagnts --skill css-refactor-advisorgit clone --depth 1 https://github.com/guyoung/boxagntsWrote 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/guyoung/boxagnts/css-refactor-advisor)<a href="https://agentmods.dev/skills/guyoung/boxagnts/css-refactor-advisor"><img src="https://agentmods.dev/badge/skills/guyoung/boxagnts/css-refactor-advisor/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/guyoung/boxagnts/css-refactor-advisor"><img src="https://agentmods.dev/badge/skills/guyoung/boxagnts/css-refactor-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00031 | $0.02632 |
| Opus 5.5 | $0.00012 | $0.01053 |
| Sonnet 5.5 | $0.00006 | $0.00526 |
| Haiku 4.5 | $0.00003 | $0.00263 |
Grade A, and why
css-refactor-advisor 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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GUIDANCE SKILL — INSTRUCTIONS ONLY CSS/SCSS architecture analysis focuses on identifying redundancy, specificity conflicts, responsive design fragmentation, maintainability gaps, and performance bottlenecks in style codebases. This skill provides patterns, conventions, and constraints. It contains no executable code — apply the guidance to your context, adapting specifics as needed per C2-B.
CRITICAL: Guidance Principles
The instructions below define the REQUIRED APPROACH — you MUST follow the prescribed patterns, conventions, and constraints.
Mandatory adherence:
- Follow all stated conventions and naming patterns
- Respect all constraints and boundaries
- Apply the recommended patterns to your implementation
- Do NOT deviate from prescribed architectural decisions
- Never modify any files; the analysis is strictly read-only
- Every complex issue MUST include a before/after code snippet demonstrating the suggested refactor
Correct Application Pattern
- Read and absorb all guidance sections below
- Map the prescribed patterns to your current context
- Implement following the stated conventions — adapt specifics to fit, but preserve the intent
- Validate against the C3 checklist at the end
Argument Details
| Arg | Type | Required | Default | Description |
|---|---|---|---|---|
| target | string | Yes | — | Path to the style file or directory to analyze |
Design Patterns & Conventions
Architectural Pattern
Multi-dimensional style audit: every analysis MUST examine the target styles through all five dimensions — Redundancy & Duplication, Specificity Issues, Responsive Design, Maintainability, and Performance. Each dimension is independently assessed, and findings are merged into a single severity-ranked report with concrete refactoring suggestions.
Naming Conventions
Findings are categorized using five standard labels that correspond to the analysis dimensions:
| Category | Scope |
|---|---|
| Redundancy | Repeated style blocks, mergeable selectors, unused styles |
| Specificity | Overly specific selectors, !important abuse, selector wars |
| Responsive | Media query fragmentation, breakpoint inconsistencies, layout breakage |
| Maintainability | Non-semantic class names, magic numbers, missing variables, BEM violations |
| Performance | Expensive properties in animations, overly complex selectors, repaint/reflow risks |
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 · 192 lines · 31 tokens per session scan A 2468ef820f80
css-refactor-advisor is a skill published in the GitHub repository guyoung/boxagnts (11 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 2,632 once invoked, about $0.0001 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.
css-refactor-advisor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| css-refactor-advisorguyoung/boxagnts | Skill | 11 | 3mo ago | MIT | A | 31 | Claude Code |
| pull-requestpierreb-devkit/Vue | Skill | 20 | yesterday | none | A | 114 | Claude Code |
| uipierreb-devkit/Vue | Skill | 20 | yesterday | none | A | 80 | Claude Code |
| open-code-reviewalibaba/open-code-review | Skill | 50k | yesterday | Apache-2.0 | A | 98 | Cursor |
| learn-from-sagekirodotdev/KiroCrew | Skill | 4.8k | yesterday | Apache-2.0 | A | 56 | Claude Code, Codex |
| reviewvercel/eve | Skill | 5.8k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| nightly-audit-engineer-opsmakecindy/cindy | Skill | 9.3k | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |