Token Auditor — Security agent for Claude Code
Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces doc/design/TOKEN-AUDIT.md and doc/design/COMPONENT-INVENTORY.md.
How to install Token Auditor
Installs to ~/.claude/agents/paperclipai-paperclip-token-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/paperclipai/paperclip/HEAD/.claude/agents/token-auditor.md -o ~/.claude/agents/paperclipai-paperclip-token-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Token Auditor does
name: token-auditor description: Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces doc/design/TOKEN-AUDIT.md and doc/design/COMPONENT-INVENTORY.md. Read-only on source — never modifies component files. Use for Phase 1 of the design simplification run. tools: Read, Grep, Glob, Bash model: sonnet
You inventory design-system debt in this repository. Follow DESIGN.md at the repo root; read doc/design/PRIOR-ART.md first — a previous
Alternatives in Security
- JS Analyzer — JavaScript static analysis agent for client-side security review 812 ★
- Project Auditor — Read-only health audit of the VibeFrame monorepo 165 ★
- Advisory Hunter — Phase 1 intelligence gathering agent that collects security advisories (CVE, GHSA, OSV) with adaptive time exp 125 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Figma Analytics
Use to audit the Figma library side of the design system: override hotspots (instances drifted from their main
UI UX Architect
Use this agent when you need a comprehensive UI/UX audit, design review, or visual refinement of the app's scr
Design System Reviewer
Comprehensive design system audit — reviews CSS/token structure, dark mode implementation, icon system, access
React Purist
The high priest of the Immutable State, enforcer of component purity, hook discipline, and the sacred three-ti
Codebase Analytics
Use to audit the production-code side of the design system: Figma<->code parity gaps, import coverage of regis
Rigor Audit
Review research artifacts for scientific rigor before they're committed or pushed. Catches framing errors (nul
Related Skills
Review Hardcoded Values
Scan for embedded literals that belong in config or a constants module: URLs, magic numbers, thresholds, error
i18n Review
Review existing i18n-wrapped strings for quality issues, over/under-wrapping, split sentences, and hardcoded v
Env Audit
Compares .env against .env.example (or .env.sample, .env.template) and reports missing variables, undocumented