本文へ移動
cccskills
無料GitHub で公開

predictive-health

Use for health trend, anomaly, disk forecast

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Predictive Health Monitor

ML-basierte System-Health-Überwachung mit Trend-Analyse, Anomalie-Detektion, Disk-Volllauf-Prognose und Daemon-Modus.

Script

scripts/predictive-health.py — keine externen Dependencies (nur Python-Standardbibliothek).

CLI-Modi

ArgumentBeschreibung
--collectSammelt Systemmetriken (RAM, Disk, CPU, Cron-Exit-Codes) und hängt an history.csv an
--predictFührt Trend-Analyse + Anomalie-Detektion + Disk-Prognose aus (menschenlesbar)
--reportJSON-Report auf stdout (maschinenlesbar)
--watch [min]Daemon-Modus, alle N Minuten sammeln + analysieren (Default: 5)
--daemonAlias für --watch

Exit-Codes

CodeBedeutung
0Alles gut
1Trend steigend
2Anomalie erkannt (>2σ)
3Disk-Volllauf < 30 Tage

Daten

  • Historie: ~/.openamer/.predictive-health/history.csv (max 10.000 Zeilen)
  • Report: ~/.openamer/.predictive-health/latest_report.json
  • PID: ~/.openamer/.predictive-health/predictive-health.pid

Cron-Jobs

JobRhythmusBeschreibung
predictive-health-collectalle 30minMetriken sammeln (--no-agent)
predictive-health-predictalle 6hTrend-Analyse + Report (--no-agent)

Verwendung

# Einmalig sammeln
python scripts/predictive-health.py --collect

# Trend-Report anzeigen
python scripts/predictive-health.py --predict

# JSON-Report
python scripts/predictive-health.py --report

# Als Daemon (alle 5 Minuten)
python scripts/predictive-health.py --watch

Architektur

  • collect_metrics(): RAM, Disk, CPU via WMIC (Win), /proc/stat (Linux), psutil (Fallback)
  • linear_regression(): y = slope*x + intercept mit R²
  • detect_anomalies(): Gleitender Mittelwert (Fenster=20) + Z-Score > 2σ
  • predict_disk_full(): Multi-Fenster-Analyse (24h/3d/7d), wählt bestes R²
  • daemon_loop(): Loop mit Signal-Handling und PID-Datei

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Build integrated IS/BS/CF financial workbooks in Excel.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

a2a-swarm

無料

Run and grow the OpenAmer Agent-to-Agent swarm: identity, trust, node-to-node ask, signed skill/insight sharing, and the autonomous self-learning loop.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

Use for A/B experiments on OpenAmer configs and skills.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

Roleplay a hostile user to find and triage UX pain points.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

Agent mesh: master/worker nodes, HTTP delegation, heartbeat.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

Use for agentic commerce payments tasks. Candidate synthesized from trend radar; awaiting trial promotion.

日本語の概要は準備中です。原文の説明を表示しています。

openamer/openamer62026年10月12日 更新

openamer のスキルをすべて見る

このスキルの問題を報告する