setup
Run the interactive setup wizard to configure Ralph TUI for your project.
Synopsis
The setup command runs an interactive wizard that configures Ralph TUI for your project. It detects available agents, creates configuration files, and installs bundled skills.
Running ralph-tui setup is the recommended first step when starting with Ralph TUI in a new project.
Aliases
What Setup Does
The interactive wizard performs these steps:
Detect Installed Agents
Scans for available AI coding agents:
- Claude Code - Looks for
claudeCLI - OpenCode - Looks for
opencodeCLI - Factory Droid - Looks for
droidCLI
Prompts you to select which agent to use as the default.
Create Configuration
Creates .ralph-tui/config.toml with your selected options:
- Default agent and tracker
- Model preferences
- Error handling strategy
- Iteration limits
Install Skills
Installs bundled skills for PRD creation and task conversion:
ralph-tui-prd- AI-powered PRD creationralph-tui-create-json- Convert PRD to prd.jsonralph-tui-create-beads- Convert PRD to Beads issues
Detect Existing Trackers
Optionally scans for existing task sources:
prd.jsonfiles- Beads configuration (
.beads/) - Existing PRD markdown files
Examples
Basic Setup
Example interaction:
Configuration Created
Setup creates .ralph-tui/config.toml:
Skills Installation
Skills are installed to your agent's skills directory:
| Skill | Purpose |
|---|---|
ralph-tui-prd | AI-powered PRD creation |
ralph-tui-create-json | Convert PRD to JSON tasks |
ralph-tui-create-beads | Convert PRD to Beads issues |
These skills can also be used directly in your agent without the Ralph TUI interface. See Using Skills Directly below.
You can manage skills manually with ralph-tui skills list and ralph-tui skills install --force.
Skipping Setup
If you want to run Ralph without the interactive setup:
Re-running Setup
You can run setup again to update your configuration:
Re-running setup will prompt before overwriting existing configuration. Your current settings will be shown as defaults.
Troubleshooting
"No agents found"
Ensure you have at least one supported agent installed:
"Permission denied" for skills
Ensure the skills directory is writable:
Using Skills Directly
After running ralph-tui setup, the installed skills can be used directly in your preferred AI agent without needing the Ralph TUI interface. This is ideal when you want to:
- Reference files and use agent-native features during PRD creation
- Integrate PRD creation into your existing workflow
- Use the skills as part of a larger conversation with your agent
Direct Skill Usage
Once skills are installed, invoke them with slash commands in your agent:
Example Workflow
-
Create a PRD directly in your agent:
-
Convert to tasks:
-
Run Ralph for autonomous execution:
Bash
Why Use Skills Directly?
| Approach | Best For |
|---|---|
ralph-tui create-prd --chat | Quick standalone PRD creation |
/ralph-tui-prd in your agent | Complex PRDs that need file references, existing context, or iterative refinement |
ralph-tui run | Autonomous task execution |
Using skills directly in your agent gives you full access to file references, conversation context, and all agent features while creating your PRD.
Related Commands
- run - Start execution after setup
- create-prd - Create your first PRD
- convert - Convert existing PRDs to tasks