AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Convex Cost Preview

Ranks the Convex functions driving your bill using real bytes/documents-read evidence, projects their growth curve, and names the cheapest fix.

Dev & CodingIntermediate★ 500⑂ 55AI score 6/10Last updated: Nov 27, 2026

What it does

  • Pulls real spend evidence from your deployment via the official Convex MCP: insights (bytes/documents read), tables (row counts), functionSpec (surface).
  • Ranks cost drivers by data read per call × call volume, always showing both factors.
  • Projects the growth curve of each driver: full-table .collect() scales linearly with data, indexed .take(n) stays flat.
  • Names the cheapest fix per driver — add an index with .withIndex, swap .collect for .paginate/.take, use an aggregate component, cache a hot read.
  • Enforces confirm-cost: any metered or paid action must state price + recurrence and get an explicit yes first.
  • Stays read-only over dev/prod and cites the official pricing page instead of inventing dollar totals.

Who it's for

  • Developers running a Convex backend who worry about surprise bills.
  • Startup teams auditing cost structure before traffic scales.
  • Tech leads who want evidence-based answers about which query costs the most.

Example uses

  1. "Why did my Convex bill jump?" → it shows messages:list reading the whole table on every call and estimates a ~100x drop after indexing.
  2. A brand-new app with zero traffic → it prices query shapes instead, flagging a .collect() on a table projected to grow.
  3. A flow that provisions a paid resource → it states the price and recurrence and waits for explicit approval before proceeding.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/aiskillstore/marketplace/HEAD/pending/convex/convex-cost/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the pending/convex/convex-cost folder from the GitHub repo aiskillstore/marketplace into my ~/.claude/skills/convex-cost/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/aiskillstore/marketplace.git && mkdir -p ~/.claude/skills && cp -r marketplace/pending/convex/convex-cost ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open your terminal.
  2. Clone the repository: git clone https://github.com/aiskillstore/marketplace.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r marketplace/pending/convex/convex-cost ~/.claude/skills/
  5. Connect the official Convex MCP server to Claude Code and sign in with your cloud account (insights requires cloud + user auth and does not work on preview deployments).
  6. Restart Claude Code and ask something like "analyze the cost drivers in my Convex app" to trigger the skill.