Refine in an IDE with Claude Code
Sync the basic OpenClaw brain from the VPS to your local machine so
you can refine locally. This is easier and saves tokens. Run the
three prompts below in order — each is one click to copy.
I want to refine my OpenClaw's training. Take a look at the existing structure and add anything that's missing. Then I will add in the training.
- IDENTITY.md — agent's self-description: name, vibe, emoji/avatar
- SOUL.md — character sheet: temperament, posture, values, voice, taste
- USER.md — my human profile: name, what to call me, timezone, preferred working style, communication norms
- AGENTS.md — practical playbook for any agent working in this repo. Includes definition-of-done defaults (commit/no commit, deploy/no deploy, screenshot/no screenshot, local server/no server) and the requirement that code tasks end with a meaningful verification step plus a short summary of changed files. Also defines the startup read order: which files the agent loads and in what sequence at session start.
- TOOLS.md — devices, MCPs, SSH aliases, common commands, hosts, project paths, deployment targets, browser profile notes. List only tools that are actually connected, not planned ones.
- RUNBOOK.md — production pull, restart, verification, rollback notes
- HEARTBEAT.md — recurring schedule and batched proactive checks (calendar, email, weather, project status). Defines when to stay quiet vs. proactively alert.
- EXTERNAL_ACTIONS.md — approval policy. Auto-approved: internal notes, file edits, repo scans, local tests, read-only API inspection. Always requires confirmation: email, calendar booking, public posts, deployments, purchases, account changes, payments, uploads, destructive settings, acting on someone else's behalf. Group chats: no private context unless explicitly asked. Prefer trash over permanent deletes.
- MEMORY.md — distilled long-term memory (decisions log, quirks). Triggered by "remember this." Workspace files are canonical, not chat history. No secrets, ever.
- Memory/ — FOLDER: daily raw notes as YYYY-MM-DD.md
- Agents/ — FOLDER: sub-agents OpenClaw invokes (reusable capabilities)
- Projects/ — FOLDER: work threads (venture- or role-scoped)
- Reference/ — FOLDER: long-lived reference docs maintained as canonical, including Reference/Operational-Preferences.md for writing style, tool routing, and design rules
- Skills/ — FOLDER: canonical custom skills, including Skills/CONTEXT.md for skill navigation policy
- Integrations/ — FOLDER: durable non-secret integration assets loaded by this runtime
- src/ — FOLDER: code OpenClaw writes
Please take all the research I did and flesh out all of the template files and folders in this codebase. Each folder level should include a README.md file to help the agent understand that folder and how to act within it.
After the AI has processed your research, your local files should be
a lot richer. Read and edit every file as best you can — this is
where your judgment becomes the agent's judgment. Then run the audit
prompt below before pushing.
Before I push to the VPS, audit my training files for the items below and flag anything that's wrong, missing, or risky.
- Approval policy is clear. Read EXTERNAL_ACTIONS.md and confirm the three boundaries that matter most: what's visible outside our org, what spends money, and what's irreversible. Anything in those buckets should require confirmation.
- No credentials in any file. Search for tokens, keys, passwords. Move anything sensitive into a password manager or a runtime secret path.
- TOOLS.md only lists what's actually connected. Planned tools belong in a separate "gap list" section, not in the active inventory.
- HEARTBEAT.md cadence is realistic. Start sparse. Default to "quiet unless there's something worth surfacing."
When the audit is clean, push the files up and I'll launch OpenClaw on the VPS.