convex-docs
get-convex/agent-skills
Fetch version-current Convex docs instead of writing stale APIs from memory.
What is convex-docs?
This skill pins your project's installed Convex version and fetches live documentation as markdown, ensuring you always reference the correct API signatures and flags. Use it when you need to verify current exports, CLI options, or component APIs before writing code.
- Pin the installed Convex version from package.json or node_modules
- Fetch live docs pages as markdown to minimize token usage
- Check node_modules types and exports as ground truth for the current version
- Follow a freshness hierarchy: served docs tool → markdown page → web search
- Verify component exports and signatures against installed packages before writing code
How to install convex-docs
npx skills add https://github.com/get-convex/agent-skills --skill convex-docs- Convex installed in your project (convex package in node_modules)
- Access to docs.convex.dev or a served docs tool
How to use convex-docs
- 1.Read your project's installed Convex version from package.json or node_modules/convex/package.json
- 2.Identify the specific docs page or component API you need to verify
- 3.Fetch the page as markdown from docs.convex.dev or check node_modules exports and .d.ts files
- 4.Apply the fetched signature or flag to your code
- 5.If a build error occurs due to version mismatch, re-pin the version and re-fetch rather than guessing
Use cases
- Confirming a component export exists in your current Convex version before using it
- Looking up a CLI flag or option that may have changed between versions
- Verifying the correct function signature when unsure if an API was renamed or updated
- Checking @convex-dev/* component APIs at the pinned version
- Resolving version-mismatch build errors by re-fetching current documentation
- Convex backend developers
- Full-stack developers using Convex
- Teams managing multiple Convex versions across projects
convex-docs FAQ
Use it whenever you're unsure about an API's current name, signature, or availability—especially across version upgrades. Never write an unfamiliar Convex API from memory when the current source is one fetch away.
Cheapest-correct first: served docs tool (if available) → fetch the page as markdown → general web search (unverified). Markdown pages use far fewer tokens than HTML.
Check the installed package's node_modules/@convex-dev/<component>/package.json exports and .d.ts files—these are the ground truth for your version, more authoritative than any doc page.
Treat it as a currentness question, not a spelling guess. Re-pin the version, fetch the current API, and correct your code rather than guessing a different name.
No. This skill supplies the fresh fact (current signature, flag, export). Hand the actual code back to convex-expert to write idiomatically—this is a freshness layer, not a code-generation replacement.
Full instructions (SKILL.md)
Source of truth, from get-convex/agent-skills.
name: convex-docs description: "Pull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types, freshness hierarchy — instead of writing a possibly-stale API from memory."
<!-- GENERATED from convex-agents content/capabilities/convex-docs.json — do not edit by hand. -->Pull version-current Convex docs
convex-expert carries baked, plugin-versioned knowledge — excellent for stable idioms, but it goes stale exactly where it hurts: a component that gained a new export, a CLI flag that changed, an API renamed between versions. This capability is the freshness discipline layered on top: pin to the project's real version, fetch the live page cheaply as markdown, and never write an unfamiliar API from memory when the current source is one fetch away.
Workflow
- PIN the version: read the installed
convexversion (node -p "require('./node_modules/convex/package.json').version"orpackage.json), and the versions of any@convex-dev/*components in play. The docs you trust must match THESE versions — version skew is the single largest source of wrong Convex code. - FRESHNESS HIERARCHY (cheapest-correct first, the Supabase-taught order):
(a) if a served docs tool / MCP
search_convex_docsis available, use it (it returns version-scoped, reranked answers sized to the context window); (b) else fetch the specific docs page as MARKDOWN — requestdocs.convex.dev/<path>and prefer a.md/markdown form when the site serves one (far fewer tokens than HTML), or the component's README at the pinned version; (c) only then fall back to a general web search, and treat its version as unverified. Do NOT skip to writing the API from memory when currentness is in doubt. - VERIFY against the installed package when it matters: for a component export you're unsure exists, check
node_modules/@convex-dev/<x>/(itspackage.jsonexports, its.d.ts) — the installed types are the ground truth for THIS version, more authoritative than any doc. - USE the fetched fact narrowly: apply the current signature/flag, cite where it came from (page + version), and hand the actual code back to convex-expert to write idiomatically. convex-docs supplies the fresh fact; convex-expert supplies the idiom.
- On a version-mismatch build error (an export/flag that 'should' exist but doesn't): treat it as a currentness question — pin the version, fetch the current API, and correct — rather than guessing a different spelling.
Rules
- Never write an unfamiliar or possibly-renamed Convex/component API from model memory when currentness is in doubt — pin the version and fetch the current source first.
- The installed package's own
exports/.d.tsin node_modules is the ground truth for this version — more authoritative than any doc page. - Follow the freshness hierarchy: served docs tool → page-as-markdown / pinned README → general web (unverified) — cheapest-correct first, fewest tokens.
- Prefer markdown over HTML doc pages — far fewer tokens for the same content.
- Supply the fresh FACT; hand idiomatic code back to convex-expert. This is a freshness layer, not a replacement for the baked knowledge.
- A version-mismatch build error is a currentness question, not a spelling guess — re-pin and re-fetch.
Related skills
More from get-convex/agent-skills and the wider catalog.

convex-domains
Point your own domain at a Convex app with DNS records, custom-domain attachment, and auth-origin rebinding.

convex-env
Set and manage Convex deployment environment variables and secrets securely.

convex-expert
Convex backend specialist for queries, mutations, actions, schemas, and real-time functions.

convex-explain-app
Analyze your Convex app's data model, functions, auth, and request flows without modifying it.

convex-improve-convex-plugin
Send your coding session to Convex for AI-powered system improvements and quickstart refinement.

convex-insights
Query Convex app logs and health in natural language with evidence-backed answers and dashboard links.