convex-reviewer

convex-reviewer is a skill for Claude Code, Codex from get-convex/agent-skills. It costs 40 tokens per session (364 once invoked), scanned A, a copy of convex-reviewer, Apache-2.0.

A code review guide for Convex backend functions, which are server-side operations in a Convex app. It checks security, user permissions, input validators, speed, and expected Convex patterns in the convex/ directory.

In plain words
What is it for?
It is for reviewing or auditing Convex functions before shipping them.
Why use it?
It can reveal unsafe access, invalid inputs, slow code, or structural mistakes before the backend is released.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for reviewing or auditing Convex functions before shipping them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-convex/agent-skills/convex-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add get-convex/agent-skills --skill convex-reviewer
Clone the repo
git clone --depth 1 https://github.com/get-convex/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for convex-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-reviewer/github.svg)](https://agentmods.dev/skills/get-convex/agent-skills/convex-reviewer)
Your own site
<a href="https://agentmods.dev/skills/get-convex/agent-skills/convex-reviewer"><img src="https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for convex-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-convex/agent-skills/convex-reviewer"><img src="https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 1 Aug 2026
  • Snyk pass 1 Aug 2026
How audits are shown
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00364
Opus 5 $0.00020 $0.00182
Sonnet 5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00036

Measured 12d ago against content hash 210fca59f179, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

convex-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to convex-reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/convex-reviewer/SKILL.md · 27 lines

What it actually says

Convex Code Reviewer

Structured review of Convex code for security, authorization, validators, performance, and schema design. Applies a Convex-specific checklist and flags anti-patterns with severity (Critical / Important / Suggestion).

Workflow

  1. First pass — Security: verify all public functions check ctx.auth.getUserIdentity(), verify resource ownership before reads/writes, confirm no client-provided user IDs are trusted, confirm scheduled functions target internal.* not api.*.
  2. Second pass — Performance: confirm no .filter() on DB queries (withIndex required), verify all foreign-key fields have indexes, confirm no Date.now() in query handlers, confirm .collect() is not used on unbounded queries.
  3. Third pass — Code quality: confirm args and returns validators on every public function, no any types, promises are awaited, arrays in documents are bounded (<8192 elements).
  4. Report findings grouped by severity; explain why each issue matters and suggest a fix.

Rules

  • Flag missing auth checks as Critical — any unauthenticated public mutation is a data-loss risk.
  • Flag .filter() on DB queries as Important — it is a full table scan.
  • Flag Date.now() in query handlers as Important — it breaks reactivity.
  • Flag missing args or returns validators as Important.
  • Flag scheduling to api.* (not internal.*) as Important.
  • Always explain why a change is needed, not just what to change.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 27 lines · 40 tokens per session scan A 210fca59f179

Subscribe to this mod's changes

convex-reviewer is a skill published in the GitHub repository get-convex/agent-skills (56 stars, last pushed 2d ago), licensed Apache-2.0. It adds 40 tokens to every session and 364 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to convex-reviewer, differing in 0 lines, and is treated as a copy.