dingjun1028/esggo/oa-realtime-monitor

Claude Code and agent skill by dingjun1028/esggo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user wants real-time system monitoring via SSE, Redis, or API. Monitors gateway health, agent status, deployment status, and system metrics. Load when user mentions monitoring, real-time, SSE, health check, or observability.

Install

npx vskill@latest install dingjun1028/esggo/oa-realtime-monitor

SKILL.md

The same SKILL.md was published earlier as dingjun1028/esggo/oa-realtime-monitor.

OA Realtime Monitor — 即時監控器 v2

Overview

即時監控系統健康:Gateway 狀態、代理狀態、部署狀態、系統指標。支援 SSE、Redis Pub/Sub、REST API 多種模式。

When to Use

  • 用戶說「監控」、「即時狀態」、「健康檢查」、「SSE」、「觀測性」
  • 需要即時查看系統運行狀態

Don't use for: 部署(用 oa-deploy)、VPS 管理(用 oa-vps-gateway)

Monitoring Targets

目標指標更新頻率
OmniAgent Gateway連線數、訊息吞吐、錯誤率即時 (SSE)
Hermes AgentSession 數、工具調用、Token 用量5s
VPS 基礎設施CPU、Memory、Disk、Network10s
部署管線Build 狀態、Deploy 狀態、健康檢查事件驅動
SupabaseQuery 延遲、連線池、錯誤率30s

Core Workflow

Step 1: 啟動監控
bash
# Local gateway
curl -N http://127.0.0.1:8642/monitor/stream
# VPS gateway
curl -N https://vps.esggo.org:8443/monitor/stream
# Redis Pub/Sub
redis-cli SUBSCRIBE monitor:gateway monitor:agent monitor:vps
Step 2: 儀錶板查看
bash
# 文字模式
node cli/omni-cli.ts monitor --mode=text
# JSON 輸出(供其他工具消費)
node cli/omni-cli.ts monitor --mode=json
Step 3: 告警規則
yaml
# .hermes/monitor/alerts.yaml
alerts:
- name: gateway_down
condition: "gateway.healthy == false"
action: "notify_telegram"
- name: high_error_rate
condition: "agent.error_rate > 0.1"
action: "log_and_notify"
- name: deploy_failed
condition: "deploy.status == failed"
action: "notify_telegram"

Data Sources

  • Gateway SSE: /monitor/stream endpoint
  • Redis: monitor:* channels
  • REST API: /api/monitor/* endpoints
  • PM2: pm2 jlist for process metrics

Common Pitfalls

  1. SSE 連線中斷 — 需自動重連邏輯(指數退避)
  2. Redis 連線數 — 監控不應佔用過多連線
  3. 指標爆炸 — 僅收集關鍵指標,避免高基數

Verification Checklist

  • [ ] SSE 串流正常
  • [ ] Redis 訂閱正常
  • [ ] 關鍵指標皆有資料
  • [ ] 告警規則生效
  • [ ] 歷史資料可查詢

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dingjun1028/esggo/oa-realtime-monitor/badge)](https://verified-skill.com/skills/dingjun1028/esggo/oa-realtime-monitor)

Something wrong with this skill or its page? Tell us.