openclaw-config-guard
Audit and safely repair OpenClaw configuration with deterministic validation, backups, rollback, and change reporting. Use when asked to review or modify `openclaw.json`, check whether OpenClaw can still start, safely fix startup-blocking config errors, or audit OpenClaw config before deciding on changes.
Best use case
openclaw-config-guard is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Audit and safely repair OpenClaw configuration with deterministic validation, backups, rollback, and change reporting. Use when asked to review or modify `openclaw.json`, check whether OpenClaw can still start, safely fix startup-blocking config errors, or audit OpenClaw config before deciding on changes.
Teams using openclaw-config-guard should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openclaw-config-guard/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How openclaw-config-guard Compares
| Feature / Agent | openclaw-config-guard | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Audit and safely repair OpenClaw configuration with deterministic validation, backups, rollback, and change reporting. Use when asked to review or modify `openclaw.json`, check whether OpenClaw can still start, safely fix startup-blocking config errors, or audit OpenClaw config before deciding on changes.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# OpenClaw Config Guard Audit first. Repair only when the fix is proven. Protect startup over aesthetics. ## Required Sources Before making any judgment, open the official docs listed in [references/official-sources.md](references/official-sources.md). Treat them as the source of truth for schema, allowed values, and repair guidance. Do not rely on memory for config rules. ## Workflow 1. Resolve the active config path: ```bash python3 "<skill-dir>/scripts/config_guard.py" resolve-path --json ``` If that fails, fall back to `~/.openclaw/openclaw.json`. 2. Run a deterministic audit before touching the file: ```bash python3 "<skill-dir>/scripts/config_guard.py" audit --doctor ``` This wraps: - `openclaw config validate --json` - optional `openclaw doctor --non-interactive` 3. Classify findings: - `startup blockers`: JSON5 parse failures, schema validation failures, unknown keys, wrong types, invalid enum values, missing required structure, or clearly conflicting settings that prevent startup. - `recommendations`: suspicious but non-blocking items such as duplicate plugin IDs, stale-but-working config, style cleanup, or non-critical hardening suggestions. 4. Decide whether you may auto-fix: - Only auto-fix if the issue is a startup blocker. - Only auto-fix if the docs or CLI output clearly show the correct repair. - Prefer `openclaw config set` / `openclaw config unset` for exact path edits. - Use manual JSON5 edits only when the CLI cannot express the required change and preserving comments or structure matters. - Never run `openclaw doctor --fix` by default. - Never restart OpenClaw by default. 5. Backup before any write: ```bash python3 "<skill-dir>/scripts/config_guard.py" backup --json ``` 6. Re-validate after any write: ```bash python3 "<skill-dir>/scripts/config_guard.py" validate --doctor --json ``` If post-change validation fails, roll back immediately from the backup and say so in the report. 7. Summarize what changed: ```bash python3 "<skill-dir>/scripts/config_guard.py" diff --before /path/to/before --after /path/to/after --json ``` If you want a deterministic report frame, prepare a JSON manifest and run: ```bash python3 "<skill-dir>/scripts/config_guard.py" report --manifest /path/to/manifest.json ``` `<skill-dir>` means the directory that contains this `SKILL.md`. Resolve relative paths against this skill directory instead of assuming any environment variable is set. ## Decision Boundaries - Do not change non-blocking issues without user approval. - Do not guess undocumented keys or values. - Do not rewrite the whole config just to normalize formatting. - Do not claim success without rerunning validation. - Do not leave the user without a backup path, modified paths list, and post-change validation result. ## Report Requirements The final Markdown report must include: - official sources consulted - active config path - pre-change validation result - startup blockers found - automatic fixes applied - issues intentionally not auto-fixed and why - non-blocking recommendations for user decision - modified config paths - backup path - post-change validation result - whether manual restart is needed, and why ## Resources - Official source list: [references/official-sources.md](references/official-sources.md) - Deterministic helper script: [scripts/config_guard.py](scripts/config_guard.py)
Related Skills
weekly-report
周报生成助手专门负责将用户输入的工作内容整理成符合格式要求的规范周报,并支持转换为 Word 文档。当用户要求生成周报、整理个人工作内容、或请求转成 Word 文档时,**必须**调用此技能。即使只提到"写一下这周的工作"、"帮我整理一下工作内容"等模糊表述,也应该使用此技能。
video-summarizer
Download videos from URLs (YouTube, Bilibili, and any yt-dlp supported platform), transcribe speech to text using Whisper, generate a structured summary, and save both the summary and full transcript as linked Obsidian notes. Use this skill whenever the user wants to summarize a video, transcribe video content, extract key points from a video, or save video notes to Obsidian. Also trigger when the user shares a video URL and asks for analysis, notes, or a recap.
twitter-algorithm-optimizer
Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.
tavily
AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
summarize
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
skill-market
Use this skill to find, explore, and install new skills from the Zerone Skill Market (https://api.zerone.market/api). Trigger this when the user asks to "add a skill", "install a skill", "browse skills", or mentions a skill name that is not currently installed.
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
reports-summary
专业的周报汇总助手,负责将团队成员的周报整理成标准格式的汇总报告,并支持转换为 Word 文档。当用户提及"周报"、"汇总"、"总结"、"报告整理",或需要处理 .docx 周报文件、生成团队工作汇总、将 Markdown 转为 Word 文档时,**必须**调用此技能。即使只提到"看看这周的工作"、"整理一下大家的工作内容"等模糊表述,也应该使用此技能。
customaize-agent:prompt-engineering
Use this skill when you writing commands, hooks, skills for Agent, or prompts for sub agents or any other LLM interaction, including optimizing prompts, improving LLM outputs, or designing production prompt templates.
proactive-agent
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞
playwright-skill
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.