跳到正文
Skillpedia
部署与云(DevOps)9.5k · #12251

convex-monitor

它能做什么

这个技能会持续关注 Convex 应用,并在发生某些事情时做出反应,例如出现错误或新的功能请求。适合希望快速响应、又不想时时查看日志的应用负责人。

适用场景

  • ✓当你希望智能体发现并修复 Convex 应用中的下一个错误时。
  • ✓当你在等待一个线上问题,并希望在它出现时收到通知时。
  • ✓当你希望智能体在新的功能请求到达时就开始处理时。

技能链接

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-monitor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-monitor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请监视我的 Convex 应用,一旦出现新错误就立即告诉我。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会等待一个事件,该事件会在出现新错误或请求时触发,然后解析并处理它。如果没有任何事件,它会收到一个安静的心跳信号,并继续等待。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- GENERATED from convex-agents content/capabilities/monitor.json — do not edit by hand. -->

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

  1. Call wait_for_event with {project_dir, event_kinds, timeout_ms}.
  2. 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.
  3. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能