
Clawhub Convex
Apply ClawHub-specific Convex conventions and route to the right managed Convex skill.
Install
npx skills add openclaw/clawhub --skill clawhub-convex -g -a claude-code -y- Repository
- openclaw/clawhub9.5k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,349 tokens
- Runs scripts
- No, instructions only
What it does
Apply ClawHub-specific Convex conventions and route to the right managed Convex skill. Use for any change under convex/, Convex commands or deployment targeting, query performance, migrations, retention, runtime validation, or skill stat reads and writes in the ClawHub repository.
ClawHub Convex
Use the managed Convex guidance for general framework behavior and this skill for ClawHub's repository-specific boundaries.
Start Here
- Read
convex/_generated/ai/guidelines.mdbefore editing Convex code. - Name the target runtime before running a Convex command:
local,dev, orprod. Include the exact deployment when known and whether the current function/schema code has already been pushed there. - Route to the most specific companion skill:
- Query cost, indexes, read amplification, subscriptions, or OCC:
convex-performance-audit - Production migration, backfill, schema narrowing, or table reshaping:
convex-migration-helperandcreate-and-cleanup-migration - Tables, TTL fields, cleanup crons, retention, auth/session cleanup, metric
dedupe cleanup, or deprecated table removal:
convex-retention - Auth, reusable components, or setup: use the matching managed Convex skill.
- Query cost, indexes, read amplification, subscriptions, or OCC:
Do not edit upstream-managed Convex skills to store ClawHub policy.
Commands And Runtime Validation
- Push new or changed functions before
convex run:- dev:
bunx convex dev --once - prod: deploy through the workflow described by
clawhub-production-release
- dev:
- For a non-interactive direct production deploy when explicitly required, use
bunx convex deploy -y. - If
bunx convex run --env-file .env.local ...returns401 MissingAccessTokenafter login, omit--env-fileand target the deployment with--deployment <name>or--prod. - Regenerate committed API/types with
bunx convex codegenafter Convex API/schema changes. - Import mutations from
convex/functions.ts, notconvex/_generated/server, so ClawHub's trigger wrapper runs. Type imports can still come fromconvex/_generated/server. - Do not disable typechecking for an ordinary direct deploy. The production workflow owns its explicit deploy behavior and exceptions.
