How to Write AGENTS.md, SOUL.md, and TOOLS.md for OpenClaw
Write effective AGENTS.md, SOUL.md, USER.md, TOOLS.md, and MEMORY.md files for OpenClaw. What goes in each file, how to keep them small, and the mistakes that waste tokens.
119 articles · Page 4 of 10
Write effective AGENTS.md, SOUL.md, USER.md, TOOLS.md, and MEMORY.md files for OpenClaw. What goes in each file, how to keep them small, and the mistakes that waste tokens.
OpenClaw AGENTS.md controls agent behavior, memory, routing, and security across sessions. Structure it right or your agent forgets everything.
OpenClaw DM policy controls who can DM your bot. This guide covers all four modes, pairing, allowlist, open, and disabled, with config examples per channel.
openclaw logs flags, file location, config options, and real log patterns explained. Follow live output, configure log levels, and debug silent failures
OpenClaw API costs explained: monitor token usage with /status and /context detail, assign cheap models to routine tasks, and set provider-level spend limits
OpenClaw on DigitalOcean App Platform runs multi-agent AI without server management. This guide covers both deployment paths, sizing, and production config.
What openclaw doctor --fix does: removes invalid config keys, applies safe repairs, and fixes warnings. Every flag and warning message explained.
OpenClaw Feishu setup: create your app, configure the channel, approve pairing, and fix 4 common failure points including the v2026.2.14 dmPolicy change.
OpenClaw multi-agent setup from scratch. Configure agents.list, write bindings, route by channel or sender, and set per-agent sandboxes on one server.
Fix an OpenClaw Discord bot that connects but stays silent. Diagnostic flowchart covering pairing approval, server members intent, guild allowlist, and log analysis.
Fix your OpenClaw Discord bot responding in wrong channels or servers. Configure guild and channel allowlists, find Discord IDs, and manage multi-server setups.
Fix OpenClaw Discord gateway error 4014 by enabling Message Content Intent in the Discord developer portal. Step-by-step walkthrough with verification.