Overview
Theonboard command sets up PicoClaw for first-time use by creating the default configuration file and initializing the workspace directory with templates and necessary files.
Usage
picoclaw o
What It Does
The onboard command:- Creates Configuration File: Generates
~/.config/picoclaw/config.yamlwith default settings - Initializes Workspace: Creates
~/.picoclaw/workspace/directory structure - Copies Templates: Installs default templates, skills, and tool configurations
- Displays Next Steps: Shows instructions for completing setup
Interactive Prompts
If configuration already exists, you’ll be prompted:- Type
yto overwrite existing configuration - Type
nto abort without changes
Output
Files Created
Configuration File
Location:~/.config/picoclaw/config.yaml
Contains default configuration including:
- Provider settings (OpenAI, Anthropic, OpenRouter, etc.)
- Agent defaults (model, temperature, token limits)
- Gateway settings (host, port)
- Channel configurations
- Tool settings
- Workspace path
Workspace Directory
Location:~/.picoclaw/workspace/
Includes:
cron/- Scheduled task storagesessions/- Conversation historymedia/- Temporary media filesskills/- Custom skills and promptstools/- Tool configurationsstate/- Application state
Examples
First-Time Setup
Reinitialize Configuration
To reset configuration to defaults:Using the Alias
After Onboarding
1. Configure Your Provider
Edit the configuration file:2. Test Your Setup
Verify everything is configured correctly:3. Start Using PicoClaw
Send your first message:Alternative Authentication
Instead of manually editing the config, you can use theauth command for OAuth providers:
Workspace Customization
After onboarding, you can customize:Custom Skills
Add.md files to ~/.picoclaw/workspace/skills/:
Tool Configurations
Modify tool behavior in~/.picoclaw/workspace/tools/
Tips
- Backup Config: Save a copy of your config after customization
- Version Control: Consider tracking your workspace in git
- Multiple Configs: Use different configs for development/production
- Provider Choice: OpenRouter provides access to 100+ models with a single API key
- Local Models: Ollama is free and runs completely offline
Troubleshooting
Permission Denied
Config Already Exists
If you want to keep custom settings, manually edit instead of overwriting:Workspace Path Issues
If you want to use a custom workspace location, edit config after onboarding:Environment Variables
You can also use environment variables for API keys:Exit Codes
0: Success1: Error (permission denied, disk full, etc.)
See Also
- picoclaw status - Verify configuration
- picoclaw auth - Authenticate with providers
- Configuration Guide - Detailed configuration options
- Supported Providers - Complete list of AI providers