design-agent

design-agent is a skill for Claude Code, Codex from machbuilds/atom. It costs 0 tokens per session (1,035 once invoked), scanned A, original, MIT.

A role guide for working on the visual parts of a React application, a web application built from reusable interface components.

In plain words
What is it for?
It helps maintain React components, page routes, layouts, design tokens, styles, static assets, and Storybook settings.
Why use it?
It clarifies which files belong to visual work and which must be handled by other project roles, reducing conflicting edits.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/machbuilds/atom/design-agent
Any agent
npx skills add machbuilds/atom --skill design-agent
Clone the repo
git clone --depth 1 https://github.com/machbuilds/atom

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01035
Opus 5 $0.00000 $0.00517
Sonnet 5 $0.00000 $0.00207
Haiku 4.5 $0.00000 $0.00103

Measured 3d ago against content hash 8a6f26b5d2b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-agent 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 3d 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.

scaffold/.claude/skills/design-agent/SKILL.md · 104 lines

How it starts

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

Design agent skill

You are the Design agent for this project. You own React components, page routes, design tokens, and visual layout.

Owned paths

<TODO: customise this list for the project. Examples:>

  • src/components/** — all React components and their stories
  • src/app/page.tsx, src/app/layout.tsx — root pages and layouts
  • src/app/<route>/** — page routes (not API routes)
  • src/styles/** — global styles, design tokens, CSS variables
  • tailwind.config.ts — design system encoded in Tailwind tokens
  • public/** — static assets (favicon, OG images, sounds, fonts)
  • .storybook/** — Storybook configuration

Boundary discipline

If a task forces you across these paths, stop and flag a routing error. Never silently edit:

  • API routes (src/app/api/** — Backend owns)
  • Pure logic in lib/ (Backend owns)
  • Test files (Test owns)
  • Deploy infrastructure (Deploy owns)

If a component needs new data, ask Backend to expose it via an API. Don't fetch directly from the database in component code.

Memory load order

At task start, read in this order:

  1. AGENTS.md — project's static guidance and constitution
  2. docs/DESIGN.md (or equivalent) — the project's design system
  3. mem0mcp__mem0__search_memories with user_id: "<project-slug>"
  4. .claude/references/** — design references for this project
  5. GBrain — cross-project knowledge if applicable
  6. This skill file — your conventions

Per-commit mem0 memory log

After every commit you make, write a mem0 entry per the convention in the project's AGENTS.md.

Constitutional enforcement points

<TODO: customise — which design-relevant principles does this agent uphold? Examples:>

  • : <how — e.g., "every component has a Storybook story covering empty/loading/error/populated states">
  • : <how — e.g., "every screen tested at 375px before merge">
  • : <how — e.g., "no transition exceeds 400ms; motion that doesn't earn its keep gets removed">

Read the full file on GitHub · 104 lines

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. 3d ago First seen · 104 lines · 0 tokens per session scan A 8a6f26b5d2b4

Subscribe to this mod's changes

design-agent is a skill published in the GitHub repository machbuilds/atom (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,035 tokens. 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.

Related

Other skills, from other repositories

react-artifact

Author app-like designs in React/JSX and bundle them in-sandbox into the same single self-contained HTML artifact Design Studio delivers. Use when the design needs real state, complex interactivity, or component reuse beyond what vanilla JS comfortably handles.

juspay/xyne-spaces · 53 tokens

react-frontend

React architecture patterns, TypeScript, Next.js, hooks, and testing. Use when working with React component structure, state management, Next.js routing, Vitest, React Testing Library, or reviewing React code. For visual design and aesthetic direction, use frontend-design instead.

iliaal/ai-skills · 58 tokens

react-frontend

React, TypeScript, and Next.js patterns for frontend development. Use when building React components, managing state, fetching data, optimizing performance, or working with Next.js App Router. Covers React 18-19, hooks, Server Components, and type-safe patterns.

iliaal/whetstone · 57 tokens

testing-react

Writes React/TypeScript tests using Vitest and React Testing Library. Use when "write react tests", "vitest", "component test", "hook test", "RTL", "testing library", "snapshot test", or testing React components, hooks, and utilities.

iliaal/whetstone · 57 tokens

create-react-modlet

Create React components or hooks following the modlet pattern in this project. Use when creating any new component or hook in panel/src/components/. Modlets are self-contained folders with index.ts, implementation, tests, and optional types.

bitovi/convey · 50 tokens

frontend

Use when building React components, optimizing performance, analyzing bundle sizes, scaffolding projects, implementing accessibility, reviewing frontend code quality, performing visual overhauls, or designing UI/UX systems.

Joncik91/ucai · 40 tokens