zeroclaw
Originally fromadisinghstudent/zeroclaw
SKILL.md
ZeroClaw Quick Reference
ZeroClaw is a fast, small (<5MB RAM), fully autonomous AI assistant infrastructure built in Rust.
Core Characteristics:
- Single binary (~8.8MB release), no runtime dependencies
- <10ms cold start, 16+ communication channels
- Runs on $10 hardware (ARM, x86, RISC-V)
- Config:
~/.zeroclaw/config.toml - Workspace:
~/.zeroclaw/workspace/ - Auth profiles:
~/.zeroclaw/auth-profiles.json(encrypted)
Installation
Install
# Homebrew (macOS/Linux)
brew install zeroclaw
# Clone + bootstrap (recommended — inspect before running)
git clone https://github.com/zeroclaw-labs/zeroclaw.git
cd zeroclaw && ./bootstrap.sh
# Bootstrap options: --prefer-prebuilt, --prebuilt-only, --docker, --onboard
# Cargo (requires Rust toolchain)
cargo install zeroclaw
Update
git clone https://github.com/zeroclaw-labs/zeroclaw.git /tmp/zeroclaw-update
cd /tmp/zeroclaw-update && bash scripts/bootstrap.sh --prefer-prebuilt
rm -rf /tmp/zeroclaw-update
zeroclaw --version
Onboarding
ZEROCLAW_API_KEY="..." zeroclaw onboard --provider openrouter
zeroclaw onboard --interactive # Full wizard
zeroclaw onboard --channels-only # Reconfigure channels only
Essential Commands
Daily Use
zeroclaw agent- Interactive AI chatzeroclaw agent -m "message"- Single messagezeroclaw daemon- Full autonomous runtime
Diagnostics
zeroclaw status- Check system statuszeroclaw doctor- Run full diagnosticszeroclaw channel doctor- Check channel health
Providers & Models
zeroclaw providers- List all providerszeroclaw models refresh- Refresh model catalogszeroclaw models refresh --provider <ID>- Refresh specific provider
Channels
zeroclaw channel list- List all channelszeroclaw channel start- Start channelszeroclaw channel start <channel>- Start specific channel
Service
zeroclaw service install- Install as system servicezeroclaw service uninstall- Remove system servicezeroclaw service start/stop/restart- Control servicezeroclaw service status- Check service status
Other
zeroclaw completions bash|zsh- Generate shell completionszeroclaw migrate openclaw [--dry-run]- Import from OpenClawzeroclaw gateway [--port 0]- Start webhook gateway (port 0 = random)
Providers Overview
ZeroClaw supports 30+ built-in providers plus custom endpoints.
Built-in providers:
openrouter- OpenRouter (default, multi-provider aggregation)anthropic- Anthropic Claude modelsopenai/openai-codex- OpenAI (API key / OAuth)groq,xai,together,deepseek- Cloud providersollama,lmstudio,llamacpp,vllm,osaurus- Local serverscustom:<URL>/anthropic-custom:<URL>- Any compatible endpoint
See complete catalog: PROVIDERS.md
Quick custom provider setup:
# ~/.zeroclaw/config.toml
default_provider = "custom:https://your-api.example.com"
# api_key resolved from $ZEROCLAW_API_KEY env var (recommended) or set here
default_model = "your-model"
Channels Overview
ZeroClaw supports 16+ communication channels.
| Channel | Access Control | Quick Setup |
|---|---|---|
| CLI | n/a | Built-in |
| Telegram | allowed_users |
zeroclaw onboard |
| Discord | allowed_users |
zeroclaw onboard |
| Slack | allowed_users |
zeroclaw onboard |
| Mattermost | allowed_users |
Manual config |
allowed_numbers |
zeroclaw onboard (Web + Cloud API) |
|
| Signal | allowed_from |
Manual config |
| iMessage | allowed_contacts |
macOS only |
| Matrix | allowed_users |
Manual config |
allowed_senders |
Manual config | |
| IRC | allowed_users |
zeroclaw onboard |
| Lark | allowed_users |
Manual config |
| DingTalk | allowed_users |
zeroclaw onboard |
allowed_users |
Manual config | |
| Linq | allowed_senders |
Manual config |
| Nostr | allowed_pubkeys |
Manual config |
| Webhook | secret |
Manual/onboard |
See detailed channel-by-channel setup: CHANNELS.md
Configuration Overview
ZeroClaw uses ~/.zeroclaw/config.toml for all settings.
Basic provider setup:
default_provider = "openrouter"
# api_key resolved from $ZEROCLAW_API_KEY env var (recommended) or set here (encrypted at rest)
default_model = "anthropic/claude-sonnet-4.5"
default_temperature = 0.7
Autonomy levels:
| Level | Description |
|---|---|
supervised |
Maximum restriction; requires explicit approval for all actions |
assisted |
Moderate oversight with command allowlisting |
full |
No approval required (use only on trusted machines) |
[autonomy]
level = "supervised"
workspace_only = true
allowed_commands = ["git", "npm", "cargo", "ls", "cat"]
max_actions_per_hour = 20
max_cost_per_day_cents = 500
Emergency Stop (E-Stop): ZeroClaw includes a multi-granularity shutdown system:
kill_all- Terminate entire agent runtimenetwork_kill- Block all external API callsdomain_block- Restrict browser navigationtool_freeze- Prevent tool execution while preserving state
Common security settings:
# Restrict to workspace only (recommended)
[autonomy]
workspace_only = true
allowed_paths = ["/path/to/project"]
# Set cost limits
[autonomy]
max_cost_per_day_cents = 500
max_actions_per_hour = 20
# Block dangerous commands
[autonomy]
blocked_commands = ["rm -rf", "dd", "mkfs"]
See complete config reference: CONFIG.md See security best practices: SECURITY.md
Troubleshooting
Quick Diagnostics
zeroclaw --version
zeroclaw status
zeroclaw doctor
zeroclaw channel doctor
Common Issues
| Problem | Solution |
|---|---|
cargo not found |
Run ./bootstrap.sh --install-rust |
zeroclaw command not found |
Add to PATH: export PATH="$HOME/.cargo/bin:$PATH" |
| Gateway unreachable | Check gateway.host/port in config.toml |
| Telegram "terminated by other getUpdates" | Stop extra daemons (only one per bot token) |
| Channel unhealthy | Run zeroclaw channel doctor, verify credentials and permissions |
| Config world-readable warning | Run chmod 600 ~/.zeroclaw/config.toml |
| API authentication failed | Verify API key in config or environment variables |
| Model not found | Run zeroclaw models refresh to update catalog |
| High memory usage | Check autonomy settings, limit concurrent actions |
Logs
- macOS/Windows:
~/.zeroclaw/logs/daemon.stdout.log - Linux systemd:
journalctl --user -u zeroclaw.service -f
Getting Help
- Run
zeroclaw doctorfor automated diagnostics - Check logs for error messages
- Review config:
cat ~/.zeroclaw/config.toml - Full documentation: https://github.com/zeroclaw-labs/zeroclaw
Weekly Installs
15
Repository
perseusmx/zeroclaw-skillGitHub Stars
2
First Seen
Feb 27, 2026
Security Audits
Installed on
opencode14
codex14
gemini-cli13
amp13
cline13
github-copilot13