design-lab

design-lab is a skill for Claude Code, Codex from marchatton/agent-skills. It costs 52 tokens per session (7,342 once invoked), scanned A, original, MIT.

A guided process for exploring several user-interface designs before choosing one to build. It includes a design interview, five variations, feedback, refinement, previews, and an implementation plan.

In plain words
What is it for?
Use it when redesigning an interface or exploring new UI components and you want multiple approaches reviewed before implementation.
Why use it?
It helps compare different interface directions and turn the selected direction into an actionable plan.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; installed under .agents/ (shared by several agents).

Good fit Use it when redesigning an interface or exploring new UI components and you want multiple approaches reviewed before implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marchatton/agent-skills/design-lab
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 marchatton/agent-skills --skill design-lab
Clone the repo
git clone --depth 1 https://github.com/marchatton/agent-skills

Made for: Claude Code, 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 design-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/marchatton/agent-skills/design-lab/github.svg)](https://agentmods.dev/skills/marchatton/agent-skills/design-lab)
Your own site
<a href="https://agentmods.dev/skills/marchatton/agent-skills/design-lab"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/design-lab/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 design-lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/marchatton/agent-skills/design-lab"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/design-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,342 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.00052 $0.07342
Opus 5.5 $0.00021 $0.02937
Sonnet 5.5 $0.00010 $0.01468
Haiku 4.5 $0.00005 $0.00734

Measured 2mo ago against content hash 12ddb4d3802a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-lab 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/04-develop/01-ui-skills-dot-com/design-lab/SKILL.md · 922 lines

How it starts

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

Design Lab Skill

Source: ui-skills.com.

This skill implements a complete design exploration workflow: interview, generate variations, collect feedback, refine, preview, and finalize.

CRITICAL: Cleanup Behavior

All temporary files MUST be deleted when the process ends, whether by:

  • User confirms final design → cleanup, then generate plan
  • User aborts/cancels → cleanup immediately, no plan generated

Never leave .claude-design/ or __design_lab routes behind. If the user says "cancel", "abort", "stop", or "nevermind" at any point, confirm and then delete all temporary artifacts.


Phase 0: Preflight Detection

Before starting the interview, automatically detect:

Package Manager

Check for lock files in the project root:

  • pnpm-lock.yaml → use pnpm
  • yarn.lock → use yarn
  • package-lock.json → use npm
  • bun.lockb → use bun

Framework Detection

Check for config files:

  • next.config.js or next.config.mjs or next.config.ts → Next.js
    • Check for app/ directory → App Router
    • Check for pages/ directory → Pages Router
  • vite.config.js or vite.config.ts → Vite
  • remix.config.js → Remix
  • nuxt.config.js or nuxt.config.ts → Nuxt
  • astro.config.mjs → Astro

Styling System Detection

Check package.json dependencies and config files:

  • tailwind.config.js or tailwind.config.ts → Tailwind CSS
  • @mui/material in dependencies → Material UI
  • @chakra-ui/react in dependencies → Chakra UI
  • antd in dependencies → Ant Design
  • styled-components in dependencies → styled-components
  • @emotion/react in dependencies → Emotion
  • .css or .module.css files → CSS Modules

Design Memory Check

Look for existing Design Memory file:

  • docs/design-memory.md
  • DESIGN_MEMORY.md
  • .claude-design/design-memory.md

If found, read it and use to prefill defaults and skip redundant questions.

Visual Style Inference (CRITICAL)

DO NOT use generic/predefined styles. Extract visual language from the project:

Read the full file on GitHub · 922 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. 2mo ago First seen · 922 lines · 52 tokens per session scan A 12ddb4d3802a

Subscribe to this mod's changes

design-lab is a skill published in the GitHub repository marchatton/agent-skills (5 stars, last pushed 8mo ago), licensed MIT. It adds 52 tokens to every session and 7,342 once invoked, about $0.0002 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.

Related

design-lab compared with skills from other repositories

design-lab next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-labmarchatton/agent-skillsSkill58mo agoMITA52Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code