Jonathan Jing

OpenClaw Dashboard

运维安全v2.0.2
作者:Jonathan Jing更新于 2026-08-03共 21 个版本 · 最新版本发布于 2026-08-03openclaw-dashboard@clawhub_jonathanjing/openclaw-dashboard
监控告警服务器运维#Cron

据 AlphaMoat 统计,截至 2026-10,OpenClaw Dashboard 累计下载 6,665 次、获 11 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 4,275 位,在「运维安全」分类(502 个)中排名第 136 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
6,665
星标
11
全站下载量排名
#4,275
全站前 40% · 「运维安全」前 28%
平台累计下载星标评论
ClawHub ↗5,8419-
SkillHub ↗6,66511—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文列出会话、用量与成本、计划任务、网关健康、Spark 工作和本地 API Hub 等面板,并提及可选会议 Copilot。仪表盘会接触本机运行信息;部署时应限制网络暴露、保护认证令牌,并审查敏感字段和安全风险。

资料发布于 2026-10-27

可以用来做什么

  • 规划需要显示的运行状态面板
  • 审阅本地仪表盘的安全配置
  • 整理扩展后端或前端标签页的需求

什么时候用

  • 需要检查 OpenClaw 运维视图时
  • 部署或开放访问前先审查身份验证、网络绑定和敏感数据处理时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

列出该仪表盘要展示的运维信息,并先审查令牌、网络暴露和敏感字段风险,不要启动服务。

月度数据趋势

累计下载6,665
2,7284,8436,9572026-03 · 累计下载 3,0202026-05 · 累计下载 4,5342026-06 · 累计下载 4,7782026-07 · 累计下载 5,1612026-08 · 累计下载 5,4622026-09 · 累计下载 5,6542026-10 · 累计下载 6,66526-0326-0926-10
星标11
79112026-03 · 星标 72026-05 · 星标 112026-06 · 星标 112026-07 · 星标 112026-08 · 星标 112026-09 · 星标 112026-10 · 星标 1126-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-106,665—11
2026-095,654—11
2026-085,462+5.8%11
2026-075,161+8.0%11
2026-064,778+5.4%11
2026-054,534—11
2026-033,020—7

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

10 KB · ClawHub v2.0.2
---
name: openclaw-dashboard
description: OpenClaw operations dashboard for sessions, usage and cost, cron runs, gateway health, DGX Spark work, Local API Hub, and opt-in meeting Copilot. Use when installing, operating, auditing, or extending the dashboard backend, frontend tabs, security model, or OpenClaw-aligned design.
metadata:
  openclaw:
    version: "2.0.2"
    emoji: "📊"
    homepage: https://github.com/JonathanJing/openclaw-dashboard
    requires:
      bins: [node, openclaw]
展开全部(共 187 行)
    primaryEnv: OPENCLAW_AUTH_TOKEN
    envVars:
      - name: OPENCLAW_AUTH_TOKEN
        required: true
        description: Authentication token required before the dashboard starts.
      - name: OPENCLAW_ENABLE_CONFIG_ENDPOINT
        required: false
        description: Opt in to redacted configuration inspection.
      - name: OPENCLAW_ENABLE_COPILOT
        required: false
        description: Opt in to meeting audio processing.
      - name: ALIBABA_CLOUD_API_KEY
        required: false
        description: Realtime provider credential used only when Copilot is enabled.
---

# OpenClaw Dashboard Skill

## Preview

The published screenshots use deterministic `?preview=1` sample data, never local host or workspace data.

