Skip to content

Repository files navigation

Xata

Xata CLI

The official command-line interface for Xata.

Installation

# macOS / Linux
curl -fsSL https://xata.io/install.sh | bash

# Windows PowerShell
powershell -c "irm https://xata.io/install.ps1 | iex"

After installation, run xata upgrade to update to the latest CLI release.

Agent skills

Discover and install skills from xataio/skills, without a Xata login or additional tools:

xata skill list
xata skill install
xata skill install using-xata-cli
xata skill install using-xata-cli --agent claude-code --agent codex
xata skill install using-xata-cli --agent amp --global

skills is an alias for skill. In an interactive terminal, an install without a name opens a searchable skill selector, then prompts for agents with detected agents preselected. A supplied name skips the skill selector; --agent skips agent selection. xata skill list always lists available skills without installing. Noninteractive and JSON invocations without a name also only list skills; named installations require --agent, which can be repeated to select several agents.

The agent picker is searchable too: type to filter, press Space to toggle a selection, and Enter to confirm. Selected agents remain selected when filtered out.

Project installations use the current directory, or the existing project root passed with --directory. Use --global for user-wide installation instead; these options cannot be combined.

Agent Project directory User directory
Claude Code .claude/skills ~/.claude/skills (honors CLAUDE_CONFIG_DIR)
Codex .agents/skills ~/.agents/skills
Cursor .agents/skills ~/.cursor/skills
Amp .agents/skills ~/.config/agents/skills (honors XDG_CONFIG_HOME)
GitHub Copilot / VS Code (github-copilot) .agents/skills ~/.copilot/skills
Antigravity CLI (antigravity-cli) .agents/skills ~/.gemini/antigravity-cli/skills
OpenCode (opencode) .agents/skills ~/.config/opencode/skills (honors XDG_CONFIG_HOME)
Windsurf (windsurf) .windsurf/skills ~/.codeium/windsurf/skills
Zed (zed) .agents/skills ~/.agents/skills
Cline (cline) .cline/skills ~/.cline/skills

These targets cover the local skill-capable harnesses in the MCP setup guide. Claude web/desktop and ChatGPT use their own skill import or connector flows rather than this filesystem installer. Zed installs target the native Zed Agent; for an external agent running inside Zed, select that agent instead.

The command prints exact destinations and copies each complete skill directory once per distinct destination. Copies can be edited independently; other agents may also discover skills in shared directories. Each copy includes .xata-skill.json recording its source commit. Reload or restart your agent after installation.

Identical installations are left unchanged. Differing installations, including local edits and extra files, require confirmation or --force. Review local changes before replacing them. Destination symlinks are refused, even with --force. Installation does not configure the registry's MCP server or plugins.

Documentation

See the Xata documentation for usage instructions.

License

Apache-2.0 — see LICENSE for details.

About

Xata CLI

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages