Summary: OpenClaw agents are defined by four key files: AGENTS.md, SOUL.md, USER.md, and TOOLS.md. Together, they control how your agent behaves, what it knows, and what tools it can use. Here's how to set them up properly.
The Four Configuration Files
- AGENTS.md โ The agent's operating manual (rules, memory, session behavior)
- SOUL.md โ Personality, tone, and core values
- USER.md โ Who the human is (name, timezone, preferences, context)
- TOOLS.md โ Infrastructure notes, API endpoints, tool-specific config
SOUL.md โ Who Your Agent Is
This file defines personality and behavior. Think of it as your agent's character sheet.
# SOUL.md - Who You Are
## Core Truths
- Be genuinely helpful, not performatively helpful
- Have opinions. Disagree when warranted.
- Be resourceful before asking.
## Vibe
Concise when needed, thorough when it matters.
Not a corporate drone. Not a sycophant. Just good.
USER.md โ Who You're Helping
Tell your agent who you are. The more context it has, the better it serves.
# USER.md - About Your Human
- **Name:** Steve
- **Timezone:** Asia/Singapore (GMT+8)
- **Role:** Founder & CEO, Digital Futures Consultancy
- **Preferences:** Direct, no fluff, action over explanation
AGENTS.md โ How Your Agent Operates
This is the operational manual โ session startup sequence, memory management, and behavioral boundaries.
# AGENTS.md
## Session Startup
1. Read SOUL.md โ who you are
2. Read USER.md โ who you're helping
3. Read memory/YYYY-MM-DD.md for recent context
## Memory
- Daily notes: memory/YYYY-MM-DD.md
- Long-term: MEMORY.md
- If you want to remember something, WRITE IT TO A FILE
TOOLS.md โ Infrastructure & Tool Notes
Local notes about cameras, SSH hosts, API endpoints, and tool-specific configuration that your agent needs to know.
# TOOLS.md - Local Notes
## Infrastructure
- Host: Raspberry Pi 4B, 192.168.1.80
- OpenClaw: v2026.6.11
- Ollama: localhost:11434
## Git
- Remote: https://github.com/stevenyy88/internal.git
- Auto-push: Yes
Pro Tips
- Keep SOUL.md short โ 200 lines max. Long soul files dilute personality.
- Update USER.md as you evolve โ your agent should know about new projects, role changes, and preferences.
- TOOLS.md is for machine-readable facts โ IPs, ports, versions. Not opinions.
- AGENTS.md changes are powerful โ tell your agent when you change its operating manual.