
Description
Set up Sentinel production error capture in your own Convex deployment.
SKILL.md
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.
More skills from the agent-skills repository
View all 30 skillsconvex
guide Convex project setup and usage
Aug 4BackendConvexDatabaseconvex-add
add capabilities to Convex applications
Aug 4BackendConvexEngineeringconvex-advisor
analyze Convex deployment performance and costs
Aug 4ConvexCost OptimizationObservabilityPerformanceconvex-agent
add AI agent backends to Convex
Aug 4AgentsConvexLLMRAGconvex-auth
add authentication to Convex applications
Aug 4AuthAuthenticationConvexconvex-backup
configure and test Convex database backups
Aug 4BackupConvexDatabaseReliability
More from Convex
View publisherconvex-billing
integrate Stripe billing in Convex apps
agent-skills
Aug 4ConvexPaymentsStripeconvex-cost
analyze and forecast Convex application costs
agent-skills
Aug 4AnalyticsCost OptimizationPerformanceconvex-create-component
build reusable Convex components
agent-skills
Jul 12API DevelopmentArchitectureBackendConvexconvex-crons
add scheduled cron jobs to Convex
agent-skills
Aug 4AutomationConvexSchedulingconvex-deploy-guard
manage Convex deployment safety and consent
agent-skills
Aug 4ConvexDeploymentOperationsSecurityconvex-design
build reactive backends with Convex
agent-skills
Aug 4AuthBackendConvexDatabase +1