Agent Skills
› openclaw/clawhub
› convex-sentinel
convex-sentinel
GitHub在Convex部署中配置Sentinel以捕获生产环境错误,包括服务器函数失败、客户端崩溃及伸缩信号。支持数据脱敏、本地存储、监控响应及可选的AI自动修复功能,确保数据不出用户部署且安全合规。
触发场景
需要在Convex应用中集成生产错误监控
希望实现错误数据的本地化存储与脱敏处理
想要启用基于AI的错误自动分类与修复PR生成
安装
npx skills add openclaw/clawhub --skill convex-sentinel -g -y
SKILL.md
Frontmatter
{
"name": "convex-sentinel",
"description": "Set up Sentinel production error capture in your own Convex deployment."
}
Capture production errors in your own deployment
Install @convex-dev/sentinel to capture production errors (server function failures, client JS/React crashes, OCC and scale signals) into a table in the user's OWN deployment, redacted at write time, then react to new ones. Data never leaves the user's deployment.
Workflow
- Install the component:
app.use(sentinel)inconvex/convex.config.ts. - Wire the client SDK: a React error boundary plus
window.onerror/unhandledrejectionand breadcrumbs. - Redaction runs at write time and is on by default (default-deny on secret key names and value patterns).
- Read recent errors with the Convex CLI (
convex data,run-once-query); react to new ones via the monitor'sprod_errorevent. - Optionally enable the self-healing cron:
triageclassifies each error and, for recurring non-transient ones, hands it to ai-runner to open a fix PR.
Rules
- Redaction is mandatory and on by default — never store raw secrets; the agent's reads reach the model provider.
- Data stays in the user's deployment; never send it to a third party.
- Sample and cap to control volume and cost.
- Capturing PROD errors needs a deployed cloud app; install works anonymously.
版本历史
- d6a8c68 当前 2026-08-20 02:44


