Clawdbot
Command Reference

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

Check Status
bash
clawdbot status
Start Service
bash
clawdbot service start
List Skills
bash
clawdbot skills list

Common Flags

Global Options

These flags work with most Clawdbot commands

--help, -h

Show help information for any command

--verbose, -v

Enable verbose output for debugging

--quiet, -q

Suppress non-error output

--json

Output in JSON format (useful for scripting)

--config <path>

Use custom configuration file

--no-color

Disable colored output

Core Commands

Essential commands for everyday Clawdbot usage

clawdbot status

Check Clawdbot service status and health

Example
bash
clawdbot status

# Output:
# Status: running
# Version: 1.0.0
# Uptime: 2 days, 4 hours
# Active Skills: 8
clawdbot start

Start the Clawdbot service

Example
bash
# Start service
clawdbot service start

# Start with custom port
clawdbot service start --port 8080

# Start in debug mode
clawdbot service start --debug
clawdbot stop

Stop the Clawdbot service gracefully

Example
bash
# Stop service
clawdbot service stop

# Force stop (emergency only)
clawdbot service stop --force
clawdbot restart

Restart the Clawdbot service

Example
bash
# Restart service
clawdbot service restart

# Restart with configuration reload
clawdbot service restart --reload-config

Configuration Commands

Manage Clawdbot settings and preferences

clawdbot config

View and manage configuration settings

Example
bash
# 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 edit
clawdbot init

Initialize Clawdbot with interactive setup wizard

Example
bash
clawdbot init

# The wizard will prompt for:
# • Admin account creation
# • Network configuration
# • API keys setup
# • Service preferences
clawdbot configure

Launch interactive configuration editor

Example
bash
clawdbot configure

# Opens guided setup for:
# • User accounts
# • Notification settings
# • Security options
# • Skill selection

Skill Management

Install, manage, and configure Clawdbot skills

clawdbot skills

List and manage installed skills

Example
bash
# 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-home
clawdbot skills install

Install a new skill from the registry

Example
bash
# 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-repo
clawdbot skills uninstall

Remove an installed skill

Example
bash
# 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 --purge
clawdbot skills enable/disable

Enable or disable a skill without uninstalling

Example
bash
# 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-home
clawdbot skills update

Update skills to latest version

Example
bash
# Update all skills
clawdbot skills update --all

# Update specific skill
clawdbot skills update voice-assistant

# Check for updates without installing
clawdbot skills update --dry-run

Service Management

Monitor and control Clawdbot service operations

clawdbot logs

View and filter Clawdbot logs

Example
bash
# 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.log
clawdbot stats

Display system statistics and performance metrics

Example
bash
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,234
clawdbot test

Run diagnostic tests on Clawdbot

Example
bash
# 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 integration
clawdbot backup

Create and manage backups

Example
bash
# 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:00

User Management

Manage user accounts and permissions

clawdbot user

Manage Clawdbot user accounts

Example
bash
# 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 --interactive
clawdbot permissions

Manage user permissions and access control

Example
bash
# 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 john

Automation Examples

Automated Backups

Set up automated daily backups using cron

Script
bash
# 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

Script
bash
#!/bin/bash
# health-check.sh

if ! clawdbot status | grep -q "running"; then
  echo "Clawdbot is not running!"
  clawdbot service start
fi

Batch Skill Updates

Update all skills and check for issues

Script
bash
#!/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
fi

Log Monitoring

Monitor logs for specific errors

Script
bash
# 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 -l

Shell Integration

Enable Tab Completion

Add command autocompletion to your shell

Bash

~/.bashrc
bash
# Add to ~/.bashrc or ~/.bash_profile source <(clawdbot completion bash)

Zsh

~/.zshrc
bash
# Add to ~/.zshrc source <(clawdbot completion zsh)

Fish

Terminal
bash
# Add to ~/.config/fish/completions/clawdbot.fish clawdbot completion fish > ~/.config/fish/completions/clawdbot.fish

Continue Learning

Explore more documentation and start building with Clawdbot.