Xata Skills
A collection of agent skills for AI coding assistants, packaged as an Agent Plugin.
A client that implements the standard loads it from a clone of this repository:
plugin.json # manifest
mcp.json # hosted Xata MCP server
skills/ # one directory per skill, each with a SKILL.md
MCP server
The plugin declares Xata's hosted MCP server at https://api.xata.tech/mcp, adding typed tools for organizations, projects, branches, and SQL. It is remote (nothing to install) and speaks Streamable HTTP only.
Authentication is handled by your client — no credentials are committed here. Most clients run the browser OAuth flow on first connection. For headless use, add the server with an API key directly instead:
claude mcp add --transport http xata https://api.xata.tech/mcp \
--header "Authorization: Bearer $XATA_API_KEY"
See the Xata MCP documentation for per-client setup.
Installation
Install all skills:
npx skills add xataio/skills
Install a specific skill:
npx skills add xataio/skills --skill managing-postgresql
For more information about skills, visit skills.sh.
Available Skills
managing-postgresql
Diagnoses and troubleshoots PostgreSQL database issues including slow queries, high CPU, memory pressure, connections, locks, vacuum, indexes, and replication.
npx skills add xataio/skills --skill managing-postgresql
| Reference | Description |
|---|---|
| monitoring | Health checks, metrics review |
| slow-queries | Query analysis, EXPLAIN plans |
| high-cpu | CPU investigation |
| memory | Memory pressure, OOM |
| connections | Connection management |
| locks | Locks and deadlocks |
| disk-space | Storage management |
| vacuum | Vacuum, autovacuum, bloat |
| indexes | Index optimization |
| tuning | Configuration tuning |
| backup | Backup and recovery |
| replication | Replication, failover |
| security | Access control, permissions |
using-xata-cli
Manages Xata serverless PostgreSQL databases via the xata CLI. Covers authentication, projects, branches, schema migrations (pgroll), organizations, API keys, and database cloning with anonymization.
npx skills add xataio/skills --skill using-xata-cli
| Reference | Description |
|---|---|
| auth | Login, profiles, tokens |
| projects | Project setup, configuration |
| branches | Branch management, URLs |
| migrations | Schema migrations (pgroll) |
| organizations | Team and org management |
| keys | API key management |
| clone | Database cloning |
branching-postgresql-for-agents
Creates isolated Xata PostgreSQL branches with realistic data for fixing bugs, building features, and validating changes without querying the source or production database. Works with any coding assistant that has shell access; requires authenticated xata and installed psql, plus authenticated gh only for a supplied GitHub issue or pull request.
Install for Claude Code with the Xata CLI:
xata skill install branching-postgresql-for-agents --agent claude-code
This requires a CLI release containing xata skill install. The installer has merged into the frontend repository's main branch but is not yet released.
Alternatively, install with the skills CLI:
npx skills add xataio/skills --skill branching-postgresql-for-agents
The workflow is self-contained and includes its Apache-2.0 license; no other skill is required.
using-xata-api
Uses the Xata HTTP API to manage organizations, projects, and branches, authenticate with an API key or OAuth, get a branch connection string, and understand pagination and error conventions.
npx skills add xataio/skills --skill using-xata-api
Contributing
See CONTRIBUTING.md for guidelines on creating and maintaining skills.