Other

/wizard

First-time onboarding wizard for the golems ecosystem. Detects installed AI CLIs, configures workspace, sets up skills. Use when setting up golems for the first time, reconfiguring, or onboarding a new machine.

$ golems-cli skills install wizard
Good
99% best pass rate
87 assertions
18 evals
fixtures

Updated 2 weeks ago

Claude-powered first-time setup. Detects your environment, writes config, installs skills.

Pre-Step: Detect Execution Mode

Before starting, determine HOW the wizard is running:

  1. CLI mode — user ran npx golems-cli wizard from a terminal. Use interactive prompts (readline).
  2. Skill mode — user invoked /wizard or pasted an INSTALL_PROMPT.md into a Claude Code session. Use Claude's native tools (Bash for detection, Write for config, conversation for questions).

In skill mode, use the Bash tool for which checks and the Write tool for config — do NOT attempt readline prompts.

Pre-Step: Explain on Request

If the user asks "what are skills?" or seems unfamiliar with the golems ecosystem, pause and explain before proceeding:

Skills are reusable prompt templates that give Claude Code specialized capabilities. For example:

  • /commit — smart git commit workflow with code review
  • /coach — life planning, calendar management, habit tracking
  • /research — deep web research with structured reports

Skills are SKILL.md files installed to ~/.claude/commands/. When you type /commit in Claude Code, it reads the skill file and follows the instructions.

This wizard detects your environment, writes a config file, and installs skills so they're ready to use.

Then ask if they want to proceed.

Step 1: Check Existing Config

Before anything else, check if ~/.golems/config.json already exists:

cat ~/.golems/config.json 2>/dev/null

If config exists:

  1. Display the current configuration to the user (reposPath, tools, features)
  2. Ask: "You're already configured. Would you like to reconfigure (start fresh), add skills (install more), or skip (keep current settings)?"
  3. If add skills → jump to Step 6 (skill management). If skip → exit wizard. If reconfigure → continue to Step 2.

If config does NOT exist: Continue to Step 2.