← 返回
开发者工具 中文

OpenClaw Workspace Doctor

Use when the user wants to inspect, repair, package, or troubleshoot an OpenClaw workspace doctor setup, especially for stale bootstrap state, missing daily...
用于检查、修复、打包或排查 OpenClaw 工作区医生设置,特别是处理陈旧的引导状态、缺失的每日...
transparent-heart
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 625
下载
💾 14
安装
1
版本
#latest

概述

OpenClaw Workspace Doctor

Overview

This skill runs the OpenClaw workspace doctor, applies safe workspace-local fixes, and handles the companion fixer for the external codex-cli backend config. Use it when the user asks to diagnose workspace startup drift, package the doctor tool, or repair the known --full-auto non-interactive stall risk.

When To Use It

  • The user asks to run or extend the workspace doctor tool.
  • The workspace has stale bootstrap/onboarding behavior.
  • Daily memory/YYYY-MM-DD.md notes are missing or inconsistent.
  • OpenClaw is hanging because codex-cli launches with --full-auto.
  • The user wants the doctor packaged as a repo or a Codex skill.

Workflow

  1. Run the doctor first:

python3 scripts/workspace_doctor.py

  1. If the problem is workspace-local, apply safe fixes:

python3 scripts/workspace_doctor.py --fix

  1. If the remaining problem is the external OpenClaw config, inspect or patch it with the companion fixer:

python3 scripts/fix_openclaw_codex_config.py --check

python3 scripts/fix_openclaw_codex_config.py

  1. If the environment blocks writing ~/.openclaw/openclaw.json, do not pretend the live fix happened. Report the sandbox restriction clearly and, if useful, use:

python3 scripts/fix_openclaw_codex_config.py --stdout

  1. For repo packaging tasks, update:
    • README.md
    • pyproject.toml
    • setup.py
    • tests/
    • .github/workflows/ci.yml
  1. Validate before closing:
    • python3 -m unittest discover -s tests
    • python3 scripts/workspace_doctor.py
    • python3 scripts/workspace_doctor.py --json
    • python3 /Users/xutao/.codex/skills/.system/skill-creator/scripts/quick_validate.py skills/openclaw-workspace-doctor

Repo Commands

  • Run doctor:

python3 scripts/workspace_doctor.py

  • Run doctor with fixes:

python3 scripts/workspace_doctor.py --fix

  • Emit JSON:

python3 scripts/workspace_doctor.py --json

  • Check external config:

python3 scripts/fix_openclaw_codex_config.py --check

  • Patch external config:

python3 scripts/fix_openclaw_codex_config.py

  • Print patched config without writing:

python3 scripts/fix_openclaw_codex_config.py --stdout

References

Scripts

  • scripts/run_doctor.py runs the packaged CLI.
  • scripts/fix_openclaw_config.py runs the external config fixer.
  • Prefer these wrappers or the repo-root scripts instead of retyping logic.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-19 19:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 671 📥 324,377
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,826
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,315