zeroclaw

Use when building, configuring, deploying, or troubleshooting ZeroClaw AI agent infrastructure — including provider setup, channel binding, memory backends, config.toml authoring, CLI usage, Docker/native runtime, and migration from other agent frameworks

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zeroclaw" with this command: npx skills add lu1sdv/skillsmd/lu1sdv-skillsmd-zeroclaw

ZeroClaw

Rust-based autonomous AI assistant infrastructure. Runtime OS for agentic workflows — deploy anywhere, swap anything. Runs on <5MB RAM, <10ms startup, ~8.8MB binary.

When to Use

  • Setting up ZeroClaw from scratch (install, bootstrap, onboard)
  • Authoring or debugging config.toml (providers, channels, memory, security)
  • Binding channels (Matrix, Discord, Slack, IRC, webhooks)
  • Troubleshooting CLI errors, auth failures, or daemon issues
  • Migrating from OpenClaw or other agent frameworks
  • Deploying via Docker, native binary, or webhook gateway

When NOT to Use

  • Other agent frameworks (LangChain, AutoGPT) — different architecture
  • General Rust development unrelated to ZeroClaw

Quick Reference

CommandPurpose
zeroclaw onboard --interactiveFirst-time setup wizard
zeroclaw agent -m "msg"Single message
zeroclaw agentInteractive REPL
zeroclaw daemonFull autonomous runtime + channels
zeroclaw gatewayWebhook server (default :42617)
zeroclaw statusCheck daemon & config
zeroclaw doctorSystem diagnostics
zeroclaw channel doctorChannel health check
zeroclaw channel bind-telegram <id>Bind Telegram chat
zeroclaw providersList available providers
zeroclaw auth login --provider <p> --device-codeOAuth login
zeroclaw auth setup-token --provider <p>Token auth
zeroclaw service installInstall as system service
zeroclaw migrate openclaw --dry-runPreview migration
zeroclaw completions <shell>Shell completions

Installation

# Homebrew
brew install zeroclaw

# Bootstrap (local clone)
git clone https://github.com/zeroclaw-labs/zeroclaw.git && cd zeroclaw && ./bootstrap.sh

# Remote bootstrap
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/main/scripts/bootstrap.sh | bash

# From source
cargo build --release --locked && cargo install --path . --force --locked

# Pre-built binaries: GitHub Releases (Linux x86_64/aarch64/armv7, macOS, Windows)
# Bootstrap flags: --prefer-prebuilt, --prebuilt-only, --docker

Build requirements: 2GB+ RAM+swap, 6GB+ disk. Runtime: <5MB.

Configuration

Edit ~/.zeroclaw/config.toml. Core sections:

[providers]
# OpenAI, Anthropic, OpenRouter, Google, Mistral, xAI, DeepSeek, 70+ more
# Set via env: OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.

[memory]
backend = "sqlite"  # "postgres", "markdown", "lucid", "none"
# Built-in vector search (BLOBs + cosine similarity) + FTS5 keyword search
# No external vector DB needed — hybrid merge of vector + BM25

[runtime]
kind = "native"  # "docker" for sandboxed execution

[channels]
# CLI, Telegram, Discord, Slack, Matrix, Signal, IRC, Email, iMessage,
# WhatsApp, Mattermost, Lark, DingTalk, QQ, Linq, Nostr, Webhook

[security]
# allowlists, pairing, rate_limits, filesystem_scoping

[autonomy]
level = "full"                          # "supervised" (default) or "full"
max_actions_per_hour = 999999           # ⚠️ MUST be > 0 or daemon silently fails
max_cost_per_day_cents = 999999         # same
require_approval_for_medium_risk = false
block_high_risk_commands = false

Architecture

Trait-driven — every subsystem is swappable:

LayerSwappable Options
ProvidersOpenAI, Anthropic, OpenRouter, Google, custom endpoints
Channels18+ (CLI, Telegram, Discord, Slack, Matrix, etc.)
MemorySQLite (default), PostgreSQL, Markdown, Lucid, none
ToolsShell, file ops, Git, HTTP, screenshots, browser
RuntimeNative, Docker sandbox

Authentication

OPENAI_API_KEY=sk-... zeroclaw agent                              # env var
zeroclaw auth login --provider openai-codex --device-code         # OAuth device flow
zeroclaw auth paste-token --provider anthropic --profile default  # token paste

Profiles stored encrypted at ~/.zeroclaw/auth-profiles.json (key: ~/.zeroclaw/.secret_key). Manage with auth use, auth status, auth refresh (see Quick Reference).

WARNING (Feb 2026): Claude Code OAuth tokens (Free/Pro/Max) are restricted to Claude Code/Claude.ai only. Do NOT use them via ZeroClaw — violates Anthropic ToS.

Memory System

Built-in full-stack search engine (no external vector DB):

  • Vector: Embeddings as BLOBs in SQLite, cosine similarity
  • Keyword: FTS5 virtual tables, BM25 scoring
  • Hybrid: Weighted merge of vector + keyword results
  • Embeddings: OpenAI, custom URL, or noop
  • Chunking: Line-based markdown with heading preservation
  • Cache: SQLite LRU embedding cache
  • Reindex: Atomic FTS5 rebuild + missing vector re-embedding

The agent manages memory automatically via built-in tools.

Common Patterns

Deploy as daemon with Telegram

zeroclaw onboard --interactive          # configure provider + channel
zeroclaw channel bind-telegram 123456   # bind chat ID
zeroclaw daemon                         # start autonomous runtime

Webhook gateway

zeroclaw gateway --port 8080            # or --port 0 for random

Docker sandbox

# config.toml
[runtime]
kind = "docker"

Migration from OpenClaw

zeroclaw migrate openclaw --dry-run     # preview changes
zeroclaw migrate openclaw               # execute migration

Troubleshooting

IssueFix
Build OOMUse --prefer-prebuilt or add swap (need 2GB+)
Channel not respondingzeroclaw channel doctor
Auth expiredzeroclaw auth refresh --provider <p>
Config issueszeroclaw doctor
Gateway unreachableCheck port binding, firewall, pairing config
Memory search poorCheck embedding provider config, run reindex
Config schema JSON parse failszeroclaw config schema mixes INFO log lines with JSON — save to file and strip the log line first
Config changes not appliedzeroclaw service restart (or zeroclaw service stop && zeroclaw service start) then zeroclaw doctor

Common Mistakes

MistakeFix
Editing config while daemon is runningStop daemon first: zeroclaw daemon stop
Missing provider API key in configSet via zeroclaw auth add <provider> or env var
Using file paths in channel webhooksUse full URLs with protocol (https://...)
Skipping zeroclaw onboardRequired for initial profile + provider setup
Running without memory backend configuredDefaults work but set explicit backend for production

Security

Supports gateway pairing, Docker sandboxing, allowlists (tools/files/channels), rate limiting, filesystem scoping, and encrypted secrets at rest.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

glitchtip

No summary provided by upstream source.

Repository SourceNeeds Review
General

zeroclaw

No summary provided by upstream source.

Repository SourceNeeds Review
General

zeroclaw

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated