Install, configure, and update openclaw-config
Manages your openclaw-config installation.
Users say things like:
Do these steps in order:
Clone repo to ~/src/openclaw-config
Copy templates to workspace root (don't overwrite existing): AGENTS.md, SOUL.md, USER.md, TOOLS.md, HEARTBEAT.md, IDENTITY.md
Create memory folders: memory/people, memory/projects, memory/topics,
memory/decisions
Copy skills to skills/
Optional: Add workflows — Ask if they want any workflows. List available
workflows from ~/src/openclaw-config/workflows/.
If yes for a workflow:
~/src/openclaw-config/workflows/<name>/ to
workflows/<name>/, preserving directory structure (e.g., platforms/ subdirs)rules.md, agent_notes.md, preferences.md,
processed.md, logs/workflows/<name>/logs/ directoryConfigure memory search — Required for semantic search to work. Ask: LM Studio (local, free, recommended) or OpenAI?
lmstudio-community/embedding-gemma-300m-qat, configure gateway
memorySearch.remote.baseUrl to http://127.0.0.1:1234/v1https://api.openai.com/v1, model text-embedding-3-smallPersonalization — Ask and replace in templates: {{USER_NAME}},
{{ASSISTANT_NAME}}, {{TIMEZONE}}, {{PRIORITY_1}}, {{PRIORITY_2}}
Optional skills — These are optional. Ask about each one individually, only configure if they say yes:
Skip any they don't use. Don't assume they want all of them.
Health check setup — Ask: "Do you want automated health monitoring? It runs hourly via cron (Claude Code + simple) to check your gateway and services, fix minor issues, and notify you of problems."
If yes:
mkdir -p ~/.openclaw then
write their answer to ~/.openclaw/health-check-admin (just the name, one line)which claude — use the full path in the cron job0 0,7-23 * * * test -f "$HOME/src/openclaw-config/devops/health-check.md" && flock -n "$HOME/.openclaw/health-check.lock" CLAUDE_PATH -p "Run health check" --model simple --append-system-prompt-file "$HOME/src/openclaw-config/devops/health-check.md" --dangerously-skip-permissions --max-budget-usd 5.00 >> "$HOME/.openclaw/health-check.log" 2>&1
crontab -l | grep health-check~/.openclaw/health-check.logTrack version in .openclaw/installed-version
Run diagnostics — Run openclaw doctor --non-interactive and review the output.
This validates config integrity, credential health, security posture, skill
eligibility, and memory search readiness. If doctor reports errors, fix them before
proceeding. If it reports warnings (e.g., open DM policy), note them in the summary
so the user can decide whether to address them.
Summary — Tell them what's configured, include any doctor warnings
Compare .openclaw/installed-version with ~/src/openclaw-config/VERSION.
If newer: pull, update skills (safe to overwrite), update templates only if user hasn't modified them, update version file, report changes.
If user wants to force/overwrite: backup to .openclaw/backup/ first.
Workflows: Update all upstream-owned files (AGENT.md, classifier.md, platform
guides, etc.), preserving directory structure. Never touch user-owned files: rules.md,
agent_notes.md, preferences.md, processed.md, logs/ — those belong to the user.
Show installed version and skill versions. Fetch remote VERSION, report if updates available.