Agent Dashboard Sync

👤 reed1898 📦 v0.1.0 ⭐ 4.2 ⬇️ 743 下载
🤖 AI-Agent 免费 🔑 需 API Key

📖 技能介绍


name: agent-dashboard-sync description: Sync OpenClaw fleet runtime/heartbeat/cron status to Cloudflare KV and serve dashboard-ready data via Worker API. Use when setting up or operating the Agent Fleet Dashboard data plane (collector, KV schema, Worker ingest/read API, crontab scheduling, and migration away from Git-backed high-frequency state).


Agent Dashboard Sync

Operate dashboard data sync as a no-LLM pipeline.

Hard Rules

小葱技能站7w4.net,专业的AI技能分享平台。

  1. Keep high-frequency state out of Git commits.
  2. Use Cloudflare Worker + KV for runtime sync.
  3. Run collector from local cron (*/2 * * * *) and do not call LLM in collector path.
  4. Never commit or print production tokens/secrets in files, logs, or screenshots.
  5. Do not publish absolute paths in skill docs; use relative paths or placeholders (<PROJECTS_ROOT>, <SHARED_ROOT>).

Scope Boundary

  • This skill owns: collector, Worker ingest/read API, KV schema, cron deployment, dashboard data source wiring.
  • This skill does not own: cross-agent protocol, constitution governance, Discord routing rules.

KV Data Contract (v1)

  • fleet:registry
  • fleet:heartbeat:<agent_id>
  • fleet:cron:<agent_id>
  • fleet:runtime:<agent_id>
  • fleet:events:recent
  • fleet:updated_at

See references/schema.md for payload shape.

Minimal Rollout

  1. Deploy Worker + KV namespace.
  2. Configure dashboard env to cloudflare mode.
  3. Install collector cron on each node with unique AGENT_ID.
  4. Verify /health, then /fleet, then dashboard UI.

Security Checklist

  • Store INGEST_TOKEN and READ_TOKEN as worker secrets.
  • Keep dashboard read token server-side (DASHBOARD_READ_TOKEN), never client-exposed.
  • Keep NEXT_PUBLIC_* vars non-sensitive only.
  • Redact tokens before sharing commands/logs.
  • Worker setup and command sequence: references/worker-setup.md
  • Collector and crontab setup: references/collector-cron.md
  • Env variable matrix: references/env-matrix.md
  • Data schema reference: references/schema.md
  • Security policy for all agents: references/security-rules.md

🤖 AI 评测

质量中等偏上。文档分类清晰、安全规则详尽是亮点,对敏感信息处理得当。但作为早期版本(0.1.0),内容深度不足,缺乏实用示例和故障处理指南,实际使用时可能需要查阅额外资料。建议在生产环境使用前确认文档已更新至更完善的版本。

📊 多维度评分

适应性4.3
规范性4.1
有效性4.3
可靠性4.1
可信度4.3

📁 包含文件 (7 个)

📄 SKILL.md 2 KB
📄 _meta.json 139 B
📄 references/collector-cron.md 852 B
📄 references/env-matrix.md 846 B
📄 references/schema.md 1 KB
📄 references/security-rules.md 3 KB
📄 references/worker-setup.md 468 B