CLI Reference
Complete command-line interface reference for Clawdbot. Learn essential commands, advanced options, and automation techniques for power users.
Getting Started
Start with these essential commands
clawdbot statusclawdbot service startclawdbot skills listCommon Flags
Global Options
These flags work with most Clawdbot commands
--help, -hShow help information for any command
--verbose, -vEnable verbose output for debugging
--quiet, -qSuppress non-error output
--jsonOutput in JSON format (useful for scripting)
--config <path>Use custom configuration file
--no-colorDisable colored output
Core Commands
Essential commands for everyday Clawdbot usage
Check Clawdbot service status and health
clawdbot status
# Output:
# Status: running
# Version: 1.0.0
# Uptime: 2 days, 4 hours
# Active Skills: 8Start the Clawdbot service
# Start service
clawdbot service start
# Start with custom port
clawdbot service start --port 8080
# Start in debug mode
clawdbot service start --debugStop the Clawdbot service gracefully
# Stop service
clawdbot service stop
# Force stop (emergency only)
clawdbot service stop --forceRestart the Clawdbot service
# Restart service
clawdbot service restart
# Restart with configuration reload
clawdbot service restart --reload-configConfiguration Commands
Manage Clawdbot settings and preferences
View and manage configuration settings
# List all configuration
clawdbot config list
# Get specific setting
clawdbot config get network.interface
# Set configuration value
clawdbot config set server.port 3000
# Unset configuration (revert to default)
clawdbot config unset server.port
# Edit configuration file
clawdbot config editInitialize Clawdbot with interactive setup wizard
clawdbot init
# The wizard will prompt for:
# • Admin account creation
# • Network configuration
# • API keys setup
# • Service preferencesLaunch interactive configuration editor
clawdbot configure
# Opens guided setup for:
# • User accounts
# • Notification settings
# • Security options
# • Skill selectionSkill Management
Install, manage, and configure Clawdbot skills
List and manage installed skills
# List all skills
clawdbot skills list
# List with details
clawdbot skills list --verbose
# List enabled skills only
clawdbot skills list --enabled
# Search for skills
clawdbot skills search smart-homeInstall a new skill from the registry
# Install from registry
clawdbot skills install voice-assistant
# Install specific version
clawdbot skills install voice-assistant --version 2.1.0
# Install from local path
clawdbot skills install ./path/to/skill
# Install from GitHub
clawdbot skills install github:user/skill-repoRemove an installed skill
# Uninstall skill
clawdbot skills uninstall voice-assistant
# Force uninstall (ignore dependencies)
clawdbot skills uninstall voice-assistant --force
# Uninstall and remove configuration
clawdbot skills uninstall voice-assistant --purgeEnable or disable a skill without uninstalling
# Enable skill
clawdbot skills enable voice-assistant
# Disable skill
clawdbot skills disable voice-assistant
# Bulk enable multiple skills
clawdbot skills enable voice-assistant calendar smart-homeUpdate skills to latest version
# Update all skills
clawdbot skills update --all
# Update specific skill
clawdbot skills update voice-assistant
# Check for updates without installing
clawdbot skills update --dry-runService Management
Monitor and control Clawdbot service operations
View and filter Clawdbot logs
# View recent logs
clawdbot logs --tail 50
# Follow logs in real-time
clawdbot logs --follow
# Filter by skill
clawdbot logs --skill voice-assistant
# Filter by level
clawdbot logs --level error
# Export logs
clawdbot logs --output ./clawdbot.logDisplay system statistics and performance metrics
clawdbot stats
# Output:
# CPU: 15%
# Memory: 4.2GB / 16GB (26%)
# Disk: 120GB / 512GB (23%)
# Uptime: 2 days, 4 hours
# Active Skills: 8
# API Calls Today: 1,234Run diagnostic tests on Clawdbot
# Run all diagnostics
clawdbot test
# Test specific component
clawdbot test --component network
# Test with verbose output
clawdbot test --verbose
# Run specific test suite
clawdbot test --suite integrationCreate and manage backups
# Create backup
clawdbot backup create
# Create with custom name
clawdbot backup create --name "pre-update-backup"
# List backups
clawdbot backup list
# Restore from backup
clawdbot backup restore backup-2025-01-15.tar.gz
# Schedule automatic backups
clawdbot backup schedule --daily 3:00User Management
Manage user accounts and permissions
Manage Clawdbot user accounts
# List users
clawdbot user list
# Create new user
clawdbot user create \
--username john \
--email john@example.com \
--role standard
# Delete user
clawdbot user delete john
# Change password
clawdbot user password john --interactiveManage user permissions and access control
# Grant permissions
clawdbot permissions grant john \
--skills voice,calendar \
--commands "schedule.*,calendar.*"
# Revoke permissions
clawdbot permissions revoke john --skills voice
# View permissions
clawdbot permissions list johnAutomation Examples
Automated Backups
Set up automated daily backups using cron
# Add to crontab (crontab -e)
0 3 * * * /usr/local/bin/clawdbot backup create --name "daily-$(date +%Y%m%d)"Service Health Check
Create a simple health check script
#!/bin/bash
# health-check.sh
if ! clawdbot status | grep -q "running"; then
echo "Clawdbot is not running!"
clawdbot service start
fiBatch Skill Updates
Update all skills and check for issues
#!/bin/bash
# update-skills.sh
clawdbot skills update --all
clawdbot test --suite skills
if [ $? -ne 0 ]; then
echo "Skill tests failed!"
clawdbot logs --tail 20
fiLog Monitoring
Monitor logs for specific errors
# Monitor for errors in real-time
clawdbot logs --follow | grep -i "error\|warning"
# Count errors in last hour
clawdbot logs --since 1h | grep -i error | wc -lPro Tips for Power Users
- • Use
--jsonflag for scripting and automation - • Combine commands with shell pipes for powerful workflows
- • Set up aliases for frequently used commands in your shell profile
- • Use
clawdbot logs --followwhen debugging issues - • Schedule routine maintenance tasks using cron or launchd
- • Keep your CLI updated:
brew upgrade clawdbot
Shell Integration
Enable Tab Completion
Add command autocompletion to your shell
Bash
# Add to ~/.bashrc or ~/.bash_profile source <(clawdbot completion bash)Zsh
# Add to ~/.zshrc source <(clawdbot completion zsh)Fish
# Add to ~/.config/fish/completions/clawdbot.fish clawdbot completion fish > ~/.config/fish/completions/clawdbot.fishCLI Mastery Complete!
clawdbot --help or visit the troubleshooting guide.Continue Learning
Explore more documentation and start building with Clawdbot.