What problem does it solve?
Convex bills on function calls and bandwidth, so a few functions reading far more data than expected can quietly drive up spend. This Skill makes that spend legible by attributing bytes/documents-read evidence to the functions responsible, projecting how costs grow with traffic, and naming the cheapest fix for each driver.
Core Features & Use Cases
- Cost Attribution: Ranks functions by bytes/documents read per call multiplied by call volume, using the deployment's own insights data via the official Convex MCP.
- Growth Projection: Describes each driver's scaling curve (e.g., a full-table
.collect() grows linearly with table size while an indexed .take(n) stays flat) instead of inventing false-precision dollar figures.
- Fix Recommendations: Names the cheapest fix per driver, such as adding an index with
.withIndex, replacing .collect() with .paginate/.take, or caching hot reads, and emits cost-class findings for convex-expert/convex-advisor.
- Confirm-Cost Gate: Requires stating the price and recurrence of any metered action (domain purchase, plan change) and getting explicit approval before proceeding.
- Use Case: Before launch, ask which functions will dominate your Convex bill; the Skill reports that
messages:list reads the whole table every call and that indexing it drops the cost roughly 100x.
Quick Start
Ask the agent to preview what my Convex deployment will cost and rank the functions driving the spend.