Audit Convex performance issues across reads, subscriptions, writes, and function limits.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "convex-performance-audit" skill from askskill: 1. Download https://raw.githubusercontent.com/openclaw/clawhub/main/.agents/skills/convex-performance-audit/SKILL.md 2. Save it as ~/.claude/skills/convex-performance-audit/SKILL.md 3. Reload skills and tell me it's ready
Audit this Convex feature for performance issues. Focus on read amplification, subscription volume, slow queries, and function limits, then provide actionable optimization recommendations. Context: a page loads slowly. Here are the related queries, functions, and symptoms: <paste code and details>
A performance audit identifying bottlenecks, likely root causes, and prioritized optimization recommendations.
Review these Convex write operations for OCC conflicts or write contention. Explain why conflicts happen, what triggers them, and suggest transaction or data model refactors. Code and logs: <paste mutations and logs>
A diagnosis of write conflict patterns and concrete changes to reduce conflict frequency.
Using these Convex Insights findings, audit the performance and resource usage of these functions. Focus on high-frequency subscriptions, repeated reads, and nearing function limits, then produce a remediation checklist. Data: <paste Insights results>
An Insights-based issue review and remediation checklist the team can act on step by step.
Diagnose and fix performance problems in Convex applications, one problem class at a time.
npx convex insights --details reports high bytes read, documents read, or
OCC conflictsStart with the strongest signal available:
npx convex insights --details. Use
--prod, --preview-name, or --deployment-name when needed.
insights, try
npx -y convex@latest insights --details before giving up.convex-doctor, you may treat its findings as
hints. Do not require it, and do not treat it as the source of truth.After gathering signals, identify the problem class and read the matching reference file.
| Signal | Reference |
|---|---|
| High bytes or documents read, JS filtering, unnecessary joins | references/hot-path-rules.md |
| OCC conflict errors, write contention, mutation retries | references/occ-conflicts.md |
| High subscription count, slow UI updates, excessive re-renders | references/subscription-cost.md |
| Function timeouts, transaction size errors, large payloads | references/function-budget.md |
| General "it's slow" with no specific signal | Start with references/hot-path-rules.md |
Multiple problem classes can overlap. Read the most relevant reference first, then check the others if symptoms remain.
If the likely fix is invasive, cross-cutting, or migration-heavy, stop and present options before editing.
Examples:
When correctness depends on handling old and new states during a rollout,
consult skills/convex-migration-helper/SKILL.md for the migration workflow.
Pick one concrete user flow from the actual project. Look at the codebase, client pages, and API surface to find the flow that matches the symptom.
Write down:
…
Set up authentication, identity mapping, and access control in Convex apps.
Set up Convex in a new or existing app quickly.
Review, triage, validate, and hand off ClawHub GitHub issues and PRs.
Helps users choose the right Convex skill for vague app tasks.
Plan Convex schema and data migrations for safe, zero-downtime rollouts.
Perform ClawHub moderation actions like bans, role changes, and status checks.
Audit websites for SEO, performance, security, accessibility, and optimization issues.
Audit Power Pages table permissions and get prioritized security findings with fixes.
Audit site SEO health, uncover keyword gaps, and prioritize optimization actions.
Audit liability clauses against company standards with evidence-based verdicts or abstention.
Audit websites for performance, SEO, accessibility, security, and mobile readiness.
Build production-ready Convex apps with reusable agent skills and templates.