{"skill":{"slug":"event-monitor","displayName":"Monitoring Skill","summary":"Predicts CPU spikes using Random Forest regressor, monitors system resources, saves metrics, and generates Excel reports.","description":"---\nname: predictive-monitoring\ndescription: Predicts CPU spikes using Random Forest regressor, monitors system resources, saves metrics, and generates Excel reports.\nmetadata: {\"user-invocable\": true}\n---\n\n# Predictive Monitoring Skill\n\nThis skill monitors system resources and predicts future CPU spikes based on past data.\n\n## Commands\n\n### /collect-metrics\nTriggers a collection of the top 10 CPU and Memory consuming processes.\nThe results are saved to a local SQLite database `monitoring.db`.\n\n### /predict-usage\nAnalyzes 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.\n\n### /generate-report\nGenerates an Excel report of the latest captured metrics.\n\n## Instructions for Agent\nTo collect metrics (without prediction), run `python {baseDir}/monitoring.py`.\nTo collect metrics and run predictive analysis, run `python {baseDir}/monitoring.py --predict`.\nTo verify the database, look for `monitoring.db` in the skill directory.\n","tags":{"latest":"1.0.4"},"stats":{"comments":0,"downloads":779,"installsAllTime":29,"installsCurrent":1,"stars":0,"versions":5},"createdAt":1772764554702,"updatedAt":1778491745273},"latestVersion":{"version":"1.0.4","createdAt":1773798795743,"changelog":"- Internal code update in monitoring.py; no user-facing changes.\n- No changes to documentation or feature set.","license":"MIT-0"},"metadata":null,"owner":{"handle":"ningtoba","userId":"s172pfdqtvq8nh4mb3gc3vv4gd83we2v","displayName":"Ning","image":"https://avatars.githubusercontent.com/u/55053307?v=4"},"moderation":null}