WorkBuddy Environment Security Health Check: 8-Dimension Local Read-Only Audit and Tiered Remediation Checklist

Preface

In the WorkBuddy environment, there are stacks of skills, connectors, automations, and backup packages. Will the disk suddenly be full, has the backup been idle for two weeks, are tokens written into the body of external documentation? These questions are hard to see at a single glance. Relying on manual directory flipping and memory to judge “should be fine” often exposes shortcomings when switching machines, finishing work, or before recovery.

Below is an introduction to the WorkBuddy Environment Security Health Check on SkillHub: it performs an eight-dimensional read-only scan using local scripts, outputs Markdown reports and JSON summaries, and provides disposal suggestions graded as P0/P1/P2. The entire process is offline, does not modify the environment, and only writes the report directory.

What is this

WorkBuddy Environment Security Health Check (workbuddy-health-check) targets the WorkBuddy runtime environment, positioned as a “security and stability check completed in one command.” Maintained by SkillHub user Registered Veteran @MedXpert I SynomosAI (user_8a3569c1), the current SkillHub display version is v1.2.2, categorized under it-ops-security (sub-categories include monitoring and alerts, security scanning, etc.). The correspondence between the official Skill page and the API entry is: https://api.skillhub.cn/user_8a3569c1/workbuddy-health-check (often mapped to the SkillHub skill details page in the browser).

Unlike self-check skills that only review configuration text for SOUL, IDENTITY, etc., this Skill is more geared towards operations and security baselines: disk, backup age, automation status, hardcoded credentials, hygiene of golden backup packages, configuration scale, memory logs, cross-machine carriers, etc. It completes the scan at once and provides exit codes friendly for gatekeeping.

Core Functions

Combining the SkillHub summary and skill description, the verified capabilities are as follows.

Eight-dimensional Check

  1. H1 Disk Health: Remaining space on system/data drives, threshold: >75% WARN, >90% CRIT.
  2. H2 Backup Freshness: Age of latest wb_golden_*.zip, >7 days WARN, >14 days or no package CRIT.
  3. H3 Automation Survival: Count of ACTIVE, suspected hang-ups, and last_error.
  4. H4 Hardcoded Credentials: Scanning for secrets in external text layers; legitimate directories (e.g., credentials/, connectors/) are not scanned.
  5. H5 Backup Package Integrity: Metadata inside the package, credentials directory, manifest hashes, etc.
  6. H6 Configuration Audit: Counts of skills/connectors/experts/MCPs and redundancy hints.
  7. H7 Memory Sync: Age of MEMORY.md and workspace logs from today.
  8. H8 Cross-machine Carrier: Age of the latest automation configuration backup.

Reports and Gatekeeping

  • Default report directory: ~/.workbuddy/health-check/, filenames like wb_health_<timestamp>.md / .json, retaining the latest few.
  • Exit codes: 0 all passed, 1 has WARN, 2 has CRIT, convenient for scripts or automation to gate.
  • Script constraints (included in description): Standard library, zero network, read-only environment + write only reports; hits on secrets are masked in display (e.g., first 4 last 4), plain text is not output.

Installation and Enablement

SkillHub recommends pulling the skill via Agent according to the official installation docs, rather than copying files manually.

WorkBuddy / General SkillHub Installation

Send the installation instructions to the current Agent; the prompt template is:

Please install `@indiv-synomosai/workbuddy-health-check` according to https://skillhub.cn/install/skillhub.md.

If skillhub CLI is installed locally, the skill needs to be installed into the skills directory recognized by the current Agent. The WorkBuddy default directory is:

# WorkBuddy skills directory example
~/.workbuddy/skills/

When installing via CLI, you need to explicitly --dir to avoid installing into ./skills/ in the current working directory that isn’t recognized:

skillhub install @indiv-synomosai/workbuddy-health-check --dir ~/.workbuddy/skills/

The SkillHub installation guide also lists paths for Cursor (~/.cursor/skills/), Claude Code, Codex, etc.; before enabling this Skill on a non-WorkBuddy host, you should first confirm whether the host has the ~/.workbuddy layout and script dependencies, otherwise the health check items may be incomplete.

The skill details page marks Supports WorkBuddy for one-click installation to the local Agent; the security scanning status is displayed on SkillHub as a third-party detection report “Safe, No Risk” (subject to real-time information on the page).

Typical Usage

After installation, run the health check script inside the skill package using Python. The quick mode skips full hash verification of backup packages, suitable for daily inspections:

# ① Run health check (--quick skips full backup package hash verification)
python scripts/wb_health_check.py --quick

Common optional parameters:

python scripts/wb_health_check.py --out /path/to/out
python scripts/wb_health_check.py --golden-dir /path/to/backup --golden-dir /another
python scripts/wb_health_check.py --workspace-root /path/to/Workbuddy
python scripts/wb_health_check.py --json
# ② View reports
# ~/.workbuddy/health-check/wb_health_<timestamp>.md
# ~/.workbuddy/health-check/wb_health_<timestamp>.json
# ③ Handle items according to the P0 → P1 → P2 checklist in the report; sensitive operations like deleting credentials or repacking backups require manual confirmation.

In Agent conversations, natural language can also be used to trigger, e.g., “WorkBuddy health check”, “Are backups okay?”, “Were credentials leaked?” (consistent with the SkillHub description).

Applicable Scenarios and Notes

Suitable for:

  • Long-term running of automation, connectors, and large numbers of skills on WorkBuddy, requiring periodic offline baseline checks.
  • Before finishing work, cross-machine synchronization, or recovery, wanting to confirm no P0 (disk critical, no backup, credentials CRIT, etc.).
  • Need for JSON summaries to interface with custom gatekeeping or CI scripts (exit codes 0/1/2).

Limitations and Notes:

  • Platform: SkillHub indicates WorkBuddy exclusive; script paths and thresholds assume WorkBuddy directory structure. For other Agents that only install the Skill text without the environment, it cannot replace a real health check.
  • Read-only: The script does not delete or modify user data, but the report will suggest action items; P0 operations are still confirmed by humans.
  • Credential False Positives: Hits on high-confidence formats need manual distinction between real credentials and example strings.
  • –quick: Saves time but omits full hash verification of backup packages; remove --quick for deep verification.
  • Official API Address: https://api.skillhub.cn/user_8a3569c1/workbuddy-health-check may return 405 on GET; refer to the SkillHub skill page and skillhub.md for checking and installation.

Ending

The WorkBuddy Environment Security Health Check consolidates scattered risks like disk, backup, automation, credentials, configuration, and memory into a local report and graded checklist, suitable as a periodic offline inspection step for the WorkBuddy environment. To install or view version information, please visit the SkillHub official entry: https://api.skillhub.cn/user_8a3569c1/workbuddy-health-check (or the skill details page https://www.skillhub.cn/skills/indiv-synomosai/workbuddy-health-check).

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye