convex-backend

convex-backend is a skill for Claude Code from CloudAI-X/claude-workflow-v2. It costs 58 tokens per session (963 once invoked), scanned A, original, MIT.

A set of guidelines for building Convex backends in TypeScript. Convex is a backend platform that provides database functions, real-time data updates, file storage, and scheduled work.

In plain words
What is it for?
Use it when writing Convex queries, mutations, actions, schemas, validators, real-time subscriptions, scheduled functions, or file-storage code.
Why use it?
It helps keep database schemas, data validation, queries, writes, server actions, and subscriptions consistent with Convex’s required patterns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the project-starter plugin — 14 skills shipped together , and of project-starter

Good fit Use it when writing Convex queries, mutations, actions, schemas, validators, real-time subscriptions, scheduled functions, or file-storage code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudai-x/claude-workflow-v2/convex-backend
About the project

Project Starter is a workflow plugin that equips coding agents with specialized subagents, reusable skills, commands, hooks, and output styles for software projects. It is for developers who want structured assistance with tasks such as planning, debugging, code review, security, and automation across several coding-agent platforms. Catalogue add-ons are components of its own workflow.

CloudAI-X/claude-workflow-v2 · 1,423 stars · on GitHub

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 CloudAI-X/claude-workflow-v2 --skill convex-backend
Clone the repo
git clone --depth 1 https://github.com/CloudAI-X/claude-workflow-v2

Made for: Claude Code.

Or install project-starter, the plugin that ships this one along with the rest of its 14 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudai-x/claude-workflow-v2/convex-backend/github.svg)](https://agentmods.dev/skills/cloudai-x/claude-workflow-v2/convex-backend)
Your own site
<a href="https://agentmods.dev/skills/cloudai-x/claude-workflow-v2/convex-backend"><img src="https://agentmods.dev/badge/skills/cloudai-x/claude-workflow-v2/convex-backend/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-backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudai-x/claude-workflow-v2/convex-backend"><img src="https://agentmods.dev/badge/skills/cloudai-x/claude-workflow-v2/convex-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 963 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
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00058 $0.00963
Opus 5.5 $0.00023 $0.00385
Sonnet 5.5 $0.00012 $0.00193
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

convex-backend 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 3mo 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.

skills/convex-backend/SKILL.md · 120 lines

How it starts

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

Convex Backend Guidelines

When to Load

  • Trigger: Convex-specific development, writing Convex functions, schemas, queries, mutations, actions, or real-time subscriptions
  • Skip: Project does not use Convex as its backend

Comprehensive guide for building Convex backends with TypeScript. Covers function syntax, validators, schemas, queries, mutations, actions, scheduling, and file storage.

When to Apply

Reference these guidelines when:

  • Writing new Convex functions (queries, mutations, actions)
  • Defining database schemas and validators
  • Implementing real-time data fetching
  • Setting up cron jobs or scheduled functions
  • Working with file storage
  • Designing API structure

Rule Categories

Category Impact Description
Function Syntax CRITICAL New function syntax with args/returns/handler
Validators CRITICAL Type-safe argument and return validation
Schema Design HIGH Table definitions, indexes, system fields
Query Patterns HIGH Efficient data fetching with indexes
Mutation Patterns MEDIUM Database writes, patch vs replace
Action Patterns MEDIUM External API calls, Node.js runtime
Scheduling MEDIUM Crons and delayed function execution
File Storage LOW Blob storage and metadata

Quick Reference

Function Registration

// Public functions (exposed to clients)
import { query, mutation, action } from "./_generated/server";

// Internal functions (only callable from other Convex functions)
import {
  internalQuery,
  internalMutation,
  internalAction,
} from "./_generated/server";

Function Syntax (Always Use This)

export const myFunction = query({
  args: { name: v.string() },
  returns: v.string(),
  handler: async (ctx, args) => {
    return "Hello " + args.name;
  },
});

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 120 lines · 58 tokens per session scan A 31215cd5f501

Subscribe to this mod's changes

convex-backend is a skill published in the GitHub repository CloudAI-X/claude-workflow-v2 (1,423 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 963 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

convex-backend compared with skills from other repositories

convex-backend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convex-backendCloudAI-X/claude-workflow-v2Skill1.4k1mo agoMITA58Claude Code
event-store-designwshobson/agentsSkill43kyesterdayMITA33Claude Code
cqrs-implementationwshobson/agentsSkill43kyesterdayMITA35Claude Code
workflow-orchestration-patternswshobson/agentsSkill43kyesterdayMITA49Claude Code
microservices-patternswshobson/agentsSkill43kyesterdayMITA38Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code
diagnose-backend-bugQoderAI/better-harnessSkill2.5k19d agoMITA87Claude Code, Codex