system-health-check
由 satoshistackalotto 提供
Health & Fitness简介
System health validator — checks skill files, paths, permissions, binaries, backup freshness, and encryption.
描述
该技能的功能
Validates the OpenClaw Greek Accounting system in a single command. Checks skill file integrity, directory structure, file permissions, required dependencies, backup freshness, process lock health, and encryption status. Every failure includes a specific remediation command.
Covers every layer from skill files to encryption in one command with specific remediation steps per failure, instead of manually running separate checks across each system component.
何时使用
- Running a pre-flight check before monthly Greek accounting close
- Verifying backup freshness after an unexpected system restart
- Detecting stale process locks left by a crashed operation
- Confirming permission integrity on sensitive client data directories
- Scheduling deep hash verification as a weekly cron job
示例工作流
User asks: Run the standard daily health check and save a report
- 1
Run
openclaw health-check --standard --save-report - 2
Check each category: skills, directories, permissions, dependencies, backups, locks, encryption
- 3
Collect pass/fail/warn results with details for each check
- 4
Write JSON report to /data/reports/system/ with timestamp and remediation commands
- 5
Print summary and exit with code 0 for pass/warn or code 1 for any failure
Console report showing per-category results and a JSON file at /data/reports/system/health-check_YYYYMMDD_HHMMSS.json listing all failures with remediation commands
前置要求
- OPENCLAW_DATA_DIR environment variable
- OPENCLAW_ENCRYPTION_KEY environment variable (required for encryption checks on sensitive directories)
安装
clawhub install satoshistackalotto/system-health-check运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。