Install
openclaw skills install li-sentry-checkMulti-platform server inspection and health check skill. SSH into remote Linux servers using key-based authentication, run read-only inspection commands (CPU, memory, disk, network, services, security), and generate structured Markdown reports with anomaly highlighting. Use when the user asks to inspect servers, run health checks, check system metrics, perform 巡检/巡查, gather system status, or generate inspection reports. Compatible with nanobot, OpenClaw, and Hermes agent.
openclaw skills install li-sentry-checkMulti-platform server inspection and health check via SSH.
This skill is strictly read-only and does NOT:
references/targets.yaml, references/checks.yaml, and the SSH private key specified in keyPathtargets.yamlreferences/checks.yaml are allowedThis skill ONLY:
targets.yamlRead-only inspection of remote Linux hosts over SSH using a dedicated key. Collects system metrics, service status, security events, and generates a structured Markdown report with anomaly highlighting.
| Platform | Script | Runtime |
|---|---|---|
| OpenClaw | scripts/inspect.mjs | Node.js 24+ |
| NanoBot | scripts/inspect.py | Python 3.10+ |
| Hermes | scripts/inspect.py | Python 3.10+ |
references/checks.yamlreferences/targets.yamlreferences/checks.yamlpython3 scripts/inspect.py --target bogon --checks daily
node scripts/inspect.mjs --target bogon --checks daily
| Option | Description | Default |
|---|---|---|
--target | Target name from targets.yaml | (required) |
--checks | Check group: basic, services, daily | basic |
--format | Output format: markdown, json | markdown |
--output | Write report to file instead of stdout | stdout |
| Group | Description |
|---|---|
basic | Hardware resources: CPU, memory, disk, network |
services | Service status and error logs (from targets.yaml) |
daily | Full inspection: basic + services + security + logs |
references/targets.yamlreferences/checks.yamlchecks.yaml# Generate key pair
ssh-keygen -t rsa -b 4096 -f ~/.ssh/li_sentry_check -N ""
# Copy to remote server
ssh-copy-id -i ~/.ssh/li_sentry_check.pub inspector@<SERVER_IP>
# Test connection
ssh -i ~/.ssh/li_sentry_check inspector@<SERVER_IP>
chmod 600 ~/.ssh/li_sentry_checkknown_hosts instead of accept-newchecks.yaml with state-changing commandsReports are generated in Markdown format with:
li_sentry_check/
├── SKILL.md # This file
├── _meta.json # Skill metadata
├── references/
│ ├── targets.yaml # Target server configuration
│ └── checks.yaml # Command allowlist
└── scripts/
├── inspect.mjs # Node.js implementation (OpenClaw)
└── inspect.py # Python implementation (NanoBot/Hermes)