System Prompt
Clawdbot builds a custom system prompt for every agent run. The prompt is Clawdbot-owned and does not use the p-coding-agent default prompt. The prompt is assembled by Clawdbot and injected into each agent run.Structure
The prompt is intentionally compact and uses fixed sections:- Tooling: current tool list + short descriptions.
- Skills: tells the model how to load skill instructions on demand.
- Clawdbot Self-Update: how to run
config.applyandupdate.run. - Workspace: working directory (
agents.defaults.workspace). - Workspace Files (injected): indicates bootstrap files are included below.
- Time: UTC default + the user’s local time (already converted).
- Reply Tags: optional reply tag syntax for supported providers.
- Heartbeats: heartbeat prompt and ack behavior.
- Runtime: host, OS, node, model, thinking level (one line).
Workspace bootstrap injection
Bootstrap files are trimmed and appended under Project Context so the model sees identity and profile context without needing explicit reads:AGENTS.mdSOUL.mdTOOLS.mdIDENTITY.mdUSER.mdHEARTBEAT.mdBOOTSTRAP.md(only on brand-new workspaces)
Time handling
The Time line is compact and explicit:- Assume timestamps are UTC unless stated.
- The listed user time is already converted to
agents.defaults.userTimezone(if set).
agents.defaults.userTimezone in ~/.clawdbot/clawdbot.json to change the user time zone.
Skills
Skills are not auto-injected. Instead, the prompt instructs the model to useread to load skill instructions on demand: