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 jerseycheese/agent-skills --skill ds-guardgit clone --depth 1 https://github.com/jerseycheese/agent-skillsWrote 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/jerseycheese/agent-skills/ds-guard)<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/ds-guard"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/ds-guard/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/jerseycheese/agent-skills/ds-guard"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/ds-guard.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.00076 | $0.01935 |
| Opus 5.5 | $0.00030 | $0.00774 |
| Sonnet 5.5 | $0.00015 | $0.00387 |
| Haiku 4.5 | $0.00008 | $0.00194 |
Grade A, and why
ds-guard 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 9d 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to invoke (auto-trigger)
Invoke this skill automatically whenever:
- Any
.cssfile is edited - A
.tsx/.jsxfile is edited and the diff containsclassName,style=, or CSS custom properties - A new component is created
- A new CSS class is introduced
Do NOT wait for the user to ask. Run as part of the normal post-edit flow for any styling change.
The trigger depends on this description matching. To make the reminder deterministic, you can add your own PostToolUse hook in settings.json; this repo does not ship one. The hook has to print JSON with hookSpecificOutput.additionalContext: plain text on stdout only shows in the transcript view and never reaches the model. It fires after every Edit, Write, or MultiEdit, not just styling edits, so the reminder still leaves it to the model to decide whether the edit touched styling. Minimal example:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "echo '{\"hookSpecificOutput\": {\"hookEventName\": \"PostToolUse\", \"additionalContext\": \"If this edit touched styling (.css, className, style=), run the ds-guard skill.\"}}'"
}
]
}
]
}
}
Effort gating: at high/xhigh/max run the full audit against the token inventory and showcase (Steps 1+); at lower effort a quick spot-check of the diff's hardcoded values is enough.
DS Guard — Design System Enforcement
Purpose
Audit a diff or set of files to ensure every styling decision goes through the project's design system token layer. Catch violations before they land.
Step 1 — Discover the token inventory
Find the project's token source files:
- Look for
src/lib/theme/themes/*.css,tokens.css,design-tokens.*, or similar - Extract all defined
--*custom property names - Note the token namespaces in use (e.g.
--color-*,--space-*,--font-*,--radius-*)
If no token files are found, ask the user where the design system is defined before proceeding.
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.
- 9d ago Changed · +20 lines scan B → A 880a56022ce6
- 21d ago Changed · -1 lines · -35 tokens per session bbaaf98a09c4
- 2mo ago First seen · 116 lines · 111 tokens per session scan B 55d93f18c693
ds-guard is a skill published in the GitHub repository jerseycheese/agent-skills (4 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 1,935 once invoked, about $0.0003 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.
ds-guard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ds-guardjerseycheese/agent-skills | Skill | 4 | yesterday | MIT | A | 76 | Claude Code |
| omh-frontendrlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 76 | Claude Code, Codex |
| omh-visual-qarlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 70 | Claude Code, Codex |
| design-craftWrongStack/WrongStack | Skill | 404 | yesterday | MIT | A | 98 | Claude Code |
| design-critiqueWrongStack/WrongStack | Skill | 404 | yesterday | MIT | A | 95 | Claude Code, Codex |
| color-palette-generatorAlpacaLabsLLC/skills-for-architects | Skill | 402 | 3d ago | MIT | A | 41 | Claude Code |
| design-systemjuspay/xyne-spaces | Skill | 826 | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |