Configure Clawdbot to work exactly how you want
Minimal ~/.clawdbot/clawdbot.json (model + defaults):
{
"agent": {
"model": "anthropic/claude-opus-4-5"
}
}
Recommended: Anthropic Pro/Max (100/200) + Opus 4.5 for long-context strength and better prompt-injection resistance.
Subscriptions (OAuth):
While any model is supported, Anthropic Pro/Max + Opus 4.5 is strongly recommended. You can configure model failover and auth profile rotation (OAuth vs API keys) with fallbacks.
Model configuration supports:
Clawdbot stores all its data in a workspace directory:
~/clawd (configurable via agents.defaults.workspace)AGENTS.md, SOUL.md, TOOLS.md~/clawd/skills/<skill>/SKILL.mdThe workspace is just folders and Markdown files on your machine. You can edit them directly, search them with tools like Raycast, or integrate them with Obsidian.
Important: Clawdbot connects to real messaging surfaces. Treat inbound DMs as untrusted input.
agents.defaults.sandbox.mode: "non-main" to run non-main sessions (groups/channels) inside per-session Docker sandboxes; bash then runs in Docker for those sessions.Sandbox defaults:
bash, process, read, write, edit, sessions_list, sessions_history, sessions_send, sessions_spawnbrowser, canvas, nodes, cron, discord, gatewayRun clawdbot doctor to surface risky/misconfigured DM policies.
Default behavior on Telegram/WhatsApp/Signal/iMessage/Microsoft Teams/Discord/Google Chat/Slack:
dmPolicy="pairing" / channels.discord.dm.policy="pairing" / channels.slack.dm.policy="pairing"): Unknown senders receive a short pairing code and the bot does not process their message.clawdbot pairing approve <channel> <code> (then the sender is added to a local allowlist store).dmPolicy="open" and include "*" in the channel allowlist (allowFrom / channels.discord.dm.allowFrom / channels.slack.dm.allowFrom).The Gateway is the control plane for Clawdbot. Key configuration options:
18789, configurable via gateway.port127.0.0.1 (loopback), configurable via gateway.bindgateway.tailscale.mode for Serve/Funnel accessgateway.auth.mode for password or token authConfigure agent behavior and defaults:
agent.model