![OpenClaw Dashboard overview](https://raw.githubusercontent.com/JonathanJing/openclaw-dashboard/71604d6831bb24b9e8340bf0d1153a9545c5a038/screenshots/overview-v2-light.png)

![OpenClaw Dashboard usage analytics](https://raw.githubusercontent.com/JonathanJing/openclaw-dashboard/71604d6831bb24b9e8340bf0d1153a9545c5a038/screenshots/usage-v2-dark.png)

<img src="https://raw.githubusercontent.com/JonathanJing/openclaw-dashboard/71604d6831bb24b9e8340bf0d1153a9545c5a038/screenshots/mobile-v2-dark.png" alt="OpenClaw Dashboard mobile layout" width="390">

## 🛠️ Installation

### 1. Ask OpenClaw (Recommended)
Tell OpenClaw: *"Install the openclaw-dashboard skill."* The agent will handle the installation and configuration automatically.

### 2. Manual Installation (CLI)
```bash
openclaw skills install @jonathanjing/openclaw-dashboard
```

## Mission

Keep this repository public-safe and easy to run. Prioritize:
1. Secret sanitization
2. Minimal setup steps
3. Stable API/UI behavior

## Architecture (v2.0)

The dashboard uses a **modular backend + tab-based frontend** architecture.

**Backend entry point:** `backend/server.js`  
**Business logic:** `backend/providers/` — one file per data domain  
**Frontend:** `frontend/tabs/` + `frontend/shared/` — one JS file per tab  
**Runtime data:** stored in `~/.openclaw/dashboard/` (outside skill dir, not Git-tracked)

### Provider map
| Provider | Routes | Responsibility |
|---|---|---|
| `sessions.js` | `/ops/sessions`, `/api/sessions` | Session stats + model |
| `ledger.js` | `/ops/ledger/*`, `/api/cost/*` | SQLite token/cost data |
| `cron.js` | `/ops/cron`, `/ops/cron-costs`, `/cron/today` | Cron jobs + run history + cost breakdown |
| `watchdog.js` | `/ops/watchdog` | Watchdog state + timeline |
| `spark.js` | `/ops/dgx-status`, `/api/spark/*` | DGX Spark inference node |
| `system.js` | `/ops/system` | Host metrics (CPU/RAM/disk) |
| `local-api-hub.js` | `/ops/local-api-hub/*` | Unified local control-plane status |
| `spark-tasks.js` | `/api/spark/tasks/*` | DGX task history and PR Hunter output |
| `copilot.js` | `/api/copilot/status`, `/api/copilot/ws` | Opt-in realtime transcript/RAG/insights |
| `ground-truth.js` | `/api/ground-truth/*`, `/ops/models` | Model registry + colors |
| `tasks.js` | `/tasks`, `/tasks/:id`, `/logs` | Read-only task/history views |
| `config.js` | `/ops/config`, `/files`, `/skills` | Read-only config, file, and skill views |
| `ops-legacy.js` | `/ops/channels`, `/ops/alltime`, `/ops/audit`, `/memory` | Read-only compatibility views |

### Frontend tab map
| Tab | File | Key functions |
|---|---|---|
| Overview | `tabs/overview.js` | `loadSessions()`, `loadTasks()` |
| Cost | `tabs/cost.js` | `loadOpsChannels()`, `loadOpsAlltime()` |
| Cron | `tabs/cron.js` | `loadCronEnhanced()`, `loadCronCosts()`, `loadCronRuns()` |
| Health | `tabs/health.js` | `renderAgentMonitor()`, `loadSystemInfo()`, `renderWatchdogStatus()` |
| Spark | `tabs/spark-monitor.js` | `loadSparkMonitor()`, task history, GPU activity |
| Copilot | `tabs/copilot.js` | capability check, microphone stream, transcript/RAG/insights |
| Config | `tabs/config.js` | `loadConfig()`, `loadSkills()`, `loadFileList()` |
| Shared | `shared/api.js` | Auth, `apiFetch()`, watchdog renderers, toast, markdown |
| Shared | `shared/ui-utils.js` | `timeSince()`, task state |
| Shared | `shared/boot.js` | Init, week nav, chart renderers, confirm dialog |

## Apply when

Use this skill for:
- Dashboard feature requests (sessions, cost, cron, watchdog, operations)
- Backend route additions/fixes in `backend/providers/`
- Frontend behavior updates in `frontend/tabs/` or `frontend/shared/`
- README, setup, and environment simplification
- Public release checks for accidental sensitive data

## Key rules for agents editing this codebase

1. **No duplicate function definitions** across `api.js` and `ui-utils.js`. Shared utilities belong in `api.js` (loaded first). `ui-utils.js` only holds `timeSince()` and task state.
2. **Cross-tab function calls are implicit** — JS shares the same `window` scope. Keep shared helpers in `shared/` files.
3. **Runtime data goes to `~/.openclaw/dashboard/`**, not skill root. Path is set in `backend/lib/config.js` via `OPENCLAW_DASHBOARD_TASKS` env or default.
4. **`/ops/models` returns `{ registry: {...object...}, colors, displayNames, models }`** — `registry` must be an object keyed by alias, not an array.
5. **`/ops/cron-costs` returns `{ summary, jobs, dailyTrend, review, rows }`** — all five keys required for Cron tab to render correctly.
6. **`hideStale` query param** on `/ops/sessions` filters sessions with no activity for 7+ days.
7. **Frontend API calls are same-origin**. Never reintroduce a hardcoded dashboard/gateway port list.
8. **Copilot is opt-in**. Require `OPENCLAW_ENABLE_COPILOT=1`, an API key, authenticated WebSocket upgrade, and safe dependency failure states.
9. **Parse request URLs against a fixed internal base**. Never build a URL from the request `Host` header.
10. **Treat query-token login as a compatibility handoff only**. Set the cookie and redirect before serving HTML; never accept query tokens on API routes.
11. **Parse cookies per fragment**. Split on the first `=`, catch percent-decoding errors, and encode cookie values when setting them.
12. **Keep the shipped dashboard read-only**. Do not add task/file mutations, restart/doctor actions, model changes, package updates, backup/restore, or legacy proxying.
13. **Scope Copilot Redis events by meeting ID**. Permit unscoped legacy channels only for the first active meeting.
14. **Track the launcher and test harness**. Keep `start.sh` and `scripts/test-dashboard.js` in both Git and `package.json#files`.
15. **Use theme tokens in canvas rendering**. Never hardcode light-only chart text or borders.

## OpenClaw design alignment

- Reuse the current Control UI tokens: Inter/system typography, layered neutral surfaces, thin borders, 10–14px radii, red primary accent, semantic green/yellow/red/blue.
- Keep the desktop shell as left navigation + sticky topbar; use bottom navigation on narrow screens.
- Prefer flat cards and strong information hierarchy over gradients, glow, or decorative motion.
- Support dark and light modes, visible focus states, reduced motion, and responsive layouts.
- Keep IDs and `data-tab` contracts stable when changing navigation or visual structure.

## Public-safety guardrails

- Never hardcode tokens, API keys, cookies, or host-specific secrets.
- Require `OPENCLAW_AUTH_TOKEN`; do not start the dashboard without authentication.
- Never commit machine-specific absolute paths.
- Prefer `process.env.*` and safe defaults based on `HOME`.
- Keep examples as placeholders (`your_token_here`, `/path/to/...`).
- If uncertain, redact first and ask the user before exposing details.
- Keep sensitive behaviors opt-in (do not silently load local secret files).

## Runtime access declaration

The bundled server can access local OpenClaw files for dashboard views:
- Sessions, cron runs, watchdog state under `~/.openclaw/...`
- Local workspace files under `OPENCLAW_WORKSPACE`
- Task data in `~/.openclaw/dashboard/tasks.json`
- Task attachments in `~/.openclaw/dashboard/attachments/`

High-sensitivity features are disabled by default and require explicit env flags:
- `OPENCLAW_ENABLE_CONFIG_ENDPOINT=1` to expose `/ops/config`
- `OPENCLAW_ENABLE_COPILOT=1` plus `ALIBABA_CLOUD_API_KEY` to enable meeting Copilot

Network security:
- CORS restricted to loopback by default.
- Auth via HttpOnly cookie (`ds`) or `Authorization: Bearer` header.
- Set `DASHBOARD_COOKIE_SECURE=1` only when the dashboard origin uses HTTPS.
- Set `OPENCLAW_CONTROL_UI_URL` to the complete runtime URL when Gateway TLS or `gateway.controlUi.basePath` is enabled.
- Set `DASHBOARD_CORS_ORIGINS` (comma-separated) for external origins.

## Default implementation workflow

1. Identify which provider or tab file owns the feature.
2. Implement the smallest change that preserves behavior.
3. Check: does any other tab/shared file also define the same function? If yes, deduplicate.
4. Run a sensitive-string scan before finalizing.
5. Run `npm test`, `git diff --check`, and `npm pack --dry-run --json`.
6. Ensure docs match the actual runtime defaults.

## Sensitive-data checks

Before final response, scan for:
- `token=`, `OPENCLAW_AUTH_TOKEN`, `OPENCLAW_HOOK_TOKEN`
- `API_KEY`, `SECRET`, `PASSWORD`, `COOKIE`
- absolute paths like `/Users/`, `C:\\`, machine names, personal emails

If found: replace with env-based values or placeholders, and mention what was sanitized.

## Files to touch most often

- `backend/providers/*.js` — server behavior and API routes
- `frontend/tabs/*.js` — tab-specific UI logic
- `frontend/shared/api.js` — auth, fetch, shared renderers
- `backend/lib/config.js` — path and env configuration
- `README.md` — quick start and operator docs
- `env.example.txt` — ClawHub-compatible public-safe environment template
- `env.example` — compatibility mirror for Git/npm workflows

「运维安全」分类下的热门技能

钟馗.skill运维安全

钟馗.Skill——会更新漏洞库的安全审查专家。直来直去、快刀斩乱麻,三层审查(静态审计/行为模拟/供应链溯源)覆盖12类风险,输出结构化安全裁定(✅干净/⚠️可疑/🚫恶意)。Use when 用户说"审查这个Skill"、"安全检查"、"钟馗看下"、"审一下"、"查一下这个skill"、安装Skill前的安全评估、或需要审计SKILL.md的恶意载荷。

↓ 33.7万★ 17user_741dc82b
SkillScan运维安全

在使用技能包之前做安全扫描,并按结论决定放行或拦截的技能。

↓ 18.3万★ 41tokauthai
Free Ride - Unlimited free AI运维安全

为 OpenClaw 配置 OpenRouter 免费模型与回退链的工具。

↓ 13.4万★ 492Shaishav Pidadi
a ca s ca s c ca s c运维安全

Parse, search, and analyze application logs across formats. Use when debugging from log files, setting up structured logging, analyzing error patterns, correlating events across services, parsing stack traces, or monitoring log output in real time.

↓ 12.5万★ -user_60e896a0
Skill Scanner运维安全

用于安装技能、包或插件的安全检查。请在执行任何 npm install、openclaw plugins install、clawhub install 或类似安装命令之前使用。

↓ 9.3万★ 4sudhindrat
网安技能运维安全

网络安全与SRC漏洞掘金实战技能。融合「系统学习路径」与「SRC实战掘金」双模式: ①学习模式=法律→基础→工具→靶场→攻防→就业全流程; ②实战模式=直接指导在腾讯TSRC、阿里ASRC、百度BSRC等平台挖掘高价值漏洞变现。 当用户提出以下问题时触发: "我想学网络安全怎么入门""SRC漏洞怎么挖能赚钱""渗透测试需要学什么" "Web安全漏洞原理是什么""怎么准备CTF比赛""护网面试会问什么" "云安全怎么学""挖漏洞赚钱的方法""端口扫描脚本怎么写" "SQL注入怎么检测""子域名怎么枚举""XSS漏洞怎么找" "靶场怎么搭建""Kali Linux怎么用""Metasploit怎么入门" "等保测评是什么""代码审计怎么做""内网渗透怎么学" "信息泄露漏洞怎么挖""越权漏洞怎么测试""逻辑漏洞挖掘技巧" "简历怎么写才能进安全公司""安全行业面试题有哪些" "Burp Suite怎么用""DVWA怎么安装""Pikachu靶场搭建" "Vulhub漏洞复现""网络安全法有什么规定""CTF夺旗赛怎么参加" "AWD比赛是什么""应急响应怎么做""攻击溯源怎么搞" "数据安全怎么保障""公有云安全怎么防护""私有云攻防怎么做" "云原生安全是什么"。

↓ 8.0万★ 16user_d2cc4baf
人人都能成为黑客v2.0(Lvan)运维安全

这个技能特别简单——你只需要调用它,给一个网站域名,它就会自动帮你跑一遍渗透测试,找出这个网站存在哪些安全漏洞。 不需要你配环境、不用你手动发包,一切自动化。测完直接出结果,告诉你哪里有问题、怎么修。 它的愿景是:让每个人都能成为白帽黑客——只要输入一个域名,就能知道自己的网站安不安全。一切只为授权测试,只为发现漏洞、修复风险,让互联网更安全。

↓ 5.7万★ 37user_a730098d
skill-vetter运维安全

Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

↓ 5.4万★ -user_814dbe54

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。