Agent skills
VexCMS publishes Agent Skills: folders of instructions your coding
agent loads when a task matches. A skill tells the agent which commands to run, in what order,
and where to stop and ask you. The skills live in the repo’s
skills/ folder and install with the
skills CLI (Node.js 22.20 or later).
Set up a project with your agent
Section titled “Set up a project with your agent”Open your coding agent in an empty folder and send it this:
Read https://docs.vexcms.dev/agent-setup.md and set up a VexCMS project here.agent-setup.md tells the agent to load the
vexcms-project-init skill and follow it. You don’t have to install anything first.
Available skills
Section titled “Available skills”| # | Skill | What it does |
|---|---|---|
| 01 | vexcms-project-init |
Scaffolds a new VexCMS project, or adds VexCMS to an existing Next.js + Convex app checked with vex doctor, and runs it locally up to a signed-in admin, then offers to model the first collections and globals. |
More skills follow after 0.1.0.
Install
Section titled “Install”vexcms-project-init runs before your project exists, and create-vexcms refuses to scaffold
into a folder that isn’t empty. Install it for your user, not into the project folder:
npx skills add ianyimi/vex --skill vexcms-project-init -gThe CLI asks which of your coding agents to install it for. Other ways to get it:
# See every VexCMS skill without installingnpx skills add ianyimi/vex --list
# Install into the current project instead (writes .agents/skills/ and skills-lock.json)npx skills add ianyimi/vex --skill vexcms-project-init
# Hand one skill to the current agent without installing itnpx skills use ianyimi/vex@vexcms-project-initUpdate with npx skills update, remove with npx skills remove vexcms-project-init -g.
Use a skill
Section titled “Use a skill”Agents load a skill on their own when your request matches its description, for example “set up a new VexCMS project”. To start one by name:
| Tool | Invocation |
|---|---|
| Claude Code | /vexcms-project-init |
| Cursor | /vexcms-project-init |
| VS Code (GitHub Copilot) | /vexcms-project-init |
| Codex | $vexcms-project-init |
What vexcms-project-init does
Section titled “What vexcms-project-init does”The agent runs the quickstart for you:
- Checks Node.js 22+ and pnpm, and picks the target folder (an empty folder, or a new subfolder).
- Asks you for the project name, the starter (marketing site or
--bare), organizations, and whether the defaults suit you: port3010, email/password sign-in, no OAuth providers. - Scaffolds with
pnpm create vexcms@alpha … --yesand installs dependencies. If you want other options, it gives you the interactive command to run in your own terminal. - Offers to install Convex’s own AI files (
npx convex ai-files install). - Creates a Convex project with a cloud dev deployment (
npx convex dev --once --configure new …) and pushesSITE_URLandBETTER_AUTH_SECRETto it. - Starts
pnpm vex:devandpnpm dev, and seeds the marketing starter. - Asks you to sign up. The first account becomes the admin.
- Asks whether to continue into the content model. On yes, it asks what content your site needs, proposes collections and globals, and writes them once you confirm.
It stops for you at four points: logging in to Convex, any non-default scaffold option, OAuth client credentials, and the first sign-up. It doesn’t deploy to production; see the deployment guide for that.
Docs for agents
Section titled “Docs for agents”The docs site serves llms.txt indexes. Point an agent at /llms.txt
(index), /llms-full.txt (complete docs) or /llms-small.txt (compact). For Convex itself, see
Convex’s agent skills and its
AI files.