← 返回 Skills 市场
ningtoba

Monitoring Skill

作者 Ning · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
354
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install event-monitor
功能描述
Predicts CPU spikes using Random Forest regressor, monitors system resources, saves metrics, and generates Excel reports.
使用说明 (SKILL.md)

Predictive Monitoring Skill

This skill monitors system resources and predicts future CPU spikes based on past data.

Commands

/collect-metrics

Triggers a collection of the top 10 CPU and Memory consuming processes. The results are saved to a local SQLite database monitoring.db.

/predict-usage

Analyzes collected CPU metrics, trains a Random Forest model, and predicts CPU behavior for the next 24 hours. High CPU usage alerts (Amber, Red) are saved to the Alert table.

/generate-report

Generates an Excel report of the latest captured metrics.

Instructions for Agent

To collect metrics (without prediction), run python {baseDir}/monitoring.py. To collect metrics and run predictive analysis, run python {baseDir}/monitoring.py --predict. To verify the database, look for monitoring.db in the skill directory.

安全使用建议
This skill appears internally consistent with a local monitoring/prediction tool, but review these before installing: 1) The script collects process names and resource usage and stores them locally (monitoring.db) — this can reveal running application names and should only be run on hosts you control. 2) Requirements install pandas, scikit-learn, psutil and openpyxl via pip; install these packages from trusted indexes and consider running in a virtualenv. 3) The bundle includes install.yaml (with an npm-like install_path) even though the registry lists no install spec — confirm your platform won't execute that file unexpectedly. 4) The provided file listing is truncated in the prompt; if possible, inspect the complete monitoring.py for any network calls or hidden behavior before granting runtime. 5) Run the skill in an isolated environment first (or on a non-production host) if you have any doubt.
功能分析
Type: OpenClaw Skill Name: event-monitor Version: 1.0.4 The skill bundle is a legitimate system monitoring tool that uses psutil to collect process metrics, stores them in a local SQLite database (monitoring.db), and uses scikit-learn for CPU usage prediction. The code in monitoring.py and the instructions in SKILL.md are consistent with the stated purpose, and there are no signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name and description (predictive monitoring, CPU spikes, Excel reports) match the included code and declared Python dependencies (psutil, pandas, scikit-learn, openpyxl). Capturing process CPU/memory and storing to a local SQLite DB is expected for this purpose.
Instruction Scope
SKILL.md only instructs the agent to run the bundled monitoring.py (with an optional --predict flag) and to check monitoring.db in the skill directory. The script's actions (psutil to enumerate processes, sqlite writes, local Excel file creation) are limited to local system state and files and align with the stated purpose. There are no instructions to read unrelated system files or to send data externally.
Install Mechanism
Registry shows 'instruction-only' (no install spec) but the bundle contains an install.yaml file that lists an install_path under an npm-global location and a 'read: system-info' permission. The presence of requirements.txt (Python libs) is expected. Because there's no active install spec in the registry, nothing will be automatically downloaded or executed beyond running the provided Python script, but you should confirm how the platform will handle the included install.yaml if used.
Credentials
No environment variables, credentials, or external API keys are requested. The script uses socket.gethostname() and records process/application names and metrics — local but potentially sensitive information — which is proportionate to a monitoring tool.
Persistence & Privilege
The skill is not marked always:true and does not request elevated platform privileges. It writes its own monitoring.db and alert records in the skill directory, which is expected for local persistence. Autonomous invocation (default) is allowed by platform but not, by itself, a red flag here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install event-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /event-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Internal code update in monitoring.py; no user-facing changes. - No changes to documentation or feature set.
v1.0.3
**Adds CPU spike prediction and streamlines monitoring features.** - Renamed skill to "predictive-monitoring" with updated descriptions. - Added Random Forest-based CPU usage prediction and alerting. - Removed detailed security section and permission rationale from documentation. - Streamlined usage instructions and consolidated process explanations. - Added install.yaml and requirements.txt for easier setup; removed unused files.
v1.0.2
Added SECURITY.md, security metadata in SKILL.md and tools.json for ClawHub scan compliance
v1.0.1
Fixed Windows console encoding, added self-improvement integration
v1.0.0
Initial release - CPU and memory monitoring with SQLite storage
元数据
Slug event-monitor
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Monitoring Skill 是什么?

Predicts CPU spikes using Random Forest regressor, monitors system resources, saves metrics, and generates Excel reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 354 次。

如何安装 Monitoring Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install event-monitor」即可一键安装,无需额外配置。

Monitoring Skill 是免费的吗?

是的,Monitoring Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Monitoring Skill 支持哪些平台?

Monitoring Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Monitoring Skill?

由 Ning(@ningtoba)开发并维护,当前版本 v1.0.4。

💬 留言讨论