convex-monitor
它能做什么
这个技能会持续关注 Convex 应用,并在发生某些事情时做出反应,例如出现错误或新的功能请求。适合希望快速响应、又不想时时查看日志的应用负责人。
适用场景
- ✓当你希望智能体发现并修复 Convex 应用中的下一个错误时。
- ✓当你在等待一个线上问题,并希望在它出现时收到通知时。
- ✓当你希望智能体在新的功能请求到达时就开始处理时。
技能链接
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-monitor/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请监视我的 Convex 应用,一旦出现新错误就立即告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会等待一个事件,该事件会在出现新错误或请求时触发,然后解析并处理它。如果没有任何事件,它会收到一个安静的心跳信号,并继续等待。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Watch for the next thing to react to
Block on the next typed event instead of polling. Races local error logs, deployment subscriptions, and Sentinel prod-error rows; returns the first to fire (or a quiet heartbeat).
Workflow
- Call
wait_for_eventwith {project_dir, event_kinds, timeout_ms}. - On kind=convex_error/next_error: decode and fix it. On kind=prod_error: triage (see sentinel) and fix. On kind=feature_request: build it. On kind=quiet: loop.
- Where a harness has no blocking MCP (e.g. Copilot cloud), the pack runs a poll loop with the SAME event contract — same behavior, different mechanism.
Rules
- Prefer the blocking tool; fall back to a poll loop only where blocking MCP is weak.
- The event schema is fixed and versioned — the same trigger yields the same typed event.
- Prod events (kind=prod_error) require a deployed cloud app plus Sentinel.
常见问题
它是通过轮询持续检查的吗?
在可能的情况下,它等待的是阻塞式事件,而不是轮询,这样更快速也更轻量。
它需要线上的云端应用吗?
生产环境的事件需要已部署的云端应用,以及 Sentinel 错误捕获附加组件。
没有事件触发时会怎样?
智能体会收到一个安静的心跳信号,然后继续等待。
详情
作者的原始描述
Watch for the next dev/prod error or request in a Convex app and react to it.
repo: openclaw/clawhub
热度
- GitHub 星标
- 9.5k
- 排名
- #12251
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
axiom-alerting
9.5k帮你的智能体通过 Axiom API 创建和管理监控器与通知路由,并检查告警是否按预期运行。
axiom-sre
9.5k帮你的智能体逐步调查生产事故和缺陷,在得出结论之前,用 Axiom 日志验证每一个猜测。
building-dashboards
9.5k帮你的智能体从仪表盘必须支持的决策出发,设计配有合适图表、查询和筛选器的 Axiom 仪表盘。
controlling-costs
9.5k帮你的智能体在 Axiom 中找出未被使用的数据,并构建用于追踪和削减日志成本的仪表盘与监控器。