token-conformance-review

token-conformance-review is a skill for Codex from Eliyce/paqad-ai. It costs 39 tokens per session (1,398 once invoked), scanned A, original, MIT.

A UI code checker that finds design values written directly in components instead of using the project's declared design tokens. Design tokens are named settings for values such as colors, spacing, fonts, and shadows.

In plain words
What is it for?
It helps review UI source for inline colors, sizes, font choices, shadows, and other values that should come from shared settings.
Why use it?
It exposes places where interface code can drift away from the design system, making visual changes harder to apply consistently.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps review UI source for inline colors, sizes, font choices, shadows, and other values that should come from shared settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/token-conformance-review
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 Eliyce/paqad-ai --skill token-conformance-review
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: Codex.

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 token-conformance-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/token-conformance-review/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/token-conformance-review)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/token-conformance-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/token-conformance-review/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 token-conformance-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/token-conformance-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/token-conformance-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,398 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.00039 $0.01398
Opus 5 $0.00019 $0.00699
Sonnet 5 $0.00008 $0.00280
Haiku 4.5 $0.00004 $0.00140

Measured 8d ago against content hash d6c39c024d34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

token-conformance-review 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 8d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/lint-findings.sh, scripts/match-leak-to-token.sh, scripts/normalize-color.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

runtime/capabilities/coding/skills/token-conformance-review/SKILL.md · 89 lines

How it starts

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

What It Does

Scans UI source for hard-coded design values that should resolve back to a declared token: hex literals, raw px/rem/em, unregistered color names, ad-hoc font stacks, magic shadow values. The presence of color.primary.500 in tokens.md while a component inlines #1a73e8 is a finding, not a stylistic preference.

token findings default to high severity — this is the load-bearing check for "is the design system actually being followed."

Use This When

Use this for every design-test run. It is one of the two primary "is the contract followed" skills, alongside component-conformance-review.

Inputs

  • Read docs/instructions/design-system/tokens.md to know what's declared.
  • Read the contract-summary from design-system-coverage (lists every declared token name).
  • Read references/token-leak-checklist.md before scanning.
  • Read tailwind.config.* if present — Tailwind theme entries count as tokens too.

Procedure

The mechanics are deterministic — drive them with the scripts in scripts/ rather than re-deriving them on every finding. Reserve LLM reasoning for the "is this leak resolvable to which token" judgment, not for parsing files.

  1. Run scripts/parse-tokens.sh <tokens.md> once and persist the TSV (<name>\t<value>\t<namespace>). This is the declared truth.
  2. Run scripts/scan-tokens.sh to grep the source roots for hard-coded value patterns. Each hit is an investigation candidate.
  3. For each leak hit, run scripts/match-leak-to-token.sh --leak <value> --tokens <parsed.tsv> [--namespace <ns>]. It uses scripts/normalize-color.sh internally so #1A73E8, #1a73e8, and rgb(26,115,232) all resolve to the same canonical form. The output is one of:
    • match\t<token-name> → emit a token finding, high severity. Required action: writes itself: replace <leak> at <file>:<line> with <token-name> from tokens.md.
    • ambiguous\t<n1>,<n2>... → still a finding; pick the more specific token (most dotted segments) and explain the alternatives in the finding body.
    • no-match → emit a parallel documentation-drift finding pointing at the gap in the contract; the token leak finding becomes medium until the gap is filled.
  4. If the hit lands inside a known exemption path (**/*.test.*, **/*.stories.*, **/__tests__/**, src/design-tokens/**, tailwind.config.*) the scanner already drops it — never re-check those manually.

Read the full file on GitHub · 89 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 89 lines · 39 tokens per session scan A d6c39c024d34

Subscribe to this mod's changes

token-conformance-review is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,398 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

make-interfaces-feel-better

Use when building or reviewing UI polish: typography, hit areas, nested radius, optical alignment, shadows, media outlines, micro-interactions, and animation performance.

Insajin/autopus-adk · 40 tokens

frontend-skill

Use when the task asks for a visually strong landing page, website, app, prototype, demo, or game UI. This skill enforces restrained composition, image-led hierarchy, cohesive content structure, and tasteful motion while avoiding generic cards, weak branding, and UI clutter.

Insajin/autopus-adk · 58 tokens

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Use whenever the task produces or modifies anything a user will see rendered — websites, landing pages, web apps, dashboards, React/HTML/Vue components, artifacts with visual output, style overhauls, or "make this…

XiaomiMiMo/MiMo-Code · 111 tokens

frontend-design

Produce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.

Hmbown/CodeWhale · 21 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

accessibility-a11y

Semantic HTML, keyboard navigation, focus states, ARIA labels, skip links, and WCAG contrast requirements. Use when ensuring accessibility compliance, implementing keyboard navigation, or adding screen reader support.

BlackBeltTechnology/pi-agent-dashboard · 44 tokens