[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76YW4JN2HA35903P14B8PC3":3,"skill-same:01M76YW4JN2HA35903P14B8PC3":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M76YW4JN2HA35903P14B8PC3","system-health-check",null,"System health validator — checks skill files, paths, permissions, binaries, backup freshness, and encryption. Produces pass\u002Ffail reports.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsatoshistackalotto\u002Fsystem-health-check\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: system-health-check\ndescription: System health validator — checks skill files, paths, permissions, binaries, backup freshness, and encryption. Produces pass\u002Ffail reports.\nversion: 1.0.0\nauthor: openclaw-greek-accounting\nhomepage: https:\u002F\u002Fgithub.com\u002Fsatoshistackalotto\u002Fopenclaw-greek-accounting\ntags: [\"greek\", \"accounting\", \"health-check\", \"monitoring\", \"diagnostics\"]\nmetadata: {\"openclaw\": {\"requires\": {\"bins\": [\"jq\", \"openssl\", \"openclaw\"], \"env\": [\"OPENCLAW_DATA_DIR\"]}, \"notes\": \"Read-only validation skill. Checks file presence, directory structure, permissions, and backup freshness. Never modifies any data. openssl is used only for hash verification.\", \"path_prefix\": \"\u002Fdata\u002F in examples refers to $OPENCLAW_DATA_DIR (default: \u002Fdata\u002F)\"}}\n---\n\n# System Health Check\n\nThis skill validates the entire OpenClaw Greek Accounting system in a single command. It checks skill file integrity, directory structure, file permissions, required dependencies, backup freshness, encryption status, and process lock health. Designed to run daily via cron or manually before critical operations.\n\n\n## Setup\n\n```bash\nexport OPENCLAW_DATA_DIR=\"\u002Fdata\"\nwhich jq openssl || sudo apt install jq openssl\n```\n\nRead-only validation skill. Checks file presence, directory structure, permissions, and backup freshness. Never modifies any data.\n\n\n## Core Philosophy\n\n- **Fast & Non-Destructive**: Read-only checks — never modifies any data\n- **Comprehensive**: Covers every layer from skill files to encryption status\n- **Actionable Output**: Every failure includes a specific remediation command\n- **Cron-Friendly**: Exit code 0 for all-pass, exit code 1 for any failure\n- **English Output**: Plain English report suitable for accounting assistants and system admins\n\n## OpenClaw Commands\n\n### Full Health Check\n```bash\n# Run all checks\nopenclaw health-check --all\n\n# Run all checks with verbose output\nopenclaw health-check --all --verbose\n\n# Run all checks and write report to \u002Fdata\u002Freports\u002Fsystem\u002F\nopenclaw health-check --all --save-report\n```\n\n### Individual Check Categories\n```bash\n# Check skill files only\nopenclaw health-check --skills\n\n# Check directory structure against canonical data map\nopenclaw health-check --directories\n\n# Check file permissions on sensitive directories\nopenclaw health-check --permissions\n\n# Check required binaries and dependencies\nopenclaw health-check --dependencies\n\n# Check backup freshness and integrity\nopenclaw health-check --backups\n\n# Check for stale process locks\nopenclaw health-check --locks\n\n# Check encryption status on sensitive directories\nopenclaw health-check --encryption\n\n# Check data integrity hashes\nopenclaw health-check --integrity\n```\n\n### Scheduled Checks\n```bash\n# Quick check — skills + directories + locks (for hourly cron)\nopenclaw health-check --quick\n\n# Standard check — everything except full integrity hash verification (for daily cron)\nopenclaw health-check --standard\n\n# Deep check — all checks including full hash verification (for weekly cron)\nopenclaw health-check --deep\n```\n\n## Check Specifications\n\n### 1. Skill File Validation\n\nVerifies all 19 operational skills and the canonical data map are present and well-formed.\n\n```yaml\nSkill_File_Checks:\n  presence:\n    description: \"Every skill folder contains a SKILL.md file\"\n    expected_count: 20\n    check: \"ls skills\u002F*\u002FSKILL.md\"\n    \n  frontmatter:\n    description: \"Every SKILL.md has valid YAML frontmatter with required fields\"\n    required_fields: [\"name\", \"description\", \"version\", \"author\", \"tags\", \"metadata\"]\n    check: \"Parse frontmatter block between --- delimiters\"\n    \n  evals:\n    description: \"Every operational skill has an EVALS.json file\"\n    expected_count: 19\n    excluded: [\"canonical-data-map\"]\n    check: \"ls skills\u002F*\u002FEVALS.json, validate JSON syntax\"\n    \n  evals_content:\n    description: \"Each EVALS.json contains at least 5 test cases\"\n    minimum_cases: 5\n    check: \"Parse JSON, count array length\"\n\n  skill_inventory:\n    - \"canonical-data-map\"\n    - \"accounting-workflows\"\n    - \"greek-compliance-aade\"\n    - \"cli-deadline-monitor\"\n    - \"greek-email-processor\"\n    - \"greek-individual-taxes\"\n    - \"openclaw-greek-accounting-meta\"\n    - \"aade-api-monitor\"\n    - \"greek-banking-integration\"\n    - \"greek-document-ocr\"\n    - \"efka-api-integration\"\n    - \"dashboard-greek-accounting\"\n    - \"client-data-management\"\n    - \"user-authentication-system\"\n    - \"conversational-ai-assistant\"\n    - \"greek-financial-statements\"\n    - \"client-communication-engine\"\n    - \"system-integrity-and-backup\"\n    - \"analytics-and-advisory-intelligence\"\n    - \"memory-feedback\"\n```\n\n### 2. Directory Structure Validation\n\nChecks all canonical directories exist under `\u002Fdata\u002F` as specified in the canonical data map (Skill 00).\n\n```yaml\nDirectory_Checks:\n  top_level:\n    required:\n      - \"\u002Fdata\u002Fincoming\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002F\"\n      - \"\u002Fdata\u002Fclients\u002F\"\n      - \"\u002Fdata\u002Fcompliance\u002F\"\n      - \"\u002Fdata\u002Fbanking\u002F\"\n      - \"\u002Fdata\u002Focr\u002F\"\n      - \"\u002Fdata\u002Fefka\u002F\"\n      - \"\u002Fdata\u002Freports\u002F\"\n      - \"\u002Fdata\u002Fexports\u002F\"\n      - \"\u002Fdata\u002Fimports\u002F\"\n      - \"\u002Fdata\u002Fdashboard\u002F\"\n      - \"\u002Fdata\u002Fauth\u002F\"\n      - \"\u002Fdata\u002Fbackups\u002F\"\n      - \"\u002Fdata\u002Fgdpr-exports\u002F\"\n      - \"\u002Fdata\u002Fmemory\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002F\"\n\n  subdirectories:\n    incoming:\n      - \"\u002Fdata\u002Fincoming\u002Finvoices\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Freceipts\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fstatements\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fgovernment\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fpayroll\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Ftax-documents\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fcontracts\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fother\u002F\"\n    processing:\n      - \"\u002Fdata\u002Fprocessing\u002Focr\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Fclassification\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Freconciliation\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Fcompliance\u002F\"\n    system:\n      - \"\u002Fdata\u002Fsystem\u002Flogs\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Flogs\u002Faudit\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Fprocess-locks\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Fintegrity\u002F\"\n\n  unexpected_directories:\n    description: \"Flag any top-level directory under \u002Fdata\u002F not in the canonical map\"\n    action: \"WARN — may indicate a skill creating non-canonical paths\"\n```\n\n### 3. File Permission Checks\n\nValidates OS-level file permissions on sensitive directories.\n\n```yaml\nPermission_Checks:\n  restricted_directories:\n    - path: \"\u002Fdata\u002Fauth\u002F\"\n      expected_mode: \"700\"\n      description: \"Auth directory must be restricted to service user\"\n    - path: \"\u002Fdata\u002Fauth\u002Fusers\u002F*\u002Fcredentials.json\"\n      expected_mode: \"600\"\n      description: \"Credential files must not be world-readable\"\n      \n  sensitive_directories:\n    - path: \"\u002Fdata\u002Fclients\u002F\"\n      expected_mode: \"700\"\n      description: \"Client data directory should be restricted\"\n    - path: \"\u002Fdata\u002Fbackups\u002F\"\n      expected_mode: \"700\"\n      description: \"Backup directory should be restricted\"\n      \n  note: \"Permission checks may report SKIP on systems where the OpenClaw agent runs as root or in a container without OS-level permission enforcement.\"\n```\n\n### 4. Dependency Checks\n\nVerifies required binaries and environment variables are available.\n\n```yaml\nDependency_Checks:\n  required_binaries:\n    - name: \"jq\"\n      check: \"which jq\"\n      used_by: \"All skills — JSON processing\"\n    - name: \"curl\"\n      check: \"which curl\"\n      used_by: \"AADE monitor, email processor, EFKA, memory-feedback\"\n    - name: \"openssl\"\n      check: \"which openssl\"\n      used_by: \"System integrity, backup encryption\"\n\n  required_env_vars:\n    - name: \"OPENCLAW_DATA_DIR\"\n      description: \"Root data directory path\"\n      default: \"\u002Fdata\u002F\"\n      \n  optional_env_vars:\n    - name: \"OPENCLAW_ENCRYPTION_KEY\"\n      description: \"Master encryption key for data-at-rest\"\n      warn_if_missing: true\n    - name: \"GITHUB_TOKEN\"\n      description: \"GitHub PAT for memory-feedback PR workflow\"\n      warn_if_missing: true\n    - name: \"SMTP_HOST\"\n      description: \"Mail server for client communications\"\n      warn_if_missing: true\n```\n\n### 5. Backup Freshness\n\nChecks that backups are current per the schedule defined in Skill 17.\n\n```yaml\nBackup_Checks:\n  weekly_full:\n    description: \"Full backup should exist from within the last 7 days\"\n    location: \"\u002Fdata\u002Fbackups\u002F\"\n    pattern: \"full_*.tar.enc\"\n    max_age_days: 7\n    severity: \"HIGH if missing\"\n    \n  daily_incremental:\n    description: \"Incremental backup should exist from within the last 24 hours\"\n    location: \"\u002Fdata\u002Fbackups\u002F\"\n    pattern: \"incremental_*.tar.enc\"\n    max_age_hours: 26\n    severity: \"MEDIUM if missing (allows 2-hour grace period)\"\n    \n  verification:\n    description: \"Last backup verification should be within 7 days\"\n    check: \"Look for verification report in \u002Fdata\u002Freports\u002Fsystem\u002F\"\n    severity: \"MEDIUM if stale\"\n```\n\n### 6. Process Lock Health\n\nDetects stale process locks that may indicate crashed operations.\n\n```yaml\nLock_Checks:\n  location: \"\u002Fdata\u002Fsystem\u002Fprocess-locks\u002F\"\n  stale_threshold_minutes: 30\n  check_method:\n    - \"List all .lock files\"\n    - \"Read timestamp from each lock file\"\n    - \"Flag locks older than threshold\"\n    - \"Check if process ID in lock file is still running\"\n  actions:\n    stale_found: \"WARN — list stale locks with age and owning process\"\n    suggestion: \"Run: openclaw integrity clear-stale-locks --confirm\"\n    active_found: \"INFO — list active locks (normal operation)\"\n```\n\n### 7. Encryption Status\n\nVerifies encryption configuration on directories that require it per the canonical data map.\n\n```yaml\nEncryption_Checks:\n  mandatory_encrypted:\n    - \"\u002Fdata\u002Fauth\u002F\"\n    - \"\u002Fdata\u002Fclients\u002F\"\n    - \"\u002Fdata\u002Fcompliance\u002F\"\n    - \"\u002Fdata\u002Fefka\u002F\"\n    - \"\u002Fdata\u002Fgdpr-exports\u002F\"\n  check_methods:\n    luks: \"Check if volume is LUKS-encrypted via lsblk or cryptsetup status\"\n    fscrypt: \"Check fscrypt policy on directory\"\n    env_key: \"Verify OPENCLAW_ENCRYPTION_KEY environment variable is set\"\n  note: \"In development\u002Ftesting environments, encryption may not be configured. Report as WARN, not FAIL.\"\n```\n\n### 8. Data Integrity\n\nValidates file hashes against the integrity registry maintained by Skill 17.\n\n```yaml\nIntegrity_Checks:\n  registry_location: \"\u002Fdata\u002Fsystem\u002Fintegrity\u002F\"\n  check_method:\n    - \"Read hash registry for canonical files\"\n    - \"Recompute SHA-256 hashes for each file\"\n    - \"Compare against stored hashes\"\n    - \"Flag any mismatches\"\n  scope:\n    quick: \"Check 10% random sample of files\"\n    standard: \"Check all files modified in last 7 days\"\n    deep: \"Check all files in registry\"\n  severity:\n    mismatch: \"HIGH — file has been modified outside normal skill operations\"\n    missing_from_registry: \"MEDIUM — file exists but has no hash recorded\"\n    missing_file: \"HIGH — registry references a file that no longer exists\"\n```\n\n## Output Format\n\n### Console Output\n\n```\n╔══════════════════════════════════════════════════╗\n║   OpenClaw Greek Accounting — Health Report      ║\n╠══════════════════════════════════════════════════╣\n║ Run: 2026-02-19 15:30:00 (Europe\u002FAthens)         ║\n║ Mode: standard                                   ║\n╚══════════════════════════════════════════════════╝\n\n  SKILLS\n  ✅ 20\u002F20 SKILL.md files present\n  ✅ 20\u002F20 frontmatter valid\n  ✅ 19\u002F19 EVALS.json present\n  ✅ All EVALS have 5+ test cases\n\n  DIRECTORIES\n  ✅ 16\u002F16 top-level directories present\n  ✅ No unexpected top-level directories\n  ⚠️  2 subdirectories missing (see details)\n\n  PERMISSIONS\n  ✅ \u002Fdata\u002Fauth\u002F — mode 700\n  ❌ \u002Fdata\u002Fclients\u002F — mode 755 (expected 700)\n\n  DEPENDENCIES\n  ✅ jq installed (v1.7.1)\n  ✅ curl installed (v8.5.0)\n  ✅ openssl installed (v3.0.13)\n  ⚠️  OPENCLAW_ENCRYPTION_KEY not set\n\n  BACKUPS\n  ✅ Full backup: 2026-02-16 02:00 (3 days ago)\n  ✅ Incremental: 2026-02-19 03:00 (12 hours ago)\n  ⚠️  Last verification: 2026-02-10 (9 days ago)\n\n  LOCKS\n  ✅ No stale process locks\n\n  ENCRYPTION\n  ⚠️  Encryption not detected on \u002Fdata\u002Fclients\u002F\n  ⚠️  OPENCLAW_ENCRYPTION_KEY not set\n\n  INTEGRITY\n  ✅ 847\u002F847 files match stored hashes\n\n═══════════════════════════════════════════════════\n  RESULT: 1 FAIL, 4 WARN — review required\n  Details: openclaw health-check --all --verbose\n═══════════════════════════════════════════════════\n```\n\n### JSON Report\n\nWritten to `\u002Fdata\u002Freports\u002Fsystem\u002Fhealth-check_{YYYYMMDD}_{HHMMSS}.json`:\n\n```json\n{\n  \"timestamp\": \"2026-02-19T15:30:00Z\",\n  \"mode\": \"standard\",\n  \"result\": \"WARN\",\n  \"summary\": {\n    \"pass\": 18,\n    \"fail\": 1,\n    \"warn\": 4,\n    \"skip\": 0\n  },\n  \"checks\": [\n    {\n      \"category\": \"skills\",\n      \"check\": \"skill_files_present\",\n      \"result\": \"PASS\",\n      \"details\": \"20\u002F20 SKILL.md files present\"\n    },\n    {\n      \"category\": \"permissions\",\n      \"check\": \"clients_directory_mode\",\n      \"result\": \"FAIL\",\n      \"expected\": \"700\",\n      \"actual\": \"755\",\n      \"remediation\": \"chmod 700 \u002Fdata\u002Fclients\u002F\"\n    }\n  ]\n}\n```\n\n## Cron Configuration\n\n```json\n{\n  \"cron\": {\n    \"health-quick\": {\n      \"schedule\": \"0 *\u002F4 * * *\",\n      \"command\": \"openclaw health-check --quick --save-report\",\n      \"description\": \"Quick check every 4 hours\"\n    },\n    \"health-standard\": {\n      \"schedule\": \"0 7 * * *\",\n      \"command\": \"openclaw health-check --standard --save-report\",\n      \"description\": \"Standard check every morning at 07:00 Athens\"\n    },\n    \"health-deep\": {\n      \"schedule\": \"0 3 * * 0\",\n      \"command\": \"openclaw health-check --deep --save-report\",\n      \"description\": \"Deep check every Sunday at 03:00 Athens\"\n    }\n  }\n}\n```\n\n## Integration with Other Skills\n\n### Dashboard Integration\n```bash\n# Health check status feeds into the dashboard system health panel\nopenclaw dashboard refresh --state system-health\n# Dashboard shows: last check time, result, and count of issues\n```\n\n### Memory Integration\n```bash\n# Failed health checks are logged as system failures for pattern detection\n# Written to \u002Fdata\u002Fmemory\u002Ffailures\u002F with failure_type: health_check_failed\n```\n\n### Meta-Skill Integration\n```bash\n# Health check runs automatically before major operations\nopenclaw greek monthly-process --pre-flight-check\n# Equivalent to: openclaw health-check --quick && openclaw greek monthly-process\n```\n\n## Exit Codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | All checks passed (may include WARN) |\n| 1 | One or more FAIL results |\n| 2 | Health check itself failed to run (dependency missing, permission error) |\n","# System Health Check\n\nThis skill validates the entire OpenClaw Greek Accounting system in a single command. It checks skill file integrity, directory structure, file permissions, required dependencies, backup freshness, encryption status, and process lock health. Designed to run daily via cron or manually before critical operations.\n\n\n## Setup\n\n```bash\nexport OPENCLAW_DATA_DIR=\"\u002Fdata\"\nwhich jq openssl || sudo apt install jq openssl\n```\n\nRead-only validation skill. Checks file presence, directory structure, permissions, and backup freshness. Never modifies any data.\n\n\n## Core Philosophy\n\n- **Fast & Non-Destructive**: Read-only checks — never modifies any data\n- **Comprehensive**: Covers every layer from skill files to encryption status\n- **Actionable Output**: Every failure includes a specific remediation command\n- **Cron-Friendly**: Exit code 0 for all-pass, exit code 1 for any failure\n- **English Output**: Plain English report suitable for accounting assistants and system admins\n\n## OpenClaw Commands\n\n### Full Health Check\n```bash\n# Run all checks\nopenclaw health-check --all\n\n# Run all checks with verbose output\nopenclaw health-check --all --verbose\n\n# Run all checks and write report to \u002Fdata\u002Freports\u002Fsystem\u002F\nopenclaw health-check --all --save-report\n```\n\n### Individual Check Categories\n```bash\n# Check skill files only\nopenclaw health-check --skills\n\n# Check directory structure against canonical data map\nopenclaw health-check --directories\n\n# Check file permissions on sensitive directories\nopenclaw health-check --permissions\n\n# Check required binaries and dependencies\nopenclaw health-check --dependencies\n\n# Check backup freshness and integrity\nopenclaw health-check --backups\n\n# Check for stale process locks\nopenclaw health-check --locks\n\n# Check encryption status on sensitive directories\nopenclaw health-check --encryption\n\n# Check data integrity hashes\nopenclaw health-check --integrity\n```\n\n### Scheduled Checks\n```bash\n# Quick check — skills + directories + locks (for hourly cron)\nopenclaw health-check --quick\n\n# Standard check — everything except full integrity hash verification (for daily cron)\nopenclaw health-check --standard\n\n# Deep check — all checks including full hash verification (for weekly cron)\nopenclaw health-check --deep\n```\n\n## Check Specifications\n\n### 1. Skill File Validation\n\nVerifies all 19 operational skills and the canonical data map are present and well-formed.\n\n```yaml\nSkill_File_Checks:\n  presence:\n    description: \"Every skill folder contains a SKILL.md file\"\n    expected_count: 20\n    check: \"ls skills\u002F*\u002FSKILL.md\"\n    \n  frontmatter:\n    description: \"Every SKILL.md has valid YAML frontmatter with required fields\"\n    required_fields: [\"name\", \"description\", \"version\", \"author\", \"tags\", \"metadata\"]\n    check: \"Parse frontmatter block between --- delimiters\"\n    \n  evals:\n    description: \"Every operational skill has an EVALS.json file\"\n    expected_count: 19\n    excluded: [\"canonical-data-map\"]\n    check: \"ls skills\u002F*\u002FEVALS.json, validate JSON syntax\"\n    \n  evals_content:\n    description: \"Each EVALS.json contains at least 5 test cases\"\n    minimum_cases: 5\n    check: \"Parse JSON, count array length\"\n\n  skill_inventory:\n    - \"canonical-data-map\"\n    - \"accounting-workflows\"\n    - \"greek-compliance-aade\"\n    - \"cli-deadline-monitor\"\n    - \"greek-email-processor\"\n    - \"greek-individual-taxes\"\n    - \"openclaw-greek-accounting-meta\"\n    - \"aade-api-monitor\"\n    - \"greek-banking-integration\"\n    - \"greek-document-ocr\"\n    - \"efka-api-integration\"\n    - \"dashboard-greek-accounting\"\n    - \"client-data-management\"\n    - \"user-authentication-system\"\n    - \"conversational-ai-assistant\"\n    - \"greek-financial-statements\"\n    - \"client-communication-engine\"\n    - \"system-integrity-and-backup\"\n    - \"analytics-and-advisory-intelligence\"\n    - \"memory-feedback\"\n```\n\n### 2. Directory Structure Validation\n\nChecks all canonical directories exist under `\u002Fdata\u002F` as specified in the canonical data map (Skill 00).\n\n```yaml\nDirectory_Checks:\n  top_level:\n    required:\n      - \"\u002Fdata\u002Fincoming\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002F\"\n      - \"\u002Fdata\u002Fclients\u002F\"\n      - \"\u002Fdata\u002Fcompliance\u002F\"\n      - \"\u002Fdata\u002Fbanking\u002F\"\n      - \"\u002Fdata\u002Focr\u002F\"\n      - \"\u002Fdata\u002Fefka\u002F\"\n      - \"\u002Fdata\u002Freports\u002F\"\n      - \"\u002Fdata\u002Fexports\u002F\"\n      - \"\u002Fdata\u002Fimports\u002F\"\n      - \"\u002Fdata\u002Fdashboard\u002F\"\n      - \"\u002Fdata\u002Fauth\u002F\"\n      - \"\u002Fdata\u002Fbackups\u002F\"\n      - \"\u002Fdata\u002Fgdpr-exports\u002F\"\n      - \"\u002Fdata\u002Fmemory\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002F\"\n\n  subdirectories:\n    incoming:\n      - \"\u002Fdata\u002Fincoming\u002Finvoices\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Freceipts\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fstatements\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fgovernment\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fpayroll\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Ftax-documents\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fcontracts\u002F\"\n      - \"\u002Fdata\u002Fincoming\u002Fother\u002F\"\n    processing:\n      - \"\u002Fdata\u002Fprocessing\u002Focr\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Fclassification\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Freconciliation\u002F\"\n      - \"\u002Fdata\u002Fprocessing\u002Fcompliance\u002F\"\n    system:\n      - \"\u002Fdata\u002Fsystem\u002Flogs\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Flogs\u002Faudit\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Fprocess-locks\u002F\"\n      - \"\u002Fdata\u002Fsystem\u002Fintegrity\u002F\"\n\n  unexpected_directories:\n    description: \"Flag any top-level directory under \u002Fdata\u002F not in the canonical map\"\n    action: \"WARN — may indicate a skill creating non-canonical paths\"\n```\n\n### 3. File Permission Checks\n\nValidates OS-level file permissions on sensitive directories.\n\n```yaml\nPermission_Checks:\n  restricted_directories:\n    - path: \"\u002Fdata\u002Fauth\u002F\"\n      expected_mode: \"700\"\n      description: \"Auth directory must be restricted to service user\"\n    - path: \"\u002Fdata\u002Fauth\u002Fusers\u002F*\u002Fcredentials.json\"\n      expected_mode: \"600\"\n      description: \"Credential files must not be world-readable\"\n      \n  sensitive_directories:\n    - path: \"\u002Fdata\u002Fclients\u002F\"\n      expected_mode: \"700\"\n      description: \"Client data directory should be restricted\"\n    - path: \"\u002Fdata\u002Fbackups\u002F\"\n      expected_mode: \"700\"\n      description: \"Backup directory should be restricted\"\n      \n  note: \"Permission checks may report SKIP on systems where the OpenClaw agent runs as root or in a container without OS-level permission enforcement.\"\n```\n\n### 4. Dependency Checks\n\nVerifies required binaries and environment variables are available.\n\n```yaml\nDependency_Checks:\n  required_binaries:\n    - name: \"jq\"\n      check: \"which jq\"\n      used_by: \"All skills — JSON processing\"\n    - name: \"curl\"\n      check: \"which curl\"\n      used_by: \"AADE monitor, email processor, EFKA, memory-feedback\"\n    - name: \"openssl\"\n      check: \"which openssl\"\n      used_by: \"System integrity, backup encryption\"\n\n  required_env_vars:\n    - name: \"OPENCLAW_DATA_DIR\"\n      description: \"Root data directory path\"\n      default: \"\u002Fdata\u002F\"\n      \n  optional_env_vars:\n    - name: \"OPENCLAW_ENCRYPTION_KEY\"\n      description: \"Master encryption key for data-at-rest\"\n      warn_if_missing: true\n    - name: \"GITHUB_TOKEN\"\n      description: \"GitHub PAT for memory-feedback PR workflow\"\n      warn_if_missing: true\n    - name: \"SMTP_HOST\"\n      description: \"Mail server for client communications\"\n      warn_if_missing: true\n```\n\n### 5. Backup Freshness\n\nChecks that backups are current per the schedule defined in Skill 17.\n\n```yaml\nBackup_Checks:\n  weekly_full:\n    description: \"Full backup should exist from within the last 7 days\"\n    location: \"\u002Fdata\u002Fbackups\u002F\"\n    pattern: \"full_*.tar.enc\"\n    max_age_days: 7\n    severity: \"HIGH if missing\"\n    \n  daily_incremental:\n    description: \"Incremental backup should exist from within the last 24 hours\"\n    location: \"\u002Fdata\u002Fbackups\u002F\"\n    pattern: \"incremental_*.tar.enc\"\n    max_age_hours: 26\n    severity: \"MEDIUM if missing (allows 2-hour grace period)\"\n    \n  verification:\n    description: \"Last backup verification should be within 7 days\"\n    check: \"Look for verification report in \u002Fdata\u002Freports\u002Fsystem\u002F\"\n    severity: \"MEDIUM if stale\"\n```\n\n### 6. Process Lock Health\n\nDetects stale process locks that may indicate crashed operations.\n\n```yaml\nLock_Checks:\n  location: \"\u002Fdata\u002Fsystem\u002Fprocess-locks\u002F\"\n  stale_threshold_minutes: 30\n  check_method:\n    - \"List all .lock files\"\n    - \"Read timestamp from each lock file\"\n    - \"Flag locks older than threshold\"\n    - \"Check if process ID in lock file is still running\"\n  actions:\n    stale_found: \"WARN — list stale locks with age and owning process\"\n    suggestion: \"Run: openclaw integrity clear-stale-locks --confirm\"\n    active_found: \"INFO — list active locks (normal operation)\"\n```\n\n### 7. Encryption Status\n\nVerifies encryption configuration on directories that require it per the canonical data map.\n\n```yaml\nEncryption_Checks:\n  mandatory_encrypted:\n    - \"\u002Fdata\u002Fauth\u002F\"\n    - \"\u002Fdata\u002Fclients\u002F\"\n    - \"\u002Fdata\u002Fcompliance\u002F\"\n    - \"\u002Fdata\u002Fefka\u002F\"\n    - \"\u002Fdata\u002Fgdpr-exports\u002F\"\n  check_methods:\n    luks: \"Check if volume is LUKS-encrypted via lsblk or cryptsetup status\"\n    fscrypt: \"Check fscrypt policy on directory\"\n    env_key: \"Verify OPENCLAW_ENCRYPTION_KEY environment variable is set\"\n  note: \"In development\u002Ftesting environments, encryption may not be configured. Report as WARN, not FAIL.\"\n```\n\n### 8. Data Integrity\n\nValidates file hashes against the integrity registry maintained by Skill 17.\n\n```yaml\nIntegrity_Checks:\n  registry_location: \"\u002Fdata\u002Fsystem\u002Fintegrity\u002F\"\n  check_method:\n    - \"Read hash registry for canonical files\"\n    - \"Recompute SHA-256 hashes for each file\"\n    - \"Compare against stored hashes\"\n    - \"Flag any mismatches\"\n  scope:\n    quick: \"Check 10% random sample of files\"\n    standard: \"Check all files modified in last 7 days\"\n    deep: \"Check all files in registry\"\n  severity:\n    mismatch: \"HIGH — file has been modified outside normal skill operations\"\n    missing_from_registry: \"MEDIUM — file exists but has no hash recorded\"\n    missing_file: \"HIGH — registry references a file that no longer exists\"\n```\n\n## Output Format\n\n### Console Output\n\n```\n╔══════════════════════════════════════════════════╗\n║   OpenClaw Greek Accounting — Health Report      ║\n╠══════════════════════════════════════════════════╣\n║ Run: 2026-02-19 15:30:00 (Europe\u002FAthens)         ║\n║ Mode: standard                                   ║\n╚══════════════════════════════════════════════════╝\n\n  SKILLS\n  ✅ 20\u002F20 SKILL.md files present\n  ✅ 20\u002F20 frontmatter valid\n  ✅ 19\u002F19 EVALS.json present\n  ✅ All EVALS have 5+ test cases\n\n  DIRECTORIES\n  ✅ 16\u002F16 top-level directories present\n  ✅ No unexpected top-level directories\n  ⚠️  2 subdirectories missing (see details)\n\n  PERMISSIONS\n  ✅ \u002Fdata\u002Fauth\u002F — mode 700\n  ❌ \u002Fdata\u002Fclients\u002F — mode 755 (expected 700)\n\n  DEPENDENCIES\n  ✅ jq installed (v1.7.1)\n  ✅ curl installed (v8.5.0)\n  ✅ openssl installed (v3.0.13)\n  ⚠️  OPENCLAW_ENCRYPTION_KEY not set\n\n  BACKUPS\n  ✅ Full backup: 2026-02-16 02:00 (3 days ago)\n  ✅ Incremental: 2026-02-19 03:00 (12 hours ago)\n  ⚠️  Last verification: 2026-02-10 (9 days ago)\n\n  LOCKS\n  ✅ No stale process locks\n\n  ENCRYPTION\n  ⚠️  Encryption not detected on \u002Fdata\u002Fclients\u002F\n  ⚠️  OPENCLAW_ENCRYPTION_KEY not set\n\n  INTEGRITY\n  ✅ 847\u002F847 files match stored hashes\n\n═══════════════════════════════════════════════════\n  RESULT: 1 FAIL, 4 WARN — review required\n  Details: openclaw health-check --all --verbose\n═══════════════════════════════════════════════════\n```\n\n### JSON Report\n\nWritten to `\u002Fdata\u002Freports\u002Fsystem\u002Fhealth-check_{YYYYMMDD}_{HHMMSS}.json`:\n\n```json\n{\n  \"timestamp\": \"2026-02-19T15:30:00Z\",\n  \"mode\": \"standard\",\n  \"result\": \"WARN\",\n  \"summary\": {\n    \"pass\": 18,\n    \"fail\": 1,\n    \"warn\": 4,\n    \"skip\": 0\n  },\n  \"checks\": [\n    {\n      \"category\": \"skills\",\n      \"check\": \"skill_files_present\",\n      \"result\": \"PASS\",\n      \"details\": \"20\u002F20 SKILL.md files present\"\n    },\n    {\n      \"category\": \"permissions\",\n      \"check\": \"clients_directory_mode\",\n      \"result\": \"FAIL\",\n      \"expected\": \"700\",\n      \"actual\": \"755\",\n      \"remediation\": \"chmod 700 \u002Fdata\u002Fclients\u002F\"\n    }\n  ]\n}\n```\n\n## Cron Configuration\n\n```json\n{\n  \"cron\": {\n    \"health-quick\": {\n      \"schedule\": \"0 *\u002F4 * * *\",\n      \"command\": \"openclaw health-check --quick --save-report\",\n      \"description\": \"Quick check every 4 hours\"\n    },\n    \"health-standard\": {\n      \"schedule\": \"0 7 * * *\",\n      \"command\": \"openclaw health-check --standard --save-report\",\n      \"description\": \"Standard check every morning at 07:00 Athens\"\n    },\n    \"health-deep\": {\n      \"schedule\": \"0 3 * * 0\",\n      \"command\": \"openclaw health-check --deep --save-report\",\n      \"description\": \"Deep check every Sunday at 03:00 Athens\"\n    }\n  }\n}\n```\n\n## Integration with Other Skills\n\n### Dashboard Integration\n```bash\n# Health check status feeds into the dashboard system health panel\nopenclaw dashboard refresh --state system-health\n# Dashboard shows: last check time, result, and count of issues\n```\n\n### Memory Integration\n```bash\n# Failed health checks are logged as system failures for pattern detection\n# Written to \u002Fdata\u002Fmemory\u002Ffailures\u002F with failure_type: health_check_failed\n```\n\n### Meta-Skill Integration\n```bash\n# Health check runs automatically before major operations\nopenclaw greek monthly-process --pre-flight-check\n# Equivalent to: openclaw health-check --quick && openclaw greek monthly-process\n```\n\n## Exit Codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | All checks passed (may include WARN) |\n| 1 | One or more FAIL results |\n| 2 | Health check itself failed to run (dependency missing, permission error) |\n",{"name":5,"tags":24,"author":30,"version":31,"homepage":32,"metadata":33,"description":7},[25,26,27,28,29],"greek","accounting","health-check","monitoring","diagnostics","openclaw-greek-accounting","1.0.0","https:\u002F\u002Fgithub.com\u002Fsatoshistackalotto\u002Fopenclaw-greek-accounting",{"openclaw":34},{"notes":35,"requires":36,"path_prefix":43},"Read-only validation skill. Checks file presence, directory structure, permissions, and backup freshness. Never modifies any data. openssl is used only for hash verification.",{"env":37,"bins":39},[38],"OPENCLAW_DATA_DIR",[40,41,42],"jq","openssl","openclaw","\u002Fdata\u002F in examples refers to $OPENCLAW_DATA_DIR (default: \u002Fdata\u002F)","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fsatoshistackalotto\u002Fsystem-health-check",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill system-health-check",{"tool":59,"command":60},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill system-health-check",{"tool":62,"command":63},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill system-health-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsatoshistackalotto\u002Fsystem-health-check\u002FSKILL.md",true,[],[68,76,83,90,97,104],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":75},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":75},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":75},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":75},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":75},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]