CLI Reference

CLI Reference

Commands

CommandDescription
npx buildcrewFull interactive setup (agents + Playwright MCP + harness)
npx buildcrew initGenerate project harness only
npx buildcrew init --forceRegenerate harness (backs up existing)
npx buildcrew addList available harness templates
npx buildcrew add <type>Add a harness template
npx buildcrew harnessShow status of all harness files
npx buildcrew --forceOverwrite existing agent files
npx buildcrew --listList all 15 agents with models
npx buildcrew --uninstallRemove installed agents
npx buildcrew --versionShow version
npx buildcrew --helpFull help

Template Types

npx buildcrew add erd              # Database schema
npx buildcrew add architecture     # System architecture
npx buildcrew add api-spec         # API endpoints
npx buildcrew add design-system    # Design tokens & components
npx buildcrew add glossary         # Domain terms
npx buildcrew add user-flow        # User journeys
npx buildcrew add env-vars         # Environment variables

Interactive Setup Flow

When you run npx buildcrew, the CLI walks you through:

Step 1: Install/update 15 agents → .claude/agents/
Step 2: Playwright MCP? (Y/n) → auto-installs if yes
Step 3: Project harness? (Y/n) → scans codebase, generates context
Step 4: Pick templates → choose from available harness files

Version Auto-Update

Agents include version headers (version: 1.8.x). When you run npx buildcrew on an existing project:

  • New agents are installed automatically
  • Outdated agents are updated (version compared)
  • Up-to-date agents are skipped
  • No --force needed for normal upgrades