setup

setup is a command for coding agents from app-builders-club/design-builder. It costs 37 tokens per session (5,181 once invoked), scanned A, original, MIT.

A command that sets up a shared design foundation for a new project. It creates a design folder, checks the project’s technology stack, asks planning questions, and produces design and preview files.

In plain words
What is it for?
Use it to begin a design project and create files such as a design system, style guide, content library, design tokens, and a preview page.
Why use it?
It gives later design work a common set of rules, content, colors, and spacing instead of starting from scattered decisions.

Command

Part of the design-builder plugin — 9 skills, 7 commands, 1 agent, 2 MCP servers shipped together

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 commands/app-builders-club/design-builder/setup
Clone the repo
git clone --depth 1 https://github.com/app-builders-club/design-builder

Or install design-builder, the plugin that ships this one along with the rest of its 9 skills, 7 commands, 1 agent, 2 MCP servers.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/app-builders-club/design-builder/setup.svg)](https://agentmods.dev/commands/app-builders-club/design-builder/setup)
Your own site
<a href="https://agentmods.dev/commands/app-builders-club/design-builder/setup"><img src="https://agentmods.dev/badge/commands/app-builders-club/design-builder/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,181 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.00037 $0.05181
Opus 5 $0.00018 $0.02590
Sonnet 5 $0.00007 $0.01036
Haiku 4.5 $0.00004 $0.00518

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

Security

Grade A, and why

setup 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.

commands/setup.md · 385 lines

How it starts

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

/design-builder:setup — establish the design foundation

You are the entry point for a brand-new design project. Activate the design skill (skills/design/SKILL.md). You produce the artifacts in design/ that every later command (/create, /improve, /review) relies on. Until you finish, the user has no design system.

Phase 0 — Scaffold + stack detect (NEW in v2.1)

This phase runs first. No interview question is asked until 0.4 completes.

0.1 — Scaffold the design/ folder

Create the following structure (use Bash mkdir -p plus Write for the files):

design/
  pages/
  screens/
  references/
    README.md
  reviews/
  .cache/
    .gitignore

Contents:

  • design/.cache/.gitignore: a single line * — excludes the entire .cache/ directory from git.
  • design/references/README.md:
    # Design references
    
    Drop reference materials here:
    - URLs and Figma links → add to `urls.md` (one per line, with optional context).
    - Screenshots and reference images → drop into this folder directly. Files prefixed `ref-` are auto-downloads from /setup; everything else is your manual addition.
    
    /setup, /design_page, and /design_screen all read this folder when relevant.
    

After scaffolding, surface this single message to the user:

"Created design/. If you have references — drop URLs/screenshots/Figma links in design/references/ or paste them here. Ready to start? (go / I have references)"

If the user pastes URLs in chat: append them to design/references/urls.md (create the file). If they say go: continue to 0.2 immediately.

0.2 — Detect project stack

Read these files in parallel (with Read, Glob, or Bash ls as appropriate):

  • package.json (root; if missing → not a JS/TS project)
  • Package.swift, *.xcodeproj (iOS project signals)
  • pubspec.yaml (Flutter)
  • Cargo.toml, go.mod (signal: probably not a frontend project being designed)
  • root index.html (when no package.json exists → static HTML)

Read the full file on GitHub · 385 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 · 385 lines · 37 tokens per session scan A 6bb53e0d439c

Subscribe to this mod's changes

setup is a command published in the GitHub repository app-builders-club/design-builder (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 5,181 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-08-31.