
Convex Spend Preview
Ranks Convex functions by data read and call volume, projects cost growth, and names the cheapest fix.
- Repository
- openclaw/clawhub
- Stars
- 9,546
- Licence
- MIT
- Files
- 1 file
What it does
This skill helps an agent estimate and explain what a Convex (a hosted backend database platform) app will cost to run. It reads the deployment's own usage insights, finds which functions read the most data across how often they are called, and shows how that cost will grow as data and traffic increase. It then suggests the cheapest fix for each cost driver, such as adding an index instead of scanning a whole table, and asks for explicit confirmation before any paid action.
Great for
- Developers running a Convex app who see unexpected bills or want to plan for growth
- Teams reviewing which backend functions are driving metered usage before scaling traffic
- Developers who want cost-focused reasoning about query patterns before launch
Skip it if
- Users who need exact dollar figures, since the skill deliberately gives growth shapes and points to Convex's pricing page rather than computing prices (pricing changes by plan)
- Apps not built on Convex, since the workflow depends on Convex's MCP tools and insights data
- Read-only review of production with no cost concern, since it still requires access to usage data over dev or prod deployments and can make the agent query live deployment insights
Try asking
- “Why is my Convex bill rising? Rank my functions by bytes read and call volume.”
- “Will the messages:list query be expensive when the table reaches a million rows?”
- “Estimate the cost impact of my new query before I deploy it, based on its code shape.”
- “What is the cheapest fix for my most expensive Convex function?”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the MIT licence and an attribution note.
convex-cost.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip convex-cost.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip convex-cost.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Ask for the cost picture on a specific deployment and name it, since the skill announces which deployment it reads before acting.
- Give it call-volume estimates for functions with little traffic so it can weigh the product of data read and calls.
- Treat its findings as prompts for changes; apply fixes through convex-expert or convex-advisor and check current Convex pricing yourself.
What's inside
- SKILL.md
Redistributed unmodified from openclaw/clawhub under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.