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:
CLI mode — user ran npx golems-cli wizard from a terminal. Use interactive prompts (readline).
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:
Display the current configuration to the user (reposPath, tools, features)
Ask: "You're already configured. Would you like to reconfigure (start fresh), add skills (install more), or skip (keep current settings)?"
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.
Full SKILL.md source — includes LLM directives, anti-patterns, and technical instructions stripped from the Overview tab.
Claude-powered first-time setup. Detects your environment, writes config, installs skills.
CARDINAL RULE
ALL opt-in features are OFF by default. The user must explicitly enable each one. No surprises, no unsolicited notifications, no background tasks unless the user says yes.
Pre-Step: Detect Execution Mode
Before starting, determine HOW the wizard is running:
CLI mode — user ran npx golems-cli wizard from a terminal. Use interactive prompts (readline).
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:
Display the current configuration to the user (reposPath, tools, features)
Ask: "You're already configured. Would you like to reconfigure (start fresh), add skills (install more), or skip (keep current settings)?"
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.
Step 2: Detect Environment & CLIs
Platform Detection
Detect the platform first — it affects CLI detection commands and path formats:
uname -s # Darwin (macOS), Linux, or check for Windowsecho $TERM_PROGRAM # vscode, iTerm.app, Apple_Terminal, etc.
macOS/Linux: Use which for CLI detection, forward-slash paths
Windows: Use where for CLI detection, accept backslash paths. Config at %USERPROFILE%\.golems\config.json
CLI Detection
Run detection for all 9 supported CLIs:
for cmd in claude cursor gemini codex kiro-cli windsurf aider copilot cline; do path=$(which $cmd 2>/dev/null) if [ -n "$path" ]; then echo " $cmd : $path" else echo " $cmd : not found" fidone
Report what was found. Store detected tools and paths for config writing.
Claude Code Gate
If Claude Code is NOT detected (which claude returns nothing):
Stop the wizard flow and provide guidance:
Claude Code CLI is required for golem skills. Skills are SKILL.md files in ~/.claude/commands/ — they only work with Claude Code.