Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Convex

ASecurity

Convex backend skill for CLI operations, MCP integration, Agent Component setup, deploy-key auth, and agent-safe development workflows.

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentgobashbackendci/cdsecurity

Works with

claude codecursorclimcp

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill convex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convex?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Convex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-convex/badge)](https://www.skillsdirectory.com/skills/lev-os-convex)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: convex
description: Convex backend skill for CLI operations, MCP integration, Agent Component setup, deploy-key auth, and agent-safe development workflows.
aliases: [convex, convex-mcp, convex-agent, convex-cli]
triggers: [convex, convex key, convex deploy key, convex mcp, convex agent mode, convex cli]
skill_type: workflow
category: backend-platform
displayName: Convex
---

# Convex

Use this skill when building or operating Convex projects with coding agents.

This skill is optimized for:

- local development with `npx convex dev`
- cloud-agent development with `CONVEX_AGENT_MODE=anonymous`
- MCP server setup for Cursor/Claude Code/VS Code
- deploy-key based CI/CD (`CONVEX_DEPLOY_KEY`)
- Agent Component bootstrap (`@convex-dev/agent`)

## Routing

1. If user has no Convex account/key yet:
   - use anonymous agent mode:
   - `CONVEX_AGENT_MODE=anonymous npx convex dev`

2. If user is local and can log in interactively:
   - use normal dev flow:
   - `npx convex dev`

3. If workflow is CI/non-interactive:
   - require `CONVEX_DEPLOY_KEY`
   - use `npx convex deploy`

4. If user wants AI editor/tooling integration:
   - configure MCP server:
   - `npx -y convex@latest mcp start`

## Core Workflows

### A) Bootstrap Convex in a repo

```bash
npm install convex
npx convex dev
```

Expected outcomes:

- `convex/` directory created
- `.env.local` has `CONVEX_DEPLOYMENT`
- generated code updates in `convex/_generated`

### B) Agent-safe development (cloud coding agents)

```bash
CONVEX_AGENT_MODE=anonymous npx convex dev
```

Use this for Codex/Devin/Jules/Cursor Cloud style environments where interactive login is unavailable and you want isolated backend state.

### C) Configure Convex MCP server

Default command:

```bash
npx -y convex@latest mcp start
```

Common options:

```bash
# Single project only
npx -y convex@latest mcp start --project-dir /path/to/project

# Enable production access explicitly (dangerous)
npx -y convex@latest mcp start --dangerously-enable-production-deployments --prod

# Restrict high-risk tools
npx -y convex@latest mcp start --disable-tools data,run,envSet
```

Claude Code example:

```bash
claude mcp add-json convex '{"type":"stdio","command":"npx","args":["convex","mcp","start"]}'
claude mcp get convex
```

### D) Deploy key flow (CI/CD)

Set key and deploy:

```bash
export CONVEX_DEPLOY_KEY='...'
npx convex deploy
```

Supported key shapes (reference):

- production deploy key: `prod:...|...`
- preview deploy key: `preview:team:project|...`
- dev deploy key: `dev:...|...`

### E) Agent Component setup

Install and register:

```bash
npm install @convex-dev/agent
```

```ts
// convex/convex.config.ts
import { defineApp } from "convex/server";
import agent from "@convex-dev/agent/convex.config";

const app = defineApp();
app.use(agent);
export default app;
```

Then run:

```bash
npx convex dev
```

## CLI Cheat Sheet

```bash
npx convex
npx convex dev
npx convex dashboard
npx convex docs
npx convex run <functionName> '{"arg":"value"}'
npx convex logs
npx convex env list
npx convex env get <NAME>
npx convex env set <NAME> <VALUE>
npx convex env remove <NAME>
npx convex deploy
npx convex codegen
npx convex data
npx convex insights
```

## Security Rules

- Never print secret values from `CONVEX_DEPLOY_KEY` or env vars in logs.
- Do not enable production MCP access unless explicitly requested.
- Prefer disabling mutation-capable MCP tools when auditing or exploring data.

## Validation Checklist

- `npx convex dev` starts and syncs successfully
- `convex/_generated` exists and updates
- `npx convex env list` returns deployment env vars
- MCP server starts and responds in client tool
- CI deploy path works with `CONVEX_DEPLOY_KEY`

## References (Official)

- https://docs.convex.dev/cli
- https://docs.convex.dev/cli/agent-mode
- https://docs.convex.dev/cli/deploy-key-types
- https://docs.convex.dev/production/environment-variables
- https://docs.convex.dev/ai/convex-mcp-server
- https://docs.convex.dev/agents
- https://docs.convex.dev/agents/getting-started

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →