← 返回 Skills 市场
Regeneration (hourly,
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hobohan-dashboard-generator
功能描述
Generate self-contained HTML dashboards for memory logs, expense charts, and token usage. Run hourly via cron.
使用说明 (SKILL.md)
Dashboard Generator
Three dashboards served on port 8081 via scripts/serve-dashboards.py. Regenerated hourly with a 5-minute stagger.
Dashboard types
| Dashboard | File | Content |
|---|---|---|
| Memory | memory/dashboard.html |
All daily logs embedded as cards, searchable |
| Expense | dashboard/usage/expense-data.json |
All ledger entries as JSON (fed to chart) |
| Usage | dashboard/usage/dashboard.json |
Token counts, costs, calls per source |
Regeneration (hourly, :00 + 5min stagger)
Run in order:
/usr/bin/python3 /home/hobopi/.openclaw/workspace/scripts/gen-memory-dashboard.py
/usr/bin/python3 /home/hobopi/.openclaw/workspace/scripts/gen-expense-data.py
/usr/bin/python3 /home/hobopi/.openclaw/workspace/scripts/track-usage.py --dashboard
- Timeout: 180s for all three
- Cron: isolated agentTurn, delivery mode
none(no Telegram notification)
Dashboard server (8081)
- Script:
scripts/serve-dashboards.py - Serves files from
/home/hobopi/.openclaw/workspace/dashboard/and/home/hobopi/.openclaw/workspace/memory/ - Watchdog cron (
every 300ms): checks HTTP 200 on port 8081 every 5 minutes - If down: kills old process, restarts script, rechecks
- Watchdog uses default model (not time-sensitive, no user delivery)
Token usage tracker
- Script:
scripts/track-usage.py - Sources: OpenClaw trajectory files (~May 11+), Hermes state.db (~May 14+), Muthu
- Pricing: MiniMax models (M2.7, M2.5, M3) — rates in script
--update: pull all sources, write daily/monthly JSON--dashboard: regenerate combined dashboard JSON--today/--week/--month/--all: summary views
Dashboard JSON structure
{
"generated": "2026-06-03T12:00:00",
"combined": [
{"date": "2026-06-03", "source": "openclaw", "input": 123456, "output": 23456, "cost": 1.23},
{"date": "2026-06-03", "source": "hermes", "input": 654321, "output": 12345, "cost": 3.45}
],
"monthly": {"2026-06": {"totalCost": 45.67, ...}}
}
Memory dashboard HTML
- Self-contained single HTML file (no external dependencies)
- All daily log content embedded in JS object
- Navigation by date, search, keyword filtering
- Dark theme matching Yoda Patch aesthetic
安全使用建议
Install only if you intend to expose these dashboards in your local OpenClaw environment. Before enabling it, confirm the server binds only to localhost or is otherwise access-controlled, review what appears in memory logs and ledger JSON, and make sure the cron/watchdog behavior is easy to disable.
能力评估
Purpose & Capability
The stated purpose is dashboard generation, and the listed capabilities match that purpose, but the dashboards include all daily logs, all ledger entries, and token usage/cost data, which are potentially sensitive.
Instruction Scope
The skill explicitly asks for cron, exec, read, and write authority, hourly regeneration, and a watchdog that kills and restarts the dashboard server if it is down; that is broad but mostly purpose-aligned.
Install Mechanism
The artifact contains only SKILL.md and CHANGELOG.md with no bundled executable code or install script; it relies on pre-existing scripts under an absolute /home/hobopi/.openclaw workspace path.
Credentials
Serving memory logs and ledger JSON on port 8081 is proportionate to a dashboard, but the artifact does not specify localhost-only binding, authentication, redaction, or retention limits.
Persistence & Privilege
The skill describes hourly cron jobs plus a persistent dashboard server watchdog that restarts the service automatically, giving it durable behavior without clear user confirmation or disable instructions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hobohan-dashboard-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/hobohan-dashboard-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Memory dashboard, expense charts, token usage dashboard, 8081 server watchdog.
元数据
常见问题
Dashboard Generator 是什么?
Generate self-contained HTML dashboards for memory logs, expense charts, and token usage. Run hourly via cron. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 Dashboard Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hobohan-dashboard-generator」即可一键安装,无需额外配置。
Dashboard Generator 是免费的吗?
是的,Dashboard Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dashboard Generator 支持哪些平台?
Dashboard Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dashboard Generator?
由 Hobohan(@hohobohan)开发并维护,当前版本 v1.0.0。
推荐 Skills