Install
openclaw skills install @gregtysick/bootstrap-reviewReview an agent workspace's boot files (AGENTS.md, USER.md, SOUL.md, MEMORY.md, IDENTITY.md, TOOLS.md, and optional HEARTBEAT.md) against registry-backed context notes and produce a concise audit, refactor recommendations, and optional staged rewrites. Use when the user asks to review boot files, audit bootstrap files, refactor agent context files, check USER/SOUL/AGENTS redundancy, validate boot-file references, or compare current boot files against shared user context.
openclaw skills install @gregtysick/bootstrap-reviewRun a chat-first review wizard for agent boot files. This skill audits the current boot files for one agent, reads only the registered supporting context for that agent, and then produces:
Keep this skill review-first. Do not silently rewrite live boot files. Default to audit + recommendations. Only produce staged replacement drafts if the user asks. Do not write in place unless the user explicitly requests it.
Treat these as the main boot files:
IDENTITY.mdSOUL.mdUSER.mdMEMORY.mdAGENTS.mdTOOLS.mdHEARTBEAT.mdThis skill exists to keep boot files:
This skill is not a general note summarizer. This skill is not a giant memory compiler. This skill should read the registered context once, use it to judge the boot files, and then recommend the leanest stable boot layer that still does the job.
IDENTITY.md should answer who this agent is.SOUL.md should answer how this agent should feel and behave.USER.md should answer what stable facts and preferences about Greg matter to this agent.MEMORY.md should define what belongs in durable memory for this agent.AGENTS.md should define the agent's job, scope, boundaries, and decision posture.TOOLS.md should define tool posture, not repeat the entire mission._Core are not good enough unless they resolve to an actual mounted or registry-backed path pattern that the agent can use reliably.Preferred registry file:
~/.openclaw/registries/boot_context_registry.jsonThis registry defines which context files should be consulted for each agent during review. The registry is for this skill only. It is not meant to be loaded on every normal agent turn.
If the registry file does not exist:
{}Use one object keyed by agent id. Each agent entry may contain:
workspaceboot_filesshared_contextagent_contextreview_goalsstaging_dirPreferred example:
{
"assistant": {
"workspace": "~/.openclaw/workspaces/assistant",
"boot_files": [
"IDENTITY.md",
"SOUL.md",
"USER.md",
"MEMORY.md",
"AGENTS.md",
"TOOLS.md",
"HEARTBEAT.md"
],
"shared_context": [
{
"type": "path_registry_key",
"key": "USER_CONTEXT"
}
],
"agent_context": [
{
"type": "workspace_relative",
"path": "notes/assistant-role-notes.md",
"required": false
}
],
"review_goals": [
"shorten boot files",
"remove redundancy",
"validate references",
"keep assistant as front door and secretary"
],
"staging_dir": ".boot-review"
}
}
path_registry_keyResolve the key from ~/.openclaw/registries/path_registry.json.
Use the resolved wsl path for reading.
If the key is missing or incomplete, report it.
Do not guess.
workspace_relativeResolve relative to the agent workspace.
absolute_wslRead the explicit WSL path. Use sparingly.
mount_relativeResolve relative to the agent workspace, intended for mounted folders such as:
context/greg/profile.mdcontext/greg/how-i-work.mdFor each selected agent, audit the boot files for:
IDENTITY.md, AGENTS.md, and TOOLS.mdUSER.md, AGENTS.md, and SOUL.mdDefault output should be compact and decision-ready. For each file, produce:
Then produce a cross-file section:
If the user asks for draft replacements, create them in the agent's staging_dir.
Do not overwrite live files by default.
Preferred staging directory:
<workspace>/.boot-review/Write staged replacements with the same filenames, for example:
.boot-review/AGENTS.md.boot-review/USER.mdAlso write a summary note:
.boot-review/review-summary.mdTreat requests like these as a request to run this skill:
boot file reviewreview boot filesaudit boot filesreview AGENTS USER SOULbootstrap file reviewagent file reviewrefactor boot filescheck agent files for redundancyreview assistant boot filesreview daily coach boot filesreview system engineer boot filesWhen triggered, open this menu:
**Bootstrap Review**
**Registry file:** ~/.openclaw/registries/boot_context_registry.json
1. Review assistant
2. Review daily-coach
3. Review system_engineer
4. View registry
5. Edit registry guidance
6. Create draft replacements
7. Quit
Reply with 1, 2, 3, 4, 5, 6, or 7.
If the registry file does not exist yet, say:
**Bootstrap Review**
**Registry file:** ~/.openclaw/registries/boot_context_registry.json
Status: not created yet
1. Create registry
2. Quit
Reply with 1 or 2.
When reviewing one agent:
If any required registry-backed context is missing:
missing contextWhen creating draft replacements:
review-summary.md explaining the main changesThe skill may help the user create or adjust the registry, but keep the interaction simple. Use:
review_goalsstaging_dirDo not turn this into a giant general registry editor. Keep it boot-review-specific.
Use these default review goals if none are set:
Prefer direct review language like:
good as-isshortenmove to context noteremove duplicate with USER.mdreference is too vaguereplace placeholder with real path or mounted folderbelongs in MEMORY.md insteadbelongs in AGENTS.md insteadAvoid vague language like:
maybe improvefeels okaymight be betterBe specific.