Agent skill

Convex DB

by Convex-Dev in Convex-Dev/convex

Use Convex DB — a lattice-backed SQL database. An agent skill from Convex-Dev/convex.

Custom licenceAuto-check passedDatabases

Install Convex DB

skills CLI
$ npx skills add Convex-Dev/convex --skill convex-db -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Convex-Dev/convex convex-db --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Convex-Dev/convex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/convex-db .claude/skills/convex-db && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
convex-db
GitHub stars
117
Token cost
~159 tokens
SKILL.md length
48 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

Use Convex DB — a lattice-backed SQL database. An agent skill from Convex-Dev/convex.

  • Helping users write queries
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Connect via JDBC
  • PostgreSQL clients

What it does

Convex DB is an agent skill from Convex-Dev/convex. Use Convex DB — a lattice-backed SQL database. Use when helping users write queries, connect via JDBC or PostgreSQL clients, create tables, insert/query data, or use the direct lattice API.

Its SKILL.md is about 160 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering SQL. It works with PostgreSQL and SQL. The repository describes itself as: Convex Main Repository - Decentralised platform for the Internet of Value.

When your agent uses it

  • Helping users write queries
  • Connect via JDBC
  • PostgreSQL clients
  • Insert/query data

Example prompts

  • “/convex-db”

What it can do on your machine

Read from SKILL.md and the folder at commit 9e199a3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Convex DB loads about 159 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 48 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~159

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 48 words (~159 tokens).

“This is the Codex discovery entry for the canonical shared skill at .claude/skills/convex-db/SKILL.md.”

— opening of SKILL.md by Convex-Dev, Custom licence
name
convex-db

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/convex-db of Convex-Dev/convex.

Open the folder on GitHubat commit 9e199a3

Compare with similar skills

Convex DB next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Convex DB compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Convex DB this skillConvex-Dev/convex117—~159Automated safety check: PassCustom licence
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT
Chdb SQLvemetric/vemetric3941 repos~1.2kAutomated safety check: PassApache-2.0
Schema Explorationtimescale/pg-aiguide1.9k—~1.1kAutomated safety check: PassApache-2.0
Mz BenchmarkMaterializeInc/materialize6.4k—~2.8kAutomated safety check: PassCustom licence
Dingtalk AitableDingTalk-Real-AI/dingtalk-workspace-cli3.2k—~5.4kAutomated safety check: PassApache-2.0

Similar skills

  • Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.

    4.6k GitHub stars~1.6k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Chdb SQL

    vemetric/vemetric

    A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…

    394 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • Schema Exploration

    timescale/pg-aiguide

    Explore an existing PostgreSQL database before answering questions about its data or writing SQL.

    1.9k GitHub stars~1.1k tokensUpdated 6 days ago
    DatabasesAuto-check passed
  • Mz Benchmark

    MaterializeInc/materialize

    Add/modify/debug Materialize perf benchmark scenarios. An agent skill from MaterializeInc/materialize.

    6.4k GitHub stars~2.8k tokensUpdated today
    DatabasesAuto-check passed
  • Dingtalk Aitable

    DingTalk-Real-AI/dingtalk-workspace-cli

    钉钉 AI 表格(多维表)业务操作。Use when 用户需要操作 AI 表格/多维表/Base/Table、应用模式/App 页面/Widget、建表、查写记录、字段、记录评论、评论回复、访问密钥(API Key)、SQL/PostgreSQL/SELECT/JOIN、筛选、排序、公式、模板、批量导入 CSV 或 JSON、导出、仪表盘、图表、上传附件、数据源配置与同步、按任务 ID…

    3.2k GitHub stars~5.4k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Sql2er

    ystemsrx/sql_to_ER

    A skill your agent uses when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview…

    188 GitHub stars~1.1k tokensUpdated 7 days ago
    DatabasesAuto-check passed

More from Convex-Dev/convex

All 12 skills in this repo
  • Account

    Convex-Dev/convex

    Create or inspect Convex accounts. An agent skill from Convex-Dev/convex.

    117 GitHub stars~140 tokensUpdated yesterday
    Auto-check passed
  • Build Convex

    Convex-Dev/convex

    Build the Convex project from source. An agent skill from Convex-Dev/convex.

    117 GitHub stars~139 tokensUpdated yesterday
    Auto-check passed
  • Cad Reference

    Convex-Dev/convex

    Index of the Convex Architecture Documents (CADs), the normative specifications for Convex.

    117 GitHub stars~165 tokensUpdated yesterday
    Auto-check passed
  • Cad3 Encoding

    Convex-Dev/convex

    CAD3 encoding format — cells, embedded vs branch references, value IDs, validity rules.

    117 GitHub stars~164 tokensUpdated yesterday
    Auto-check passed
  • Cns

    Convex-Dev/convex

    Resolve or register Convex Name System (CNS) names. An agent skill from Convex-Dev/convex.

    117 GitHub stars~143 tokensUpdated yesterday
    Auto-check passed
  • Convex Lisp

    Convex-Dev/convex

    Convex Lisp language reference — CVM conventions, calling library code, actor definitions, juice and error codes.

    117 GitHub stars~161 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Convex DB

What does Convex DB do?

Use Convex DB — a lattice-backed SQL database. An agent skill from Convex-Dev/convex. Convex DB is an agent skill from Convex-Dev/convex. Use Convex DB — a lattice-backed SQL database.

When should I use Convex DB?

Convex DB fits situations like: helping users write queries; connect via JDBC; postgreSQL clients; insert/query data.

How do I install Convex DB in Claude Code?

Run `npx skills add Convex-Dev/convex --skill convex-db -a claude-code`. Or copy the skill folder (.agents/skills/convex-db in Convex-Dev/convex) into .claude/skills/convex-db in your project. Claude Code loads it when a task matches its description.

How do I install Convex DB in Codex?

Run `npx skills add Convex-Dev/convex --skill convex-db -a codex`. Or copy the skill folder (.agents/skills/convex-db in Convex-Dev/convex) into .agents/skills/convex-db in your project. Codex loads it when a task matches its description.

Can I use Convex DB in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Convex-Dev/convex --skill convex-db -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/convex-db, .gemini/skills/convex-db, .github/skills/convex-db and .opencode/skills/convex-db in your project.

What does Convex DB need to run?

SKILL.md names no scripts, command-line tools or credentials: Convex DB is instructions for the agent only.

Does Convex DB access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Convex DB safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Convex DB use?

Convex DB has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Convex DB use?

About 159 tokens (SKILL.md is roughly 636 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Convex DB?

Skills that share tags, products or a category with Convex DB: SQL Database Support for pREST (prest/prest, 4.6k stars), Chdb SQL (vemetric/vemetric, 394 stars), Schema Exploration (timescale/pg-aiguide, 1.9k stars) and Mz Benchmark (MaterializeInc/materialize, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Convex DB?

Convex-Dev (a GitHub organization) maintains it in Convex-Dev/convex, which has 117 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.

Source: Convex-Dev/convex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.