简介
零成本实时 Discord 系统监控面板,60秒自动更新,100%无LLM开销,支持历史趋势分析与智能告警
原始描述
Zero-token real-time Discord monitoring dashboard for OpenClaw. Displays system health, cron jobs, sessions, and performance analytics via persistent Discord...
通过你的 Agent 添加
安装目录:live-monitoring-dashboard/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Live Monitoring Dashboard 是一个专为 OpenClaw 设计的零 Token 成本实时监控系统,通过 Discord 频道提供持续更新的可视化仪表板。安装后自动创建 #tommy-monitoring 频道,部署4层监控切片:活动监控(子代理、定时任务、会话)、系统健康(CPU/内存/磁盘)、性能分析(历史趋势、智能告警)。更新机制采用纯 Shell 脚本直接调用 openclaw message edit,每60秒原位编辑消息,避免消息轰炸。
显著优点
成本颠覆性:完全绕过 LLM 推理,消除每日 280 万 Token 浪费,实现真正零成本运维。
实时可视化:Discord 原生消息作为 UI,无需额外前端,支持颜色编码状态指示(🟢正常 🟡中等 ⚠️高危 🚨告警)。
智能分析:Slice 4 提供历史趋势追踪、可配置阈值告警、峰值记录与数据保留策略,具备基础的方向性趋势检测(↗️↘️→)。
轻量可持续:CPU 占用极低,内存 <1MB,磁盘约 100KB/日,自动清理旧数据。
潜在局限
平台绑定:深度依赖 OpenClaw CLI 与 Discord 生态,迁移成本较高。
功能边界:仅支持基础阈值告警,无预测性分析或机器学习异常检测;趋势分析为简单方向性判断,非统计模型。
单点故障:监控本身若依赖的 shell 工具(top、df)或 Discord API 异常,将失去可视性。
权限要求:需 message 工具权限及 Discord 频道管理权限,企业环境可能受安全策略限制。
适合人群
- OpenClaw 生态运维者、多子代理系统管理员
- 追求极致成本控制的个人开发者或小型团队
- 需要轻量级监控、不愿部署复杂可观测性栈(如 Prometheus/Grafana)的场景
常规风险
- 配置漂移:手动修改
performance-config.json 若未验证阈值合理性,可能导致告警风暴或漏报
- 数据隐私:系统指标与进程信息持续推送至 Discord,需确认频道访问权限合规
- 依赖老化:
jq、bc 等工具版本差异可能导致脚本异常,建议容器化锁定环境
- 无持久化保障:本地 CSV/日志文件无备份机制,节点故障将丢失历史数据
- 配置漂移:手动修改
performance-config.json若未验证阈值合理性,可能导致告警风暴或漏报 - 数据隐私:系统指标与进程信息持续推送至 Discord,需确认频道访问权限合规
- 依赖老化:
jq、bc等工具版本差异可能导致脚本异常,建议容器化锁定环境 - 无持久化保障:本地 CSV/日志文件无备份机制,节点故障将丢失历史数据
技能正文
name: live-monitoring-dashboard
description: "Zero-token real-time Discord monitoring dashboard for OpenClaw. Displays system health, cron jobs, sessions, and performance analytics via persistent Discord messages updated every 2 minutes with no LLM token cost."
metadata: { "openclaw": { "emoji": "📊", "requires": { "bins": ["curl", "jq", "top", "df"] } } }
Live Monitoring Dashboard
Zero-Token Real-time Discord monitoring for your OpenClaw ecosystem
What it does
Creates a dedicated Discord channel with live-updating messages showing:
🤖 Activity Monitoring (Slice 1 & 2)
- Active subagents and their current tasks
- Running and recent cron jobs with status
- OpenClaw activity and system processes
- Session count and activity overview
🖥️ System Health (Slice 3)
- Real-time CPU, memory, and disk usage
- System uptime and process monitoring
- Status indicators with color-coded alerts
📈 Performance Analytics (Slice 4) ✨
- Historical performance trend analysis
- Smart threshold-based alerting system
- Peak usage tracking and pattern detection
- Configurable alert thresholds
Zero Token Cost: Uses shell scripts + Discord CLI commands instead of expensive LLM calls for 100% cost efficiency.
Updates every 60 seconds with zero message spam - only edits existing messages.
Installation
npm install
./install.sh
Configuration
npm install
./install.sh
The skill will:
- Create a dedicated monitoring channel (
#tommy-monitoringby default) - Post initial dual dashboard messages (Activity + System Health)
- Begin live zero-token updates automatically
- Initialize performance analytics and alert thresholds
Usage
Once installed, the monitoring runs automatically with these commands:
Manual Performance Tracking:
./scripts/performance-tracker.sh track # Log current metrics and check alerts
./scripts/performance-tracker.sh trends # Show performance trends
./scripts/performance-tracker.sh alerts # View recent alerts
./scripts/performance-tracker.sh cleanup # Clean old performance data
Configuration:
Performance thresholds can be customized in config/performance-config.json:
{
"cpu_warning": 70,
"cpu_critical": 85,
"mem_warning": 75,
"mem_critical": 90,
"disk_warning": 80,
"disk_critical": 95,
"retention_days": 7
}
Requirements
- Discord channel configured in OpenClaw
message tool available
- Basic system utilities (
ps, top, uptime, df)
jq for JSON configuration parsing
bc for mathematical calculations
Complete Feature Set (All 4 Slices)
message tool availableps, top, uptime, df)jq for JSON configuration parsingbc for mathematical calculations✅ Slice 1 & 2: Discord Activity Monitoring
- OpenClaw session tracking and activity overview
- Cron job status monitoring (21+ jobs supported)
- Subagent detection and lifecycle tracking
- Process monitoring with real-time updates
✅ Slice 3: System Health Monitoring
- Real-time CPU/memory/disk usage with smart indicators
- System uptime tracking and stability monitoring
- Critical events logging with 10-event circular buffer
- Status indicators: 🟢 Normal / 🟡 Medium / ⚠️ High / 🚨 Alert
✅ Slice 4: Performance Analytics & Smart Alerts ⭐
- Historical trend analysis: CPU/memory patterns over time
- Smart threshold alerting: Configurable warning/critical levels
- Peak usage tracking: Daily maximums and averages
- Data retention: Configurable history (default 7 days)
- Alert logging: Comprehensive alert history with timestamps
- Trend detection: Simple directional analysis (↗️↘️→)
✅ Zero Token Architecture:
- Shell-based updates: Direct
openclaw message editCLI usage - No LLM inference: Pure data collection and formatting
- 100% cost efficiency: Eliminated 2.8M daily token waste
- Sustainable operation: Real-time monitoring with zero ongoing costs
Architecture
Update Cycle (60-second intervals):
- Data Collection: System metrics via shell commands (
top,df,uptime) - Performance Tracking: Historical logging and trend analysis
- Alert Processing: Threshold checking and alert generation
- Discord Updates: Direct message editing via OpenClaw CLI
- Cleanup: Automatic old data removal based on retention policy
File Structure:
live-monitoring-dashboard/
├── scripts/
│ ├── zero-token-dashboard.sh # Main dashboard updater
│ └── performance-tracker.sh # Slice 4 analytics
├── config/
│ ├── live-state.json # Runtime state
│ └── performance-config.json # Alert thresholds
└── data/
├── performance/ # Daily metrics (CSV)
└── alerts.log # Alert history
Performance
- CPU Impact: Minimal (shell commands only)
- Memory Usage: <1MB for data storage
- Disk Usage: ~100KB/day for metrics (auto-cleanup enabled)
- Network: Only outbound Discord API calls
- Token Cost: ZERO (no LLM inference required)
🚀 Ready for Production | Built for OpenClaw Community
Developed during trust window sessions March 5, 2026 - demonstrating zero-token operational excellence and partnership-level autonomous development.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。