Agent Skills › ajanraj/OpenChat › convex-sentinel

convex-sentinel

GitHub

在Convex部署中集成Sentinel以捕获生产环境错误,支持服务端失败、客户端崩溃及OOM信号。通过红action保护隐私,提供CLI查询和事件监听,可选启用AI自动修复功能。

.agents/skills/convex-sentinel/SKILL.md ajanraj/OpenChat

触发场景

需要监控生产环境错误 配置Convex应用的可观测性 设置自动化错误修复流程

安装

npx skills add ajanraj/OpenChat --skill convex-sentinel -g -y
更多选项

非标准路径

npx skills add https://github.com/ajanraj/OpenChat/tree/main/.agents/skills/convex-sentinel -g -y

不安装直接使用

npx skills use ajanraj/OpenChat@convex-sentinel

指定 Agent (Claude Code)

npx skills add ajanraj/OpenChat --skill convex-sentinel -a claude-code -g -y

安装 repo 全部 skill

npx skills add ajanraj/OpenChat --all -g -y

预览 repo 内 skill

npx skills add ajanraj/OpenChat --list

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

  1. Install the component: app.use(sentinel) in convex/convex.config.ts.
  2. Wire the client SDK: a React error boundary plus window.onerror/unhandledrejection and breadcrumbs.
  3. Redaction runs at write time and is on by default (default-deny on secret key names and value patterns).
  4. Read recent errors with the Convex CLI (convex data, run-once-query); react to new ones via the monitor's prod_error event.
  5. Optionally enable the self-healing cron: triage classifies 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.

版本历史

  • 55de5cd 当前 2026-10-19 22:54

同 Skill 集合

.agents/skills/convex-add/SKILL.md
.agents/skills/convex-advisor/SKILL.md
.agents/skills/convex-agent/SKILL.md
.agents/skills/convex-auth/SKILL.md
.agents/skills/convex-authz/SKILL.md
.agents/skills/convex-backup/SKILL.md
.agents/skills/convex-billing/SKILL.md
.agents/skills/convex-cost/SKILL.md
.agents/skills/convex-create-component/SKILL.md
.agents/skills/convex-crons/SKILL.md
.agents/skills/convex-deploy-guard/SKILL.md
.agents/skills/convex-design/SKILL.md
.agents/skills/convex-docs/SKILL.md
.agents/skills/convex-domains/SKILL.md
.agents/skills/convex-env/SKILL.md
.agents/skills/convex-expert/SKILL.md
.agents/skills/convex-explain-app/SKILL.md
.agents/skills/convex-insights/SKILL.md
.agents/skills/convex-launch-readiness/SKILL.md
.agents/skills/convex-migrate-rehearse/SKILL.md
.agents/skills/convex-migrate/SKILL.md
.agents/skills/convex-migration-helper/SKILL.md
.agents/skills/convex-monitor/SKILL.md
.agents/skills/convex-optimize/SKILL.md
.agents/skills/convex-performance-audit/SKILL.md
.agents/skills/convex-quickstart/SKILL.md
.agents/skills/convex-reviewer/SKILL.md
.agents/skills/convex-self-heal/SKILL.md
.agents/skills/convex-setup-auth/SKILL.md
.agents/skills/convex-suggest/SKILL.md
.agents/skills/convex-test/SKILL.md
.agents/skills/convex-verify/SKILL.md
.agents/skills/convex-seed/SKILL.md
.agents/skills/convex/SKILL.md

元信息

文件数
0
版本
55de5cd
Hash
06dce77c
收录时间
2026-10-19 22:54

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-21 16:18
浙ICP备14020137号-1