css-token-guard
by Plagemes · ★ 8 · updated 15 Oct 2026
Flags hard-coded hex colors and pixel values where your design tokens should be used.
Install
/plugin marketplace add Plagemes/claude-mods/plugin install css-token-guard@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.starttool.call- API calls
$.clock.after$.clock.now$.fs.list$.fs.read$.fs.stat$.mods.hello$.mods.mode$.mods.notify$.mods.publish$.mods.registerTab$.session.cwd$.session.repo$.ui.log$.ui.toast- Can see
Edit|Write calls- Reach
- level 1 of 3 reads filesdrawsother: $.mods.helloother: $.mods.modeother: $.mods.notifyother: $.mods.publishother: $.mods.registerTab
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Plagemes/claude-mods
- Path in repo
mods/css-token-guard- Source commit
e9815cethe exact code the scan read- Author
- @Plagemes
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from Plagemes/claude-mods
csv-peek
Plagemes/claude-mods
/peek shows a CSV or JSONL file's columns, sample rows and inferred types without reading the whole file.
curl-pipe-guard
Plagemes/claude-mods
Blocks piping downloaded scripts straight into a shell.
curl-to-code
Plagemes/claude-mods
/curl2code turns a curl command into fetch, axios, Python requests or Go code.
daily-goal
Plagemes/claude-mods
/daily-goal sets today's goal, keeps it in view above the prompt and asks at day's end if you got there.
daily-spend
Plagemes/claude-mods
Tracks spend per day and week across sessions with a /spend report.
dark-mode-check
Plagemes/claude-mods
Flags colors added without a dark-mode variant in projects that support a dark theme.
data-map
Plagemes/claude-mods
/data-map lists where your code collects, stores and sends personal data — a head start for GDPR.
date-context
Plagemes/claude-mods
Gives Claude the current date, time zone, branch and OS on every prompt.
debug-catcher
Plagemes/claude-mods
Warns when console.log, print, debugger or dbg! statements are left in code.
decision-log
Plagemes/claude-mods
/decide records an Architecture Decision Record in docs/decisions.
dependency-sentinel
Plagemes/claude-mods
Flags typosquatted or brand-new packages before npm, pip or cargo installs them.
deploy-checklist
Plagemes/claude-mods
Shows a pre-deploy checklist (tests, branch, changelog) and asks you to confirm before deploying.
Related mods
Other mods in Toasts, close to this one by stars.