convex-docs
What it does
This skill makes sure the agent uses Convex docs that match your project's version. It is for builders who want accurate code, not guesses from old examples.
When to use it
- βWhen your agent is about to write Convex code that uses a feature it may not know well.
- βWhen your project was updated recently and the code stops working as expected.
- βWhen you want the Convex code to match the exact version your app uses.
Skill link
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCheck the current Convex docs for my version before you write this query code.β
5 new skills a week. 1 minute to read.
How it works
The agent reads the Convex version your project uses, then looks up matching documentation, and only falls back to other sources if that fails.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Why does the version matter?
Convex features change between versions, so docs for a different version can produce code that fails.
Where does the skill look for docs?
It uses a docs search tool if one is available, then fetches the matching docs page.
Which source does it try first?
It tries a version-matched docs search first, then the matching docs page, and only then falls back to other sources.
Details
Original description by the author
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.
repo: openclaw/clawhub
Popularity
- GitHub stars
- 9.5k
- Ranking position
- #12242
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
axiom-alerting
9.5kHelps your agent create and manage Axiom monitors and notification routes through the Axiom API, and check that alerts behave as expected.
axiom-sre
9.5kHelps your agent investigate production incidents and bugs step by step, testing each guess against Axiom logs before drawing a conclusion.
building-dashboards
9.5kHelps your agent design Axiom dashboards with fitting charts, queries and filters, starting from the decisions the dashboard must support.
controlling-costs
9.5kHelps your agent find unused data in Axiom and build dashboards and monitors that track and cut logging costs.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.