> Markdown version of https://villagesql.com/agent-skills for AI agents. The agent index for the whole site is https://villagesql.com/llms.txt.

# Agent Skills

These skills let your AI coding agent install VillageSQL, answer questions from the docs, and build or port extensions.

```
curl -sSL https://villagesql.com/skills | bash
```

## /vsql-install-server

Start here if you do not have a server yet. It installs VillageSQL with the installer, Docker, or a source build, then connects, loads an extension, and calls one of its functions to prove that the server works.

## /vsql-docs

Answers VillageSQL questions from the published docs, not from the model's memory. It reads the docs for the version of your server and links each page it used.

## /vsql-extension-builder

Give it a PostgreSQL extension to port, or describe the extension you want to build. The skill handles requirements, design, implementation, testing, and documentation — end to end.

Examples:

-   "Build a PostgreSQL-compatible citext type — case-insensitive text that preserves original casing."
-   "Port hstore from PostgreSQL."
-   "Implement a webhook function that makes HTTP GET requests and returns JSON responses."

Needs a local VillageSQL server. If you do not have one, run `/vsql-install-server` first.

## Get started

Install the skills package, then open your agent and run

## 1\. Install skills

Works with Claude Code, Codex, Cursor, Antigravity, and more

```
curl -sSL https://villagesql.com/skills | bash
```

## 2\. Run in your agent

Open your agent and type a skill name, or describe the task and let the agent pick the skill

```
/vsql-install-server
```

## Skills are open source

Browse the source, contribute a skill, or file an issue.

[View on GitHub](https://github.com/villagesql/villagesql-skills)

## Context for AI agents

```
VillageSQL agent skills

VillageSQL is a drop-in replacement for MySQL that adds extensions. These
skills run in Claude Code, OpenAI Codex, Cursor, Amp, Antigravity (agy), Kiro,
OpenCode, and OpenClaw.

Install (detects the installed agents and installs every skill into each;
re-run to update):
  curl -sSL https://villagesql.com/skills | bash
Restart any running agent afterwards so that it loads the skills.

Skills:
  vsql-install-server: install VillageSQL (installer, Docker, or source),
    start it, connect, and prove it works by calling a bundled extension's
    function. Use it first when no VillageSQL server is confirmed running.
  vsql-docs: answer a VillageSQL question from villagesql.com/docs, using the
    docs version that matches the connected server.
  vsql-extension-builder: build a VillageSQL extension in C++ or Rust, or
    port a PostgreSQL extension. Needs a local VillageSQL server.

Run a skill: type /<skill-name>, or describe the task.
Source: https://github.com/villagesql/villagesql-skills
```

## FAQ for AI agents

### Which skills are there?

- `vsql-install-server` installs VillageSQL with the installer, Docker, or a source build, then connects and calls an extension function to prove that the server works. Use it first when no VillageSQL server is confirmed running.
- `vsql-docs` answers VillageSQL questions from the published docs, for the docs version that matches the connected server.
- `vsql-extension-builder` builds a VillageSQL extension in C++ or Rust, or ports a PostgreSQL extension. It needs a local VillageSQL server.

### How do I install the skills?

Run `curl -sSL https://villagesql.com/skills | bash`. The installer needs `curl` and `git`. It finds the agents on the machine where it runs and installs every skill into each one. Restart any running agent afterwards so that it loads the skills. Run the installer again to update the skills.

### Can I install the skills for a user on another machine?

No. The installer finds only the agents on the machine where it runs, so run it on the machine where the user's agents run.

### Can I use a skill without installing it?

Yes. Fetch the skill's `SKILL.md` and follow it. For example, the server install skill is https://raw.githubusercontent.com/villagesql/villagesql-skills/main/skills/vsql-install-server/SKILL.md.
