Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/coffeegrind123/system-health-skill --skill system-health명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | system-health |
| description | >- |
Collect hardware metrics via hwinfo-bridge (primary, full HWiNFO sensor data from Windows host) and hwinfo-linux (supplementary, local Linux/WSL2 metrics), detect anomalies against known thresholds, and compare with historical data to surface trends.
$categories: Optional comma-separated list of metric categories to check (e.g. cpu_temps,gpu,memory). If omitted, collect all available categories.Produce a clear, actionable health report covering current sensor readings, anomaly flags with severity levels, and trend comparison against previous runs.
The repo contains two binaries: hwinfo-linux (local Linux sensors) and hwinfo-bridge (RemoteHWInfo bridge to Windows HWiNFO). Both are needed for full coverage.
Check if they are on PATH:
command -v hwinfo-linux && command -v hwinfo-bridge
If not found:
~/.local/src/hwinfo-linux/git clone --recurse-submodules https://github.com/coffeegrind123/hwinfo-linux.git ~/.local/src/hwinfo-linuxcd ~/.local/src/hwinfo-linux && makesudo make install — if sudo is unavailable, use the binaries directly from the build directory and set HWINFO_BIN_DIR=~/.local/src/hwinfo-linuxVerify both binaries exist:
ls -la $HWINFO_BIN_DIR/hwinfo-linux $HWINFO_BIN_DIR/hwinfo-bridge
Success criteria: Both hwinfo-linux and hwinfo-bridge binaries are executable.
There are two binaries in the hwinfo-linux repo — use BOTH:
hwinfo-bridge — connects to the RemoteHWInfo HTTP endpoint on the Windows host (default: http://host.docker.internal:60000/json.json). This provides the full HWiNFO sensor set: CPU/GPU/chipset/VRM temperatures, voltages, fan speeds, power draw, SMART, clocks, per-core usage, etc. This is the primary data source.hwinfo-linux — reads local Linux sensors (procfs, sysfs, hwmon). Provides WSL2-side memory (physical + swap), per-core CPU usage from the Linux scheduler perspective, and disk I/O stats. This is the supplementary data source for OS-level metrics the bridge cannot see.Collection order:
$HWINFO_BIN_DIR/hwinfo-bridge -p
If it returns valid JSON with sensor data, this is the primary dataset. If the bridge endpoint is unreachable (connection refused, timeout), warn the user that bridge data is unavailable and note that only local Linux sensors will be used.
$HWINFO_BIN_DIR/hwinfo-linux -p
# Or filtered categories (if $categories provided)
$HWINFO_BIN_DIR/hwinfo-linux -c $categories -p
Use hwinfo-linux -l to list available local categories if the user's requested category is not recognized.
Success criteria: Bridge data captured (or explicit warning if bridge is down) AND local Linux data captured. At minimum, one source must produce valid JSON.
Parse the JSON output and flag values that exceed these thresholds:
Temperature (°C):
| Severity | CPU Package/Core | GPU | Disk/NVMe | Chipset |
|---|---|---|---|---|
| Warning | >80 | >85 | >55 | >70 |
| Critical | >95 | >100 | >70 | >90 |
Memory:
Storage (SMART):
GPU:
General:
current exceeds max from previous readings by >20%For each anomaly, record: category, metric name, current value, threshold, severity level.
Success criteria: All metrics evaluated against thresholds. Anomaly list produced (may be empty if system is healthy).
Historical logs are stored at ~/.local/share/system-health/.
Read previous run:
ls -t ~/.local/share/system-health/*.json 2>/dev/null | head -1
If a previous log exists:
Save current run:
mkdir -p ~/.local/share/system-health
Write the current JSON output plus anomaly metadata to ~/.local/share/system-health/YYYY-MM-DDTHH-MM-SS.json.
Keep a maximum of 50 historical logs. Delete oldest files if over limit.
Success criteria: Current data saved. Comparison completed if prior data existed.
Present a structured report to the user:
Format:
## System Health Report — <timestamp>
### Overall Status: [HEALTHY | WARNING | CRITICAL]
### Summary
- <N> metrics collected across <M> categories
- <X> anomalies detected (<W> warnings, <C> critical)
- Trend: <comparison summary or "First run — no historical data">
### Anomalies (if any)
| Severity | Category | Metric | Current | Threshold | Trend |
|----------|----------|--------|---------|-----------|-------|
| ... | ... | ... | ... | ... | ... |
### Category Breakdown
For each category, show key metrics with current/min/max/avg values.
Highlight any values near thresholds in the breakdown.
Overall status is the highest severity found: CRITICAL > WARNING > HEALTHY.
If no anomalies, confirm system is healthy and show key metrics summary.
Success criteria: User receives a clear, actionable health report with severity-ranked anomalies and trend data.