Codemod Runner — Design agent for Claude Code
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css.
How to install Codemod Runner
Installs to ~/.claude/agents/paperclipai-paperclip-codemod-runner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/paperclipai/paperclip/HEAD/.claude/agents/codemod-runner.md -o ~/.claude/agents/paperclipai-paperclip-codemod-runner.md Restart Claude Code, or start a new session, for it to be picked up.
What Codemod Runner does
name: codemod-runner description: Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2 of the design simplification run — mechanical refactors only. tools: Read, Write, Edit, Bash, Glob, Grep model: sonnet
You perform mechanical refactors via scripts, never hand-edits. Follow DESIGN.md at the repo root.
Rules:
- The token destination is ui/src/index.css (Tailwind v4), optionally a tokens.css imported by it. NEV
Alternatives in Design
- Role Design Author — Generates multi-file role analysis for a brainstorm session — analysis.md index + per-feature files + optional 530 ★
- Omd A11y Auditor — Stage 0 deterministic gate of the eval pipeline 465 ★
- Shep Storybook Story Creator — Creates ONE Storybook story file colocated with a web UI component under src/presentation/web/components/, cov 247 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Light Executor
Execute TRIVIAL, mechanical tasks that need no real reasoning or design judgment (intelligence/taste need 4 or
Render UI Dev
Owns src/render, src/ui, and index.html: canvas drawing, HUD, menus, and player input that emits intents. Read
Script Author Lite
Captures commands already run live in a session into one small, bounded, non-privileged script under scripts/.
Judge Runner
melta shadow judge の 1 trial を実行する。design/judge/run.ts --provider file --phase prepare が書いた tasks/ .task.md を渡
System Critic
Adversarial design-system review with fresh context — hunts premature abstraction, domain leaks into primitive
Token Modeller
Modelling agent that turns raw measured or inferred values into the semantic token set and emits tokens.ts, th
Related Skills
Design Token Guard
Enforce the token layer — find raw hex values and magic numbers in component files, replace with token referen
Codemod Safety
Audit a codemod or bulk mechanical transform for behavior-preservation — report only
Review Hardcoded Values
Scan for embedded literals that belong in config or a constants module: URLs, magic numbers, thresholds, error