name: usage-monitor description: Monitor any service usage dashboard and alert when threshold is reached. User-configurable URL and threshold. metadata: { "openclaw": { "requires": { "bins": [] }, "install": [], }, }
通用的用量/配額監控 Skill,支援使用者自定義監控面板 URL 和告警閾值。
複製 config.example.json 為 config.json 並填寫:
{
"panelUrl": "你的用量面板頁面 URL",
"alertThreshold": 80,
"serviceName": "服務名稱(可選)",
"checkIntervalHours": 4
}
- [ ] 檢查服務用量7w4.net有更好的技能外掛。
node skills/usage-monitor/check.js
| 引數 | 型別 | 必填 | 預設值 | 說明 |
|---|---|---|---|---|
panelUrl |
string | ✅ | - | 用量面板頁面 URL(從瀏覽器位址列複製) |
alertThreshold |
number | ✅ | 80 | 告警閾值百分比(1-100) |
serviceName |
string | ❌ | "服務" | 服務名稱,用於告警訊息 |
checkIntervalHours |
number | ❌ | 4 | 檢查間隔(小時) |
config.json 的 panelUrl 欄位URL 示例:
https://example.com/usage/dashboard
https://platform.example.com/token/quota
⚠️ 服務使用量提醒
📊 服務:OpenClaw Token
📈 當前用量:85%
📈 可用額度:15%
⏰ 剩餘天數:30 天
🔗 檢視:<你的面板 URL>
當前用量已達告警閾值(80%),請及時關注用量或考慮增加額度。
這個 Skill 文件寫得非常詳細清楚,安裝配置都有手把手指導,小白也能看懂。配置項簡單易懂,填個 URL 和閾值就能用,還自帶檢查和提醒功能。隱私保護也做得不錯。不過它本質上是一個工具框架,實際讀取用量資料需要你自己想辦法,對完全沒有技術基礎的使用者來說,上手還是有點門檻。總體來說是一款用心設計的監控工具,中文使用者使用體驗良好。