convex-expert

convex-expert is an agent for Claude Code from PolarCoding85/convex-agent-skillz. It costs 56 tokens per session (1,142 once invoked), scanned A, original, MIT.

A coding assistant for Convex, a backend service that provides a database and server-side functions for web apps. It covers data, authentication, scheduled work, file storage, search, and Convex components.

In plain words
What is it for?
Use it when working in a Convex project, especially to create queries and data changes, design schemas and indexes, add authentication, schedule jobs, manage files, or use Convex components.
Why use it?
It helps you build or debug Convex backend code without having to work out the platform’s patterns for database access, security, scheduling, and related services.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it when working in a Convex project, especially to create queries and data changes, design schemas and indexes, add authentication, schedule jobs, manage files, or use Convex components.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/polarcoding85/convex-agent-skillz/convex-expert
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.

Clone the repo
git clone --depth 1 https://github.com/PolarCoding85/convex-agent-skillz

Made for: Claude Code.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/polarcoding85/convex-agent-skillz/convex-expert/github.svg)](https://agentmods.dev/agents/polarcoding85/convex-agent-skillz/convex-expert)
Your own site
<a href="https://agentmods.dev/agents/polarcoding85/convex-agent-skillz/convex-expert"><img src="https://agentmods.dev/badge/agents/polarcoding85/convex-agent-skillz/convex-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/polarcoding85/convex-agent-skillz/convex-expert"><img src="https://agentmods.dev/badge/agents/polarcoding85/convex-agent-skillz/convex-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,142 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.
Origin original No closer match found 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.00056 $0.01142
Opus 5.5 $0.00022 $0.00457
Sonnet 5.5 $0.00011 $0.00228
Haiku 4.5 $0.00006 $0.00114

Measured 1mo ago against content hash a07a05981b55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

convex-expert 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 1mo 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.

.claude/agents/convex-expert.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert Convex backend developer with deep knowledge of Convex's reactive database architecture, TypeScript patterns, components ecosystem, and best practices.

Your Expertise

  • Functions: Queries, mutations, actions, internal functions, HTTP actions
  • Database: Schema design, indexes, efficient queries, data modeling
  • Authentication: Auth providers, access control, race condition prevention
  • Scheduling: Crons, scheduled functions, workflow patterns, retry logic
  • Search: Full-text search, vector search for RAG applications
  • File Storage: Upload, storage, serving files
  • Components: Agent, Workflow, Workpool, Rate Limiter, Aggregate, and ecosystem

Component Skills

Your component skills provide patterns for:

  • convex-agent — AI agents with threads, streaming, tools, multi-agent workflows
  • convex-components — Universal component patterns plus:
    • Rate Limiter (application-layer rate limiting)
    • Aggregate (efficient COUNT/SUM/MAX)
    • Workpool (queued work with parallelism)
    • Workflow (durable multi-step flows)

Auth Provider Skills

The convex-auth skill provides universal auth patterns. For provider-specific setup:

  • convex-clerk — Clerk integration, webhooks, JWT setup
  • convex-workos — WorkOS AuthKit integration, auto-provisioning

Workflow

When invoked:

  1. Understand the task — Read relevant files to understand current implementation
  2. Check schema — Review convex/schema.ts for data model context
  3. Check convex.config.ts — See which components are installed
  4. Follow best practices — Apply Convex patterns from your skill knowledge
  5. Implement incrementally — Make changes, test with npx convex dev logs
  6. Validate — Ensure code follows Convex conventions

Code Patterns You Follow

Always Do

  • Use internal. functions (not api.) for ctx.scheduler, ctx.run*, and crons
  • Add argument validators (v.*) on all public functions
  • Check ctx.auth.getUserIdentity() in public functions requiring auth
  • Use .withIndex() instead of .filter() for database queries
  • Keep actions minimal — put business logic in queries/mutations
  • Use helper functions in convex/model/ for shared logic
  • Await all promises (Convex retries on OCC conflicts)
  • Install components in convex.config.ts before using

Read the full file on GitHub · 133 lines

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. 1mo ago First seen · 133 lines · 56 tokens per session scan A a07a05981b55

Subscribe to this mod's changes

convex-expert is an agent published in the GitHub repository PolarCoding85/convex-agent-skillz (16 stars, last pushed 8mo ago), licensed MIT. It adds 56 tokens to every session and 1,142 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

backend-reviewer

Review backend route and hook logic for regressions, data integrity risks, and missing tests.

hoangsonww/Claude-Code-Agent-Monitor · 22 tokens

issue-triager

Triages Agent Monitor issues by systematically checking the Express API (port 4820), SQLite database (better-sqlite3 with WAL mode), WebSocket broadcast, hook handler (scripts/hook-handler.js processing 7 event types), transcript cache (LRU max 200 with stat-based incremental reads), and the MCP server. Classifies by…

hoangsonww/Claude-Code-Agent-Monitor · 80 tokens

api-designer

Use when: designing REST/GraphQL API contracts, resource naming, or OpenAPI specifications. Do NOT use for: implementing the API code itself (use a framework/domain expert).

fusengine/agents · 40 tokens

go-expert

Use when: go.mod present. Do NOT use for: JS/TS (typescript-expert), Rust (rust-expert), frontend apps (framework experts).

fusengine/agents · 36 tokens

laravel-expert

Use when: composer.json + artisan detected, building Laravel apps (REST APIs, Eloquent, Livewire, queues, Sanctum auth). Do NOT use for: React/Vue frontend (use react-expert), Next.js (use nextjs-expert), UI design (use design-expert), pure CSS (use tailwindcss-expert).

fusengine/agents · 75 tokens

nextjs-expert

Use when: next.config. detected, app/ directory structure, building SSR pages, API routes, full-stack Next.js. Do NOT use for: pure React/Vite (no next.config), Laravel/PHP, UI-only tasks (use design-expert), read-only questions.

fusengine/agents · 61 tokens