Out of the box, OpenClaw agents are helpful but generic. With a few configuration steps, you can give your agent a specific name, personality, areas of focus, and a set of behaviors that make it feel like a custom-built assistant rather than a default chatbot.
This guide covers two approaches: BOOTSTRAP.md (for first-boot behavior) and system prompt configuration (for persistent behavior).
How OpenClaw Reads Instructions
OpenClaw agents check for a BOOTSTRAP.md file on startup. If it exists, the agent reads it, follows the instructions, and then deletes the file โ so it only runs once. Think of it as a birth certificate that shapes the agent's initial identity.
For persistent behavior โ instructions that apply to every conversation โ you configure the system prompt in the agent's config.
Using BOOTSTRAP.md
BOOTSTRAP.md lives at:
(also check: ~/.openclaw/agents/main/BOOTSTRAP.md as a fallback)
Create the file before starting your agent for the first time, or before a fresh restart after clearing sessions.
Example BOOTSTRAP.md:
When the agent boots and reads this, it adopts the persona and instructions. The file is then deleted, but the context remains active in the session.
Persistent System Prompt via Config
For instructions that should apply in every new session, add them to the agent config:
Or edit the config JSON directly at ~/.openclaw/openclaw.json.
Practical Customization Ideas
Custom Name
Give your agent a name your team will actually use:
Focus Area
Constrain the agent to what matters:
Communication Style
Match your brand voice:
Approval Gates
Prevent the agent from taking actions without confirmation:
Session Reset and Re-Bootstrapping
Because OpenClaw deletes BOOTSTRAP.md after reading it, re-customizing requires:
- Clear the session (to start fresh):
- Write a new BOOTSTRAP.md
- Restart the gateway:
The SimplifyClaw Approach
With SimplifyClaw, you can set your agent's custom instructions directly from the dashboard โ no file editing, no terminal. Changes take effect after a quick agent restart, which the dashboard handles with one click.
If you're starting from scratch, deploy your OpenClaw agent with SimplifyClaw and customize it from the web UI without touching a single config file.