简介
OpenClaw 部署轻量级健康检查与安全审计工具,快速评估网关状态、配置风险与暴露面,辅助生产环境就绪判断。
原始描述
This skill should be used when the user asks for an OpenClaw health check, OpenClaw security audit, server hardening review, exposure review, gateway safety...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心用法
openclaw-healthcheck 是一款面向 OpenClaw 部署的轻量级运维与安全诊断技能。用户通过调用该技能,可在目标机器上自动执行健康检查脚本,获取涵盖网关可达性、进程状态、开放端口监听、配置文件风险模式、浏览器会话/中继暴露面、近期日志异常及更新/runtime 卫生状况等多维度的诊断结果。
执行命令为:node {baseDir}/scripts/healthcheck.mjs,输出标准化 JSON,包含评分(score)、判定结论(verdict)、发现项(findings)、修复建议(recommendations)及证据链(evidence)。判定结论分为三档:
- PASS:未发现重大运维或安全问题
- WARN:可用但存在风险或配置不完整
- FAIL:检测到高风险暴露或运行故障
显著优点
- 开箱即用:无需复杂配置,单命令触发,适合 CI/CD 集成或日常巡检。
- 覆盖关键风险面:同时检查网络层(开放端口)、配置层(风险模式)、运行层(日志/进程)及更新 hygiene,降低单一维度盲区。
- 结构化输出:JSON 格式便于自动化解析,支持与其他 DevOps 工具链对接。
- 轻量低侵入:仅执行读取类操作,不对生产环境产生副作用。
潜在缺点与局限性
- 非全面渗透测试:明确定位为轻量级检查,无法替代专业渗透测试或代码审计。
- 判定存在误报/漏报可能:
PASS结果不代表绝对安全,互联网暴露系统仍需人工复核。 - 依赖脚本环境:需 Node.js 运行时及脚本文件完整性,若
baseDir路径或脚本缺失则无法执行。 - 无自动修复能力:仅输出建议,不执行任何自动加固操作。
适合人群
- OpenClaw 运维工程师与 SRE
- 负责生产环境就绪评审的技术负责人
- 安全合规团队进行前置自检
- CI/CD 流水线集成自动化健康检查
常规风险
- 过度依赖风险:使用者可能将
PASS误判为生产安全绿灯,忽视互联网暴露带来的持续威胁。 - 脚本篡改风险:若
healthcheck.mjs被恶意替换,可能输出虚假安全结论。 - 敏感信息泄露:检查过程中可能读取配置文件、日志,需确保执行环境权限最小化,防止输出 JSON 中携带敏感数据被非授权访问。
- 环境漂移:运行环境与实际生产配置不一致时,检查结果可能失去参考价值。
技能正文
name: openclaw-healthcheck description: This skill should be used when the user asks for an OpenClaw health check, OpenClaw security audit, server hardening review, exposure review, gateway safety check, or production-readiness audit for a machine running OpenClaw.
OpenClaw Healthcheck
Run a lightweight operational and security review for an OpenClaw deployment.
What this skill checks
- gateway reachability and process status
- exposed listeners / suspicious open ports
- risky config patterns in the running OpenClaw config
- browser session / relay surface hints
- recent log errors worth operator attention
- update / runtime hygiene signals
When to use
Use this skill when a user asks:
- "run an OpenClaw health check"
- "audit my OpenClaw security"
- "is this OpenClaw deployment safe"
- "check my OpenClaw server exposure"
- "review my OpenClaw setup before production"
- "why does my OpenClaw runtime feel unhealthy"
Workflow
- Confirm target machine / workspace.
- Run the bundled healthcheck script.
- Review score, findings, and recommendations.
- If findings are high-risk, stop and fix before wider rollout.
Command
node {baseDir}/scripts/healthcheck.mjs
Output format
The script returns JSON with:
- score
- verdict
- findings
- recommendations
- evidence
Verdicts
PASS— no major operational or security issue detected in this lightweight passWARN— usable but risky or incompleteFAIL— high-risk exposure or broken runtime detected
Important limits
- This is a lightweight operator check, not a full penetration test.
- A
PASSresult does not guarantee safety. - Human review is still required for internet-exposed systems.
References
{baseDir}/references/checklist.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。