← 返回 Skills 市场
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-self-check
功能描述
系统自检工具。全面检查环境配置、文件完整性、Gateway、备份状态、日志报错、磁盘用量等,汇报问题并给出修复建议(不主动修复)。兼容 workspace/workspace-xxx 两种命名。
使用说明 (SKILL.md)
When to Use
- 用户要求进行系统自检
- 环境更新后验证配置
- 排查问题前的基础检查
- 定期健康检查
核心原则 ⚠️
只检查、汇报、建议,绝不主动修复
- ❌ 不自动安装任何包
- ❌ 不自动修改任何配置文件
- ❌ 不自动重启任何服务
- ✅ 只汇报发现的问题
- ✅ 只给出修复建议命令
- ✅ 等待用户确认后再执行修复
自检项目
1. Node.js 环境
- Node.js 版本(需 >= 22.12.0)
- nvm 是否可用
- npm 版本
2. OpenClaw 核心
- Gateway 状态
- Gateway 进程 node 版本
- 插件加载状态(acpx, qqbot, discord 等)
3. 配置文件
- openclaw.json 语法正确
- 必要的 channel 配置存在
4. Agent 文件
- SOUL.md 存在(必需)
- USER.md 存在(必需)
- AGENTS.md 存在(必需)
- MEMORY.md 存在(可选,用于长期记忆)
- memory/ 目录(每日记录)
- self-improving/ 目录(学习记忆)
5. Skills 详细检查
- skill 目录结构完整(SKILL.md, scripts/, config.json)
- Python 模块依赖是否安装
- 外部工具是否可用
6. MCP 检查
- acpx 插件版本
- acpx 二进制文件
- acpx 运行时后端状态
7. API Token
- 环境变量中的 API key
- 配置文件中的 API key(不显示值)
8. 权限
- workspace 目录权限
- .openclaw 目录权限
- skills 目录可写性
输出格式
# 🔍 自检报告
## ✅ 通过项
- Node.js (nvm): v22.22.1 ✅
- Gateway: 运行中 ✅
## ⚠️ 警告项
- telegram: 未启用(可选)
## ❌ 问题项
### 1. 🔴 Skill aliyun-stt: 缺少 Python 模块 'dashscope'
修复建议: pip3 install dashscope --break-system-packages
⚠️ 请手动执行上述命令,不要自动修复
执行方式
python3 ~/.openclaw/workspace-ptilopsis/skills/self-check/scripts/self_check.py
注意事项
- 绝不主动修复 - 只汇报问题和建议
- 所有修复命令需用户手动执行
- 敏感信息(如 token)只显示是否配置,不显示值
- 检查结果按严重程度排序(错误 > 警告 > 通过)
安全使用建议
This skill is reasonable for manual OpenClaw health checks. Before using it, verify the package identity/version, run it only in the intended OpenClaw workspace, and do not blindly execute suggested repair commands or share reports that might reveal local configuration details.
功能分析
Type: OpenClaw Skill
Name: openclaw-self-check
Version: 2.1.0
The skill is a comprehensive system diagnostic tool that performs environment checks, log analysis, and dependency verification. While its behavior is aligned with its stated purpose and it includes explicit safety instructions in SKILL.md to avoid automatic fixes, it is classified as suspicious due to high-risk implementation patterns. Specifically, scripts/self_check.py utilizes subprocess.run(shell=True) for executing system commands, which introduces shell injection vulnerabilities, and it performs broad read operations on sensitive files including logs, configuration files, and environment variables to check for the presence of API keys.
能力标签
能力评估
Purpose & Capability
The stated purpose is coherent with checking Node/npm, Gateway status, OpenClaw files, skills, permissions, and configuration. The API-token presence check is sensitive but disclosed and says values are not displayed.
Instruction Scope
The skill repeatedly says it only reports issues and gives repair suggestions, and that fixes must be executed manually by the user.
Install Mechanism
There is no install spec, but the skill includes a runnable Python helper. Registry metadata declares node/npm but not python3, and the embedded _meta.json has owner/version/slug inconsistencies with the registry record.
Credentials
The script checks the local OpenClaw workspace, config files, skills, memory directory presence, local processes, and ports. This is proportionate for a self-check tool but should be understood before running.
Persistence & Privilege
The visible artifacts do not show persistence, automatic repair, service restarts, file modification, credential exfiltration, or privileged writes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-self-check - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-self-check触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
路径检测兼容 workspace/workspace-xxx;新增备份状态、日志报错、磁盘状态三项检测;nvm 可选
元数据
常见问题
Self-Check Enhanced 是什么?
系统自检工具。全面检查环境配置、文件完整性、Gateway、备份状态、日志报错、磁盘用量等,汇报问题并给出修复建议(不主动修复)。兼容 workspace/workspace-xxx 两种命名。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 Self-Check Enhanced?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-self-check」即可一键安装,无需额外配置。
Self-Check Enhanced 是免费的吗?
是的,Self-Check Enhanced 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Self-Check Enhanced 支持哪些平台?
Self-Check Enhanced 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Self-Check Enhanced?
由 TangSuann(@tangsuann)开发并维护,当前版本 v2.1.0。
推荐 Skills