Community编程与开发github.com

healthcheck

审计/加固 OpenClaw 主机:SSH、防火墙、更新、暴露面、备份、磁盘加密、网关安全。

healthcheck 是什么?

该技能用于对 OpenClaw 主机进行全面的安全健康检查与加固。它首先执行只读检查,收集操作系统版本、权限级别、访问路径、网络暴露面、网关状态、备份与磁盘加密等上下文信息,随后评估风险并给出分阶段、可逆的加固方案。技能支持 macOS、Linux 与 Windows 平台,运行 `openclaw security audit --deep`、`openclaw gateway status --deep` 及 `openclaw doctor --lint` 等常见命令进行深度审计。在每一步都要求用户明确批准,确保不破坏现有访问路径,并且特别声明 OpenClaw 不直接管理 OS 防火墙、SSH 或更新。最终生成包含当前状态、严重程度、证据及加固菜单的报告,帮助用户在便利性、平衡性与严格性三种姿态之间做出选择。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/healthcheck

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

OpenClaw 主机健康检查

目标:评估主机风险,执行只读检查,然后在不中断访问的前提下提出分阶段加固方案。

规则

  • 状态变更操作前必须征询用户。
  • 在确认访问路径之前,不得更改 SSH/防火墙/远程访问配置。
  • 优先选择可逆步骤并附上回滚说明。
  • 绝不声称 OpenClaw 管理操作系统防火墙、SSH 或更新。
  • 若身份/角色未知,仅给出建议。
  • 用户选项以编号列表呈现。
  • 绝不打印机密信息。

优先推断的上下文

  • 操作系统及版本,容器 vs 主机。
  • 权限级别。
  • 访问路径:本地、SSH、RDP、tailnet。
  • 网络暴露面:公网 IP、反向代理、隧道、仅局域网。
  • OpenClaw 网关状态、绑定地址、认证方式。
  • 备份状态。
  • 磁盘加密情况。
  • 自动安全更新状态。
  • 使用模式:个人工作站、本地助手盒子、远程服务器、其他。

仅就缺失的信息进行询问。措辞简洁优先。

只读检查

一次性请求执行只读检查的许可,然后运行相关命令。

通用:

openclaw security audit --deep
openclaw gateway status --deep
openclaw doctor --lint

doctor --lint 可能返回退出码 1 表示有发现项:阅读报告后继续其余检查。普通 doctor 和 doctor --non-interactive 会在不使用 --fix 的情况下复制旧配置并迁移状态;保留修复操作以供明确批准。只读检查不包括配置/服务修复及状态迁移,但可能产生附带日志或缓存记账。

macOS:

sw_vers
lsof -nP -iTCP -sTCP:LISTEN
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
pfctl -s info
tmutil status
fdesetup status
softwareupdate --schedule

Linux:

cat /etc/os-release
ss -ltnup || ss -ltnp
ufw status || firewall-cmd --state || nft list ruleset
systemctl status ssh sshd
lsblk -f

Windows:

systeminfo
Get-NetFirewallProfile
Get-BitLockerVolume

风险画像

了解上下文后,询问期望的安全姿态:

  1. 便利型:本地/私密环境,最小化提示。
  2. 均衡型:安全默认值,低摩擦。
  3. 严格型:远程/公网/敏感数据环境,更严格的锁定。

报告格式

  • 当前状态:一段概述。
  • 发现项:严重程度 + 证据 + 重要性说明。
  • 推荐方案:分阶段、可逆。
  • 命令:仅只读命令;写操作需批准后执行。
  • 缺口:未能检查的内容。

加固菜单

仅提供相关项:

  • 将网关绑定到回环地址/局域网/tailnet(按需选择)。
  • 要求远程访问需认证。
  • 关闭公网端口或通过防火墙限制。
  • 启用操作系统安全更新。
  • 启用磁盘加密。
  • 验证备份及恢复路径。
  • 在适当情况下禁用密码 SSH 或要求密钥/MFA。
  • 添加定时 openclaw security audit --deep 任务。

应用前需确认具体操作。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能