# Amp
Source: https://docs.getgaal.com/agents/amp
Sourcegraph's agentic coding tool.
[Amp](https://ampcode.com) is Sourcegraph's agentic coding tool. Project skills use the vendor-neutral `.agents/skills` convention; global skills live under `~/.config/agents/skills`.
## Paths
| Resource | Path |
| ---------------------- | -------------------------------------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.config/agents/skills` |
| MCP config | `~/.config/amp/settings.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.config/agents/skills`, `~/.agents/skills`, `~/.copilot/skills`, `~/.claude/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [amp]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [amp]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Antigravity
Source: https://docs.getgaal.com/agents/antigravity
Google's agentic IDE based on Gemini.
[Antigravity](https://antigravity.google) is Google's agentic IDE built on Gemini. It does not currently support MCP servers via gaal, only skills are managed.
## Paths
| Resource | Path |
| ---------------------- | ---------------------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.gemini/antigravity/skills` |
| MCP config | , (not supported) |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.gemini/antigravity/skills`, `~/.gemini/skills`, `~/.agents/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [antigravity]
global: true # → ~/.gemini/antigravity/skills
```
## MCP servers
Antigravity does not have a gaal-managed MCP config target. If MCP support lands in a future Antigravity release, gaal will add it to the registry.
## Related
# Augment
Source: https://docs.getgaal.com/agents/augment
Augment Code AI agent.
[Augment](https://augmentcode.com) is an AI coding agent. Skills live under `.augment/skills`; MCP config lives under `~/.augment/settings.json`.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------------------- |
| Project skills | `.augment/skills` |
| Global skills | `~/.augment/skills` |
| MCP config | `~/.augment/settings.json` |
| Audit search (project) | `.augment/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.augment/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [augment]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [augment]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Claude Code
Source: https://docs.getgaal.com/agents/claude-code
Anthropic's terminal coding agent.
[Claude Code](https://docs.claude.com/en/docs/claude-code/overview) is Anthropic's terminal-native coding agent. gaal manages its skills directories and its MCP server config.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------- |
| Project skills | `.claude/skills` |
| Global skills | `~/.claude/skills` |
| MCP config | `~/.claude.json` |
| Audit search (project) | `.claude/skills`, `.agents/skills`, `.github/skills` |
| Audit search (global) | `~/.claude/skills`, `~/.agents/skills`, `~/.copilot/skills` |
| Package-manager search | `~/.claude/plugins/cache` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [claude-code]
select: [frontend-design, skill-creator]
global: false
```
After `gaal sync`:
```
.claude/skills/frontend-design/SKILL.md
.claude/skills/skill-creator/SKILL.md
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
The entry is upserted under `mcpServers` in `~/.claude.json`. Other keys in the file are preserved.
## Detecting installation
```bash theme={"theme":"nord"}
$ gaal agents claude-code
claude-code (installed)
project skills: .claude/skills
global skills: ~/.claude/skills
mcp config: ~/.claude.json (exists)
pm cache: ~/.claude/plugins/cache
```
## Related
# Cline
Source: https://docs.getgaal.com/agents/cline
Open-source AI assistant for VS Code.
[Cline](https://cline.bot) is an open-source AI assistant for VS Code. Both project and global skills use the vendor-neutral `.agents/skills` and `~/.agents/skills` conventions; MCP config lives in VS Code's `settings.json`.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.agents/skills` (generic fallback) |
| MCP config | `~/.vscode/settings.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.agents/skills`, `~/.copilot/skills`, `~/.claude/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [cline]
global: false
```
Skills land in `.agents/skills/`, Cline picks them up via the generic convention.
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [cline]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Codex
Source: https://docs.getgaal.com/agents/codex
OpenAI Codex CLI coding agent.
[Codex](https://github.com/openai/codex) is OpenAI's terminal coding agent. Project skills use the vendor-neutral `.agents/skills` convention; global skills live under `~/.codex/skills`.
## Paths
| Resource | Path |
| ---------------------- | ---------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.codex/skills` |
| MCP config | `~/.codex/config.toml` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.codex/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [codex]
global: true # → ~/.codex/skills
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [codex]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Continue
Source: https://docs.getgaal.com/agents/continue
Open-source coding assistant for VS Code and JetBrains.
[Continue](https://continue.dev) is an open-source coding assistant. Skills live under `.continue/skills`; MCP config lives under `~/.continue/config.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------------ |
| Project skills | `.continue/skills` |
| Global skills | `~/.continue/skills` |
| MCP config | `~/.continue/config.json` |
| Audit search (project) | `.continue/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.continue/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [continue]
global: true
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [continue]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Cursor
Source: https://docs.getgaal.com/agents/cursor
AI-first code editor with native MCP support.
[Cursor](https://cursor.com) is an AI-first code editor. Project skills use the vendor-neutral `.agents/skills` convention; global skills live under `~/.cursor/skills`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.cursor/skills` |
| MCP config | `~/.cursor/mcp.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.cursor/skills`, `~/.agents/skills`, `~/.copilot/skills`, `~/.claude/skills` |
| Package-manager search | `~/.cursor/extensions` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: vercel-labs/agent-skills
agents: [cursor]
global: true # → ~/.cursor/skills
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [cursor]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Detecting installation
```bash theme={"theme":"nord"}
gaal agents cursor
```
## Related
# Gemini CLI
Source: https://docs.getgaal.com/agents/gemini-cli
Google's terminal coding agent.
[Gemini CLI](https://github.com/google-gemini/gemini-cli) is Google's terminal coding agent. Project skills use the vendor-neutral `.agents/skills` convention; global skills live under `~/.gemini/skills`.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.gemini/skills` |
| MCP config | `~/.gemini/settings.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.gemini/skills`, `~/.agents/skills`, `~/.copilot/skills` |
| Package-manager search | `~/.gemini/extensions` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [gemini-cli]
global: true
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [gemini-cli]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Generic
Source: https://docs.getgaal.com/agents/generic
The vendor-neutral fallback for agents that share .agents/skills.
`generic` is a built-in pseudo-agent that owns the vendor-neutral `.agents/skills` (project) and `~/.agents/skills` (global) directories. Several agents, Cursor, Codex, Cline, Warp, Gemini CLI, OpenCode, Amp, Antigravity, install through the generic renderer rather than maintaining their own skills directory.
## When you'd target it directly
Most of the time you won't. You'll target the actual agents you use:
```yaml theme={"theme":"nord"}
skills:
- source: my-skills
agents: [cursor, codex, cline]
```
…and gaal will write to the right shared directory because each of those agents declares `supports_generic_project: true`.
You target `generic` directly when you want to populate the shared directory **without** depending on a specific agent being installed:
```yaml theme={"theme":"nord"}
skills:
- source: my-skills
agents: [generic]
global: false # → .agents/skills
```
This is useful for pre-staging a new machine, or for installing skills that any future generic-fallback agent will pick up.
## Paths
| Resource | Path |
| ---------------------- | ------------------ |
| Project skills | `.agents/skills` |
| Global skills | `~/.agents/skills` |
| MCP config | , (no MCP target) |
| Audit search (project) | `.agents/skills` |
| Audit search (global) | `~/.agents/skills` |
## MCP servers
`generic` doesn't own an MCP config file. To install MCP servers for generic-fallback agents, target the agent's actual MCP config. See the relevant per-agent page.
## Related
# GitHub Copilot
Source: https://docs.getgaal.com/agents/github-copilot
Copilot in VS Code, with MCP via VS Code settings.
[GitHub Copilot](https://docs.github.com/en/copilot) reads agent skills from `.github/skills` and reads MCP server configuration from VS Code's `settings.json`.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------- |
| Project skills | `.github/skills` |
| Global skills | `~/.copilot/skills` |
| MCP config | `~/.vscode/settings.json` |
| Audit search (project) | `.github/skills`, `.agents/skills`, `.claude/skills` |
| Audit search (global) | `~/.copilot/skills`, `~/.claude/skills`, `~/.agents/skills` |
| Package-manager search | `~/.vscode/agent-plugins` |
See also: [VS Code Copilot agent skills docs](https://code.visualstudio.com/docs/copilot/customization/agent-skills#_create-a-skill).
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [github-copilot]
select: [frontend-design]
global: false # → .github/skills
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: github
agents: [github-copilot]
global: true
inline:
command: npx
args: ["-y", "@modelcontextprotocol/server-github"]
env:
GITHUB_PERSONAL_ACCESS_TOKEN: ${GITHUB_TOKEN}
```
gaal upserts under the `mcpServers` key while leaving every other VS Code setting in place.
## Related
# Goose
Source: https://docs.getgaal.com/agents/goose
Block's open-source AI coding agent.
[Goose](https://block.github.io/goose/) is an open-source AI agent. Skills live under `.goose/skills`; MCP config lives under `~/.config/goose/config.yaml`.
## Paths
| Resource | Path |
| ---------------------- | ----------------------------------------------------------------- |
| Project skills | `.goose/skills` |
| Global skills | `~/.config/goose/skills` |
| MCP config | `~/.config/goose/config.yaml` |
| Audit search (project) | `.goose/skills`, `.agents/skills`, `.github/skills` |
| Audit search (global) | `~/.config/goose/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [goose]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [goose]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Kilo
Source: https://docs.getgaal.com/agents/kilo
Kilo Code AI assistant.
[Kilo Code](https://kilocode.ai) is an AI coding assistant. Skills live under `.kilocode/skills`; MCP config lives under `~/.kilocode/mcp.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------------ |
| Project skills | `.kilocode/skills` |
| Global skills | `~/.kilocode/skills` |
| MCP config | `~/.kilocode/mcp.json` |
| Audit search (project) | `.kilocode/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.kilocode/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [kilo]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [kilo]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Kiro CLI
Source: https://docs.getgaal.com/agents/kiro-cli
AWS Kiro terminal coding agent.
[Kiro](https://kiro.dev) is AWS's AI IDE; the Kiro CLI is its terminal companion. Skills live under `.kiro/skills`; MCP config lives under `~/.kiro/settings/mcp.json`.
## Paths
| Resource | Path |
| ---------------------- | --------------------------------------------------------- |
| Project skills | `.kiro/skills` |
| Global skills | `~/.kiro/skills` |
| MCP config | `~/.kiro/settings/mcp.json` |
| Audit search (project) | `.kiro/skills`, `.agents/skills`, `.github/skills` |
| Audit search (global) | `~/.kiro/skills`, `~/.agents/skills`, `~/.copilot/skills` |
| Package-manager search | `~/.kiro/extensions` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [kiro-cli]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [kiro-cli]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# OpenCode
Source: https://docs.getgaal.com/agents/opencode
Open-source terminal coding agent.
[OpenCode](https://opencode.ai) is an open-source terminal coding agent. Project skills use the vendor-neutral `.agents/skills` convention; global skills live under `~/.config/opencode/skills`.
## Paths
| Resource | Path |
| ---------------------- | -------------------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.config/opencode/skills` |
| MCP config | `~/.config/opencode/config.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.config/opencode/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [opencode]
global: true
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [opencode]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# OpenHands
Source: https://docs.getgaal.com/agents/openhands
Open-source autonomous AI software engineer.
[OpenHands](https://github.com/All-Hands-AI/OpenHands) is an open-source autonomous coding agent. Skills live under `.openhands/skills`; MCP config lives under `~/.openhands/config.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------- |
| Project skills | `.openhands/skills` |
| Global skills | `~/.openhands/skills` |
| MCP config | `~/.openhands/config.json` |
| Audit search (project) | `.openhands/skills`, `.agents/skills`, `.github/skills` |
| Audit search (global) | `~/.openhands/skills`, `~/.agents/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [openhands]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [openhands]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Agent integrations
Source: https://docs.getgaal.com/agents/overview
Every coding agent gaal supports out of the box.
gaal ships with a built-in registry of supported coding agents plus a vendor-neutral `generic` fallback. For each one, the registry knows where skills live and where to upsert MCP server entries. That's what makes `agents: ["*"]` in your `gaal.yaml` work.
## Supported agents
## Quick lookup
| Agent | Project skills | Global skills | MCP config |
| -------------- | -------------------------- | ------------------------------ | ---------------------------------------- |
| Claude Code | `.claude/skills` | `~/.claude/skills` | `~/.claude.json` |
| Cursor | `.agents/skills` (generic) | `~/.cursor/skills` | `~/.cursor/mcp.json` |
| Codex | `.agents/skills` (generic) | `~/.codex/skills` | `~/.codex/config.toml` |
| GitHub Copilot | `.github/skills` | `~/.copilot/skills` | `~/.vscode/settings.json` |
| Windsurf | `.windsurf/skills` | `~/.codeium/windsurf/skills` | `~/.codeium/windsurf/mcp_settings.json` |
| Continue | `.continue/skills` | `~/.continue/skills` | `~/.continue/config.json` |
| Gemini CLI | `.agents/skills` (generic) | `~/.gemini/skills` | `~/.gemini/settings.json` |
| Goose | `.goose/skills` | `~/.config/goose/skills` | `~/.config/goose/config.yaml` |
| Cline | `.agents/skills` (generic) | `~/.agents/skills` (generic) | `~/.vscode/settings.json` |
| Roo | `.roo/skills` | `~/.roo/skills` | `~/.vscode/settings.json` |
| Augment | `.augment/skills` | `~/.augment/skills` | `~/.augment/settings.json` |
| OpenCode | `.agents/skills` (generic) | `~/.config/opencode/skills` | `~/.config/opencode/config.json` |
| OpenHands | `.openhands/skills` | `~/.openhands/skills` | `~/.openhands/config.json` |
| Trae | `.trae/skills` | `~/.trae/skills` | `~/.trae/mcp.json` |
| Kilo | `.kilocode/skills` | `~/.kilocode/skills` | `~/.kilocode/mcp.json` |
| Kiro CLI | `.kiro/skills` | `~/.kiro/skills` | `~/.kiro/settings/mcp.json` |
| Amp | `.agents/skills` (generic) | `~/.config/agents/skills` | `~/.config/amp/settings.json` |
| Zencoder | `.zencoder/skills` | `~/.zencoder/skills` | `~/.zencoder/mcp.json` |
| Antigravity | `.agents/skills` (generic) | `~/.gemini/antigravity/skills` | , (no MCP) |
| Warp | `.agents/skills` (generic) | `~/.agents/skills` (generic) | `~/.warp/launch_configurations/mcp.json` |
| Generic | `.agents/skills` | `~/.agents/skills` | , (no MCP) |
`(generic)` means the agent shares the vendor-neutral `.agents/skills` or `~/.agents/skills` directory rather than maintaining its own. See [Concepts → Agents & renderers](/concepts/agents-and-renderers).
## Listing what's installed on this machine
```bash theme={"theme":"nord"}
gaal agents # all registered agents
gaal agents --installed # only those gaal detects on this machine
gaal agents claude-code # detailed view for one agent
gaal agents -o json # machine-readable
```
## Adding a new agent
Use [Custom agents](/configure/custom-agents) to teach gaal about an agent it doesn't ship with yet. If the agent is publicly available, please open a PR at [github.com/getgaal/gaal](https://github.com/getgaal/gaal) so everyone gets it.
# Roo
Source: https://docs.getgaal.com/agents/roo
AI coding assistant for VS Code.
[Roo Code](https://roocode.com) is an AI assistant for VS Code. Skills live under `.roo/skills`; MCP config lives in VS Code's `settings.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------- |
| Project skills | `.roo/skills` |
| Global skills | `~/.roo/skills` |
| MCP config | `~/.vscode/settings.json` |
| Audit search (project) | `.roo/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.roo/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [roo]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [roo]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Trae
Source: https://docs.getgaal.com/agents/trae
Adaptive AI IDE by ByteDance.
[Trae](https://trae.ai) is an adaptive AI IDE. Skills live under `.trae/skills`; MCP config lives under `~/.trae/mcp.json`.
## Paths
| Resource | Path |
| ---------------------- | -------------------------------------------------------------------- |
| Project skills | `.trae/skills` |
| Global skills | `~/.trae/skills` |
| MCP config | `~/.trae/mcp.json` |
| Audit search (project) | `.trae/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.trae/skills`, `~/.agents/skills`, `~/.copilot/skills` |
| Package-manager search | `~/.trae/extensions` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [trae]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [trae]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Warp
Source: https://docs.getgaal.com/agents/warp
AI-first terminal.
[Warp](https://warp.dev) is an AI-first terminal. Both project and global skills use the vendor-neutral `.agents/skills` and `~/.agents/skills` conventions; MCP config lives under `~/.warp/launch_configurations/mcp.json`.
## Paths
| Resource | Path |
| ---------------------- | --------------------------------------------------------- |
| Project skills | `.agents/skills` (generic fallback) |
| Global skills | `~/.agents/skills` (generic fallback) |
| MCP config | `~/.warp/launch_configurations/mcp.json` |
| Audit search (project) | `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.agents/skills`, `~/.warp/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [warp]
global: true # → ~/.agents/skills (shared)
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [warp]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Windsurf
Source: https://docs.getgaal.com/agents/windsurf
Codeium's AI-first IDE.
[Windsurf](https://windsurf.com) (by Codeium) reads skills from `.windsurf/skills` and MCP config from `~/.codeium/windsurf/mcp_settings.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------------ |
| Project skills | `.windsurf/skills` |
| Global skills | `~/.codeium/windsurf/skills` |
| MCP config | `~/.codeium/windsurf/mcp_settings.json` |
| Audit search (project) | `.windsurf/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.codeium/windsurf/skills`, `~/.agents/skills`, `~/.copilot/skills` |
| Package-manager search | `~/.windsurf/extensions` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [windsurf]
select: [frontend-design]
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [windsurf]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Zencoder
Source: https://docs.getgaal.com/agents/zencoder
Zencoder AI coding agent.
[Zencoder](https://zencoder.ai) is an AI coding agent. Skills live under `.zencoder/skills`; MCP config lives under `~/.zencoder/mcp.json`.
## Paths
| Resource | Path |
| ---------------------- | ------------------------------------------------------------------------ |
| Project skills | `.zencoder/skills` |
| Global skills | `~/.zencoder/skills` |
| MCP config | `~/.zencoder/mcp.json` |
| Audit search (project) | `.zencoder/skills`, `.agents/skills`, `.github/skills`, `.claude/skills` |
| Audit search (global) | `~/.zencoder/skills`, `~/.agents/skills`, `~/.copilot/skills` |
## Skills example
```yaml gaal.yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [zencoder]
global: false
```
## MCP example
```yaml gaal.yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [zencoder]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# gaal agents
Source: https://docs.getgaal.com/cli/agents
List registered coding agents and detection status.
```bash theme={"theme":"nord"}
gaal agents [name] [flags]
```
Lists every coding agent in the registry (built-in plus any custom entries). With a name, prints a detailed view for that agent.
## Flags
| Flag | Default | Description |
| ------------------- | ------- | ------------------------------------------ |
| `-i`, `--installed` | off | Show only agents detected on this machine. |
Plus all [global flags](/cli/overview#global-flags).
## Sample output
```text theme={"theme":"nord"}
$ gaal agents
NAME INSTALLED PROJECT_SKILLS GLOBAL_SKILLS MCP_CONFIG
claude-code yes .claude/skills ~/.claude/skills ~/.claude.json
cursor yes .agents/skills ~/.cursor/skills ~/.cursor/mcp.json
codex yes .agents/skills ~/.codex/skills ~/.codex/config.toml
github-copilot no .github/skills ~/.copilot/skills ~/.vscode/settings.json
windsurf no .windsurf/skills ~/.codeium/windsurf/skills ~/.codeium/windsurf/mcp_settings.json
…
```
Installed agents are listed first.
## Detailed view
```text theme={"theme":"nord"}
$ gaal agents claude-code
claude-code (installed)
source: built-in
project skills: .claude/skills
global skills: ~/.claude/skills
mcp config: ~/.claude.json (exists)
audit search (project):
.claude/skills, .agents/skills, .github/skills
audit search (global):
~/.claude/skills, ~/.agents/skills, ~/.copilot/skills
package-manager search:
~/.claude/plugins/cache
```
## JSON output
```bash theme={"theme":"nord"}
gaal agents -o json
```
Returns the registry as structured JSON, suitable for scripting or feeding a CI step.
## Related
# gaal audit
Source: https://docs.getgaal.com/cli/audit
Read-only scan of skills and MCP entries already on this machine.
```bash theme={"theme":"nord"}
gaal audit [flags]
```
Scans the filesystem for skills and MCP server entries that already exist, without writing anything. The output is the input `gaal init --import-all` uses to build a `gaal.yaml`, so running `audit` first is a great way to preview what an import would capture.
## What it scans
For each agent in the registry:
* **Project skill directories**, relative paths configured in the registry (e.g. `.claude/skills`, `.agents/skills`, `.github/skills`).
* **Global skill directories**, home-relative paths (e.g. `~/.claude/skills`, `~/.cursor/skills`).
* **Package-manager paths**, vendor-specific extension directories (e.g. `~/.cursor/extensions`, `~/.claude/plugins/cache`).
* **MCP config files**, every target file the agent uses.
## Flags
Only the [global flags](/cli/overview#global-flags). `-o json` is useful for scripting.
## Sample output
```text theme={"theme":"nord"}
$ gaal audit
discovered:
skills (project)
.claude/skills/code-review (claude-code)
.cursor/skills/test-writer (cursor)
skills (global)
~/.claude/skills/git-helper (claude-code)
~/.cursor/skills/refactor (cursor)
skills (package manager)
~/.claude/plugins/cache/extra-skill (claude-code)
mcps
~/.claude.json
filesystem, git, github
~/.cursor/mcp.json
filesystem
```
## JSON output
```bash theme={"theme":"nord"}
gaal audit -o json
```
Returns the discovered skills and MCP entries as structured JSON.
## What audit does NOT do
* It doesn't write to `gaal.yaml`. Use `gaal init --import-all` for that.
* It doesn't reach the network. All discovery is filesystem-only.
* It doesn't read the contents of `SKILL.md` files, it only confirms the directory exists.
## Related
# gaal completion
Source: https://docs.getgaal.com/cli/completion
Generate shell completion scripts for bash, zsh, fish, and PowerShell.
```bash theme={"theme":"nord"}
gaal completion
```
Prints a completion script for the requested shell to stdout. Source it into your current session, or write it to your shell's completion directory for a permanent install.
## Bash
**Current session:**
```bash theme={"theme":"nord"}
source <(gaal completion bash)
```
**Permanent (add to `~/.bashrc`):**
```bash theme={"theme":"nord"}
gaal completion bash > ~/.local/share/bash-completion/completions/gaal
```
## Zsh
**Current session:**
```zsh theme={"theme":"nord"}
source <(gaal completion zsh)
```
**Permanent:**
```zsh theme={"theme":"nord"}
gaal completion zsh > "${fpath[1]}/_gaal"
```
If your `${fpath[1]}` isn't writable, pick another writable directory on your `fpath` and place the file there.
## Fish
**Current session:**
```fish theme={"theme":"nord"}
gaal completion fish | source
```
**Permanent:**
```fish theme={"theme":"nord"}
gaal completion fish > ~/.config/fish/completions/gaal.fish
```
## PowerShell
```powershell theme={"theme":"nord"}
gaal completion powershell | Out-String | Invoke-Expression
```
To make it permanent, add the line to your PowerShell `$PROFILE`.
## Verifying
After installing, open a new shell and start typing `gaal s`, you should see `status sync` come up. If completion doesn't fire, your shell may need a restart, or your completion directory may not be on the lookup path.
## Related
# gaal doctor
Source: https://docs.getgaal.com/cli/doctor
Health check on configuration, sources, targets, and agents.
```bash theme={"theme":"nord"}
gaal doctor [flags]
```
Validates `gaal.yaml`, checks that every source is reachable, verifies every MCP target is writable, confirms any declared `tools:` are on `PATH`, and reports agent and telemetry status. Run it any time gaal is misbehaving, and as a CI gate.
## Flags
| Flag | Default | Description |
| ------------- | ------- | -------------------------------------------------- |
| `--offline` | off | Skip network reachability checks. |
| `--no-upsell` | off | Suppress the Community Edition graduation message. |
Plus all [global flags](/cli/overview#global-flags).
## Exit codes
| Code | Meaning |
| ---- | ------------------------------------------ |
| `0` | All checks passed. |
| `1` | Warnings only, gaal will function. |
| `2` | Errors, gaal cannot operate as configured. |
```bash theme={"theme":"nord"}
gaal doctor && echo "ready to sync"
```
## Sample output
```text theme={"theme":"nord"}
$ gaal doctor
config:
✓ ./gaal.yaml parses against schema 1
✓ no scope-restricted fields in workspace
sources:
✓ anthropics/skills reachable
✓ vercel-labs/agent-skills reachable
mcps:
✓ ~/.claude.json writable
✓ ~/.cursor/mcp.json writable
tools:
✓ gh (on PATH: /opt/homebrew/bin/gh)
! rtk — missing from PATH (required by: workspace; hint: cargo install rtk)
agents:
installed: claude-code, cursor, codex
not installed: github-copilot, windsurf
telemetry:
✓ disabled (per ~/.config/gaal/config.yaml)
3 agents installed, 0 misconfigured
```
## CI usage
```yaml theme={"theme":"nord"}
- run: gaal doctor --offline
- run: gaal --sandbox "$RUNNER_TEMP/gaal-sb" sync --dry-run
- run: gaal --sandbox "$RUNNER_TEMP/gaal-sb" sync
```
`--offline` is essential in air-gapped or rate-limited CI environments.
## Related
# gaal info
Source: https://docs.getgaal.com/cli/info
Detailed view of a single repo, skill, MCP, or agent.
```bash theme={"theme":"nord"}
gaal info [name]
```
Prints a full information card for every entry of the given type, combining the configuration spec with the current runtime state. With a name (or substring), filters to matching entries.
## Types
| Type | Shows |
| ------- | -------------------------------------------------------------------------------------------------------------- |
| `repo` | URL, type, configured version vs current HEAD, dirty flag. |
| `skill` | Source, target agents, scope, selection filter, per-agent installation tree. |
| `mcp` | Server name, target agents and scope, resolved target file(s), inline definition, merge flag, dirty detection. |
| `agent` | Supported coding agent, skill directory paths, MCP config path, built-in vs custom. |
## Filter argument
The optional second argument is a case-insensitive substring match against the entry name or source.
```bash theme={"theme":"nord"}
gaal info skill # every skill entry
gaal info skill vercel-labs/agent-skills # skills sourced from this repo
gaal info repo workspace/myrepo
gaal info mcp claude # MCP entries whose name matches "claude"
gaal info agent # all registered agents
gaal info agent cursor
```
## Sample output
```text theme={"theme":"nord"}
$ gaal info skill frontend-design
skill: frontend-design
source: anthropics/skills
selection: select [frontend-design, skill-creator]
scope: project
agents: claude-code, cursor
installed at:
.claude/skills/frontend-design/ (3 files, fresh)
.cursor/skills/frontend-design/ (3 files, fresh)
```
```text theme={"theme":"nord"}
$ gaal info mcp filesystem
mcp: filesystem
agents: [claude-code, cursor]
scope: global
resolved targets:
claude-code → ~/.claude.json
cursor → ~/.cursor/mcp.json
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
state: upserted, hash matches config (both targets)
```
## JSON output
`gaal info -o json` returns the same data as a structured object, suitable for piping into `jq` or feeding into automation.
## Related
# gaal init
Source: https://docs.getgaal.com/cli/init
Bootstrap a gaal.yaml interactively or from flags.
```bash theme={"theme":"nord"}
gaal init [flags]
```
Creates a new `gaal.yaml`. Interactively asks how to populate it (import detected skills/MCPs, or start from a documented empty skeleton) and which scope to write to.
## Flags
| Flag | Default | Description |
| --------------------------- | -------- | ----------------------------------------------------- |
| `-f`, `--force` | off | Overwrite an existing config file. |
| `--scope ` | (prompt) | Pre-select the scope without prompting. |
| `--import-all` | off | Non-interactive: import every detected skill and MCP. |
| `--empty` | off | Non-interactive: write the documented empty skeleton. |
`--empty` and `--import-all` are mutually exclusive. When stdin is not a TTY, exactly one of them must be set.
## Behaviour
* **With a TTY and no flags**, runs the interactive wizard.
* **Without a TTY**, requires either `--empty` or `--import-all`, plus `--scope`.
## Scopes
| Scope | Output path |
| --------- | --------------------------------------------------------------------- |
| `project` | `./gaal.yaml` |
| `global` | `~/.config/gaal/config.yaml` (or `$XDG_CONFIG_HOME/gaal/config.yaml`) |
## Examples
```bash theme={"theme":"nord"}
# Interactive, the most common case
gaal init
# Empty annotated skeleton, project scope
gaal init --empty --scope project
# Import everything detected, global scope
gaal init --import-all --scope global
# Overwrite existing file with an import
gaal init --import-all --scope project --force
```
## Sample interactive session
```text theme={"theme":"nord"}
$ gaal init
? How should we create your gaal.yaml?
▸ Import everything detected on this machine
Start from an empty documented skeleton
? Where should this configuration apply?
▸ Project (./gaal.yaml)
Global (~/.config/gaal/config.yaml)
? Select skills to import (Space to toggle, Enter to confirm)
[x] code-review (claude-code, project)
[x] test-writer (cursor, project)
[x] git-helper (claude-code, global)
? Select MCP servers to import
[x] filesystem → ~/.claude.json
[x] git → ~/.claude.json
✓ wrote ./gaal.yaml (12 skills, 2 mcps)
```
## Related
# gaal migrate
Source: https://docs.getgaal.com/cli/migrate
Validate and prepare configuration for Community Edition.
```bash theme={"theme":"nord"}
gaal migrate --to community [flags]
```
Validates the local configuration and confirms it is ready to push to a gaal Community Edition instance. Today, Community Edition is not publicly available, running this command validates your YAML and prints what *would* be migrated.
## Flags
| Flag | Description |
| --------------- | ------------------------------------------------------------------------ |
| `--to ` | Migration target. Currently only `community` is supported. **Required.** |
| `--dry-run` | Validate everything but do not perform the migration. |
| `--yes` | Skip the interactive confirmation prompt. |
Plus all [global flags](/cli/overview#global-flags).
## Examples
```bash theme={"theme":"nord"}
gaal migrate --to community https://community.example.com
gaal migrate --to community https://community.example.com --dry-run
gaal migrate --to community https://community.example.com --yes
```
## Today's behaviour
Running `gaal migrate` against the current release validates your configuration end-to-end and prints a short notice:
```text theme={"theme":"nord"}
gaal Community Edition is not yet available. Your configuration is valid and
ready to migrate when Community ships. Join the announcement list:
https://getgaal.com
```
Use this command now to confirm your config is migration-ready. When Community ships, the same command will perform the actual push.
## What migration covers
When Community ships, `gaal migrate` will package and upload:
* Every `repositories[]` entry.
* Every `skills[]` entry, with its source pin and agent targeting.
* Every `mcps[]` entry, with its target and definition.
Local-only concerns (telemetry, scope-restricted fields, hand-merged MCP entries you didn't author) are not migrated.
## Related
# CLI overview
Source: https://docs.getgaal.com/cli/overview
Global flags and a one-line summary of every command.
Every gaal invocation starts with `gaal`. Global flags can sit before or after the subcommand.
## Global flags
These work with every command:
| Flag | Default | Description |
| ----------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-c`, `--config ` | `gaal.yaml` | Path to the configuration file. |
| `-v`, `--verbose` | off | Enable debug logging. |
| `--no-banner` | off | Suppress the ASCII-art banner. |
| `--sandbox ` | unset | Redirect every write to this directory. See [Sandbox mode](/workflows/sandbox-mode). |
| `--log-file ` | unset | Write structured JSON logs to this file (in addition to console). |
| `-o`, `--output ` | `text` | Output format: `text`, `table`, or `json`. `text` is the default human- and pipe-friendly layout; `table` renders boxed pterm tables; `json` emits structured data and suppresses the banner automatically. |
## Commands
| Command | Purpose |
| ------------------------------------ | ---------------------------------------------------------------- |
| [`gaal skill`](/cli/skill) | Search registry skills and add them to `gaal.yaml`. |
| [`gaal sync`](/cli/sync) | Reconcile every resource in `gaal.yaml` against the filesystem. |
| [`gaal status`](/cli/status) | Print the current state of every repo, skill, and MCP entry. |
| [`gaal agents`](/cli/agents) | List registered coding agents and detection status. |
| [`gaal info`](/cli/info) | Detailed view of a single repo, skill, MCP, or agent. |
| [`gaal init`](/cli/init) | Bootstrap a `gaal.yaml` interactively or from flags. |
| [`gaal audit`](/cli/audit) | Read-only scan of skills and MCP entries already on the machine. |
| [`gaal doctor`](/cli/doctor) | Health check on configuration, sources, targets, and agents. |
| [`gaal migrate`](/cli/migrate) | Validate and prepare configuration for Community Edition. |
| [`gaal schema`](/cli/schema) | Print or write the JSON Schema for `gaal.yaml`. |
| [`gaal version`](/cli/version) | Print version and build time. |
| [`gaal completion`](/cli/completion) | Generate shell completion scripts. |
## Exit codes
Most commands follow this convention:
| Code | Meaning |
| ---- | ------------------------------------------------------------------------------------------ |
| `0` | Success, nothing to do, or work completed cleanly. |
| `1` | Warning, work completed but with non-fatal issues, or `--dry-run` reports pending changes. |
| `2` | Error, operation failed. |
Per-command exit-code semantics are documented on each command's page.
## Examples
```bash theme={"theme":"nord"}
# Use a config in /etc rather than the default
gaal --config /etc/gaal/team.yaml sync
# Verbose JSON output
gaal --verbose -o json status
# Search the default skill registry
gaal skill search frontend
# Sync everything into a sandbox
gaal --sandbox /tmp/gaal-test sync
# Service mode with logging
gaal --log-file /var/log/gaal.json sync --service --interval 5m
```
# gaal schema
Source: https://docs.getgaal.com/cli/schema
Print or write the JSON Schema for gaal.yaml.
```bash theme={"theme":"nord"}
gaal schema [flags]
```
Prints (or writes to a file) the JSON Schema (draft 2020-12) that describes every field of a valid `gaal.yaml`. Use it for IDE auto-completion, inline validation, and for feeding to LLMs that need the structure.
## Flags
| Flag | Default | Description |
| --------------------- | ------- | --------------------------------------------- |
| `-f`, `--file ` | stdout | Write the schema to a file instead of stdout. |
Plus all [global flags](/cli/overview#global-flags).
## Examples
```bash theme={"theme":"nord"}
# Print to stdout
gaal schema
# Write to a file
gaal schema -f schema.json
# Pipe straight into a downstream tool
gaal schema | jq '.properties.repositories'
```
## VS Code integration
The gaal repository ships a workspace `settings.json` that maps `schema.json` to every `*.gaal.yaml` file. Run `gaal schema -f schema.json` once and YAML auto-completion + inline validation light up automatically.
For a standalone project, add this to `.vscode/settings.json`:
```json theme={"theme":"nord"}
{
"yaml.schemas": {
"schema.json": ["gaal.yaml", "*.gaal.yaml"]
}
}
```
(Requires the [YAML extension by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml).)
## JetBrains (GoLand / IntelliJ / PyCharm) integration
1. Open Settings → **Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings**.
2. Click **+** and add `schema.json` (or the URL where you host it).
3. Set the file pattern to `gaal.yaml` (and any other patterns you use).
## Programmatic validation
The schema is the source of truth for what `gaal sync` accepts. Use it in your own validators, CI checks, or LLM JSON-mode prompts:
```bash theme={"theme":"nord"}
gaal schema -f /tmp/gaal.schema.json
ajv validate -s /tmp/gaal.schema.json -d gaal.yaml
```
## Related
# gaal skill
Source: https://docs.getgaal.com/cli/skill
Search registry skills and add them to gaal.yaml.
```bash theme={"theme":"nord"}
gaal skill [flags]
```
`gaal skill` is the registry entry point. Use it to find skills in a registry, add selected skills to a `gaal.yaml`, and optionally run the normal sync immediately.
The default registry is `skills.sh`.
For the `skills.sh` registry, gaal uses the official skills.sh CLI surface through `npx skills find`. Make sure `npx` is available on `PATH`. No `VERCEL_OIDC_TOKEN` or skills.sh API auth is required for gaal's v1 registry workflow.
## Commands
| Command | Purpose |
| --------------------------- | ------------------------------------------------ |
| `gaal skill search ` | Search a registry for matching skills. |
| `gaal skill install [` | Add a registry skill to `gaal.yaml` and sync it. |
## Search
```bash theme={"theme":"nord"}
gaal skill search [flags]
```
Search does not require a `gaal.yaml`. For the `skills.sh` registry, gaal discovers matches through `npx skills find ` and prints the results in the selected output format.
### Search flags
| Flag | Default | Description |
| ------------------- | ----------- | --------------------------------------------------------- |
| `--registry ` | `skills.sh` | Registry to search. |
| `--limit ` | `10` | Maximum number of results. Must be between `1` and `100`. |
Plus all [global flags](/cli/overview#global-flags). Use `-o table` or `-o text` for a compact table, or `-o json` for structured fields.
### Search examples
```bash theme={"theme":"nord"}
# Search the default registry
gaal skill search frontend
# Search more results
gaal skill search review --limit 25
# Script against structured output
gaal skill search frontend -o json
```
## Install
```bash theme={"theme":"nord"}
gaal skill install ][ [flags]
```
Install resolves a registry reference through the same discovery path, writes or updates the selected `gaal.yaml`, and runs `gaal sync` by default.
gaal does not delegate the final install side effect to `npx skills add`. The source of truth remains `gaal.yaml`; registry lookup only helps gaal choose the normal `skills:` entry to write.
When the config file does not exist, install creates a compact minimal file:
```yaml gaal.yaml theme={"theme":"nord"}
schema: 1
repositories: {}
skills:
- source: anthropics/skills
registry: skills.sh
select:
- frontend-design
agents: ["*"]
global: true
mcps: []
```
### Accepted references
All of these refer to the same skill:
```text theme={"theme":"nord"}
frontend-design
skills.sh/frontend-design
anthropics/skills:frontend-design
skills.sh/anthropics/skills:frontend-design
```
Loose names, such as `frontend-design`, can match more than one registry result. In an interactive terminal, gaal shows a picker. In a non-interactive shell, gaal prints the choices and exits non-zero. `--yes` skips confirmation, but it does not choose among ambiguous results.
### Install flags
| Flag | Default | Description |
| ------------------- | ----------- | ----------------------------------------------------------------------------------------- |
| `--registry ` | `skills.sh` | Registry to resolve refs against. |
| `--agents ` | `*` | Agents to target. When omitted, install writes `agents: ["*"]` explicitly. |
| `--global` | on | Install globally across projects. Mutually exclusive with `--project`. |
| `--project` | off | Write `global: false` for project-local installation. Mutually exclusive with `--global`. |
| `--no-sync` | off | Update YAML only. Do not run sync after writing. |
| `--yes` | off | Skip the final confirmation. Required before mutation in non-interactive shells. |
Plus all [global flags](/cli/overview#global-flags), including `--config`.
### Install behavior
* Install defaults to global scope and writes `global: true`.
* `--project` writes `global: false`.
* `--config` selects which config file to create or update.
* The registry is stored as `registry:` on the skill entry for provenance.
* `gaal sync` remains source-based. It fetches the `source:` value; `registry:` records where the entry came from.
* For the `skills.sh` registry, discovery uses `npx skills find`; final installation still happens through gaal sync.
* gaal does not require `VERCEL_OIDC_TOKEN` or skills.sh API auth for this workflow.
* Registry-backed entries do not collapse with legacy entries that lack `registry:`.
* Omitted `agents` and `agents: ["*"]` are distinct for registry installs. The install command writes `agents: ["*"]` when you use the default.
* If an existing matching entry has no `select:`, the requested skill is already covered because empty or omitted `select:` means install every skill in the source.
### Install examples
```bash theme={"theme":"nord"}
# Install globally for every detected agent, then sync
gaal skill install frontend-design
# Install for Claude Code and Codex only
gaal skill install frontend-design --agents claude-code,codex
# Update the project config without syncing yet
gaal skill install anthropics/skills:frontend-design --project --no-sync
# Non-interactive install into a specific config
gaal --config ~/.config/gaal/config.yaml skill install skills.sh/frontend-design --yes
```
## Related
# gaal status
Source: https://docs.getgaal.com/cli/status
Print the current state of every repo, skill, and MCP entry.
```bash theme={"theme":"nord"}
gaal status [flags]
```
Reports the actual state of every resource managed by `gaal.yaml`, what's on disk, what version, where it lives. `status` writes nothing.
## Flags
Only the [global flags](/cli/overview#global-flags). The `-o json` flag is most useful here for scripting.
## Sample output
```text theme={"theme":"nord"}
$ gaal status
repositories
src/gaal git · main · clean
src/anthropics-skills git · v1.4.0 · clean
skills
frontend-design claude-code, cursor (project)
skill-creator claude-code (project)
git-helper claude-code (global)
mcps
filesystem ~/.claude.json
github ~/.claude.json
filesystem ~/.cursor/mcp.json
```
Use `-o table` for a boxed pterm layout with coloured status cells, or `-o json` for structured data.
## Sample output (JSON)
```bash theme={"theme":"nord"}
gaal status -o json
```
```json theme={"theme":"nord"}
{
"repositories": [
{ "path": "src/gaal", "type": "git", "version": "main", "dirty": false }
],
"skills": [
{ "name": "frontend-design", "agents": ["claude-code", "cursor"], "scope": "project" }
],
"mcps": [
{ "name": "filesystem", "target": "~/.claude.json" }
]
}
```
## Related
# gaal sync
Source: https://docs.getgaal.com/cli/sync
Reconcile every resource in gaal.yaml against the filesystem.
```bash theme={"theme":"nord"}
gaal sync [flags]
```
`sync` is the workhorse. It runs the audit, computes the plan, and applies it: clones or updates repositories, installs or refreshes skills, copies configured content, runs hooks, and upserts MCP entries.
## Flags
| Flag | Default | Description |
| ----------------------------- | ------- | -------------------------------------------------------------------------------------------------- |
| `-s`, `--service` | off | Run as a continuous service (daemon mode). |
| `-i`, `--interval ` | `5m` | Polling interval in service mode (e.g. `30s`, `10m`, `2h`). |
| `--dry-run` | off | Preview the plan without writing anything. See [Dry-run](/workflows/dry-run). |
| `--prune` | off | Remove skills and MCP entries no longer in the config. See [Pruning](/workflows/pruning). |
| `--force` | off | Install skills into all registered agents even when not detected. Applies only to `agents: ["*"]`. |
Plus all [global flags](/cli/overview#global-flags).
## Incompatible combinations
| Combo | Result |
| --------------------- | -------------------------------------------------------- |
| `--dry-run --service` | Rejected, a dry-run service loop is meaningless. |
| `--prune --service` | Rejected, destructive operations don't belong in a loop. |
## Exit codes
| Code | Mode | Meaning |
| ---- | ----------- | -------------------------------------------------- |
| `0` | one-shot | Success, nothing to change or all changes applied. |
| `0` | `--dry-run` | No changes pending. |
| `1` | `--dry-run` | Changes are pending, run `gaal sync` to apply. |
| `2` | any | Error during planning or apply. |
## Examples
```bash theme={"theme":"nord"}
# One-shot sync
gaal sync
# Preview, no writes
gaal sync --dry-run
# Continuous loop, every 10 minutes
gaal sync --service --interval 10m
# Clean up orphans
gaal sync --prune
# Pre-stage a fresh machine, install for every registered agent
gaal sync --force
# Sandboxed sync (no risk to real files)
gaal --sandbox /tmp/sb sync
# Sync with structured logs
gaal --log-file /var/log/gaal.json sync --service --interval 5m
```
## Sample output
```text theme={"theme":"nord"}
$ gaal sync
✓ src/example cloned
✓ code-review installed in claude-code, cursor
✓ filesystem upserted in ~/.claude.json
sync complete in 1.2s
```
## Missing tool banner
If any entry in [`tools:`](/schema/tools) is missing from `PATH`, sync prints a single compact banner to stderr before it starts work, then proceeds:
```text theme={"theme":"nord"}
⚠ Required tools missing from PATH:
rtk — cargo install rtk
tree-sitter — (required by skill obra/superpowers)
Run `gaal doctor` for details.
```
Each line shows the `hint` when one is set; otherwise it shows the source that declared the tool. Missing tools never change sync's exit code — run [`gaal doctor`](/cli/doctor) for the full attribution and a non-zero exit code.
## Related
# gaal version
Source: https://docs.getgaal.com/cli/version
Print the gaal version and build time.
```bash theme={"theme":"nord"}
gaal version
```
Prints the gaal binary version and its build timestamp.
## Sample output
```text theme={"theme":"nord"}
$ gaal version
gaal v0.3.0
built 2026-04-18T09:00:00Z
```
When opening a bug report, paste this output along with `gaal doctor -o json`.
## JSON output
```bash theme={"theme":"nord"}
$ gaal version -o json
{
"version": "v0.3.0",
"built": "2026-04-18T09:00:00Z"
}
```
## Related
# Agents & renderers
Source: https://docs.getgaal.com/concepts/agents-and-renderers
How gaal knows where each coding agent's files live.
Each supported agent has its own opinion about where skills go and how MCP config is stored. gaal abstracts those differences behind a small **agent registry** and a per-agent **renderer**.
## The registry
gaal ships with a built-in registry that records, for every supported agent:
* **Project skills directory**, where skills live inside a project (e.g. `.claude/skills`, `.cursor/skills`).
* **Global skills directory**, where skills live in the user's home (e.g. `~/.claude/skills`).
* **MCP config file**, the JSON, TOML, or YAML file gaal upserts into (e.g. `~/.claude.json`).
* **Skills search paths**, additional directories `gaal audit` scans when discovering existing skills.
* **Package-manager search paths**, vendor-specific directories (`~/.cursor/extensions`, `~/.claude/plugins/cache`) where extension-installed skills may live.
You can list what's in the registry at any time:
```bash theme={"theme":"nord"}
$ gaal agents
NAME INSTALLED PROJECT_SKILLS GLOBAL_SKILLS MCP_CONFIG
claude-code yes .claude/skills ~/.claude/skills ~/.claude.json
cursor yes .agents/skills ~/.cursor/skills ~/.cursor/mcp.json
codex yes .agents/skills ~/.codex/skills ~/.codex/config.toml
github-copilot no .github/skills ~/.copilot/skills ~/.vscode/settings.json
…
```
Pass an agent name for a detailed view: `gaal agents cursor`.
## What "installed" means
gaal calls an agent **installed** when at least one of these is true on the host:
* The agent's MCP config file exists.
* The agent's project skills directory exists.
* The agent's global skills directory exists.
* A package-manager path for the agent exists (e.g. `~/.cursor/extensions`).
Agents marked installed are the ones that win when you use the `agents: ["*"]` wildcard in your skills entries.
## Renderers
Once gaal knows *what* to install (the plan from `gaal sync`) and *where* (the registry), the per-agent renderer does the actual write:
* For skills, the renderer copies the source files into the agent's skills directory and adapts file names if the agent expects a different layout.
* For MCP servers, the renderer reads the target JSON, upserts the `mcpServers` entry, and writes the file back atomically.
Renderers are responsible for the *guarantees*, they never clobber, they always write atomically, and they fail loudly when the target is malformed.
## The "generic" agent
Some agents (Cline, Cursor in default mode, Codex, OpenCode, Warp, …) follow vendor-neutral conventions. Rather than maintaining separate redundant entries, gaal has a built-in `generic` agent that owns:
* `./.agents/skills` (project-local)
* `~/.agents/skills` (global)
Agents flagged `supports_generic_project: true` or `supports_generic_global: true` install through the generic renderer. This means a single `.agents/skills/` directory can serve multiple agents at once.
See [Agent integrations](/agents/overview) for which agents use the generic fallback.
## Extending the registry
You can teach gaal about an agent it doesn't know yet by writing your own registry file at:
| OS | Path |
| ------------- | ------------------------------------------------------------------------------ |
| Linux / macOS | `$XDG_CONFIG_HOME/gaal/agents.yaml` (defaults to `~/.config/gaal/agents.yaml`) |
| Windows | `%AppData%\gaal\agents.yaml` |
Custom entries **extend** the built-in list, you can't override a built-in entry. See [Custom agents](/configure/custom-agents) for the schema.
## Related
# The gaal.yaml file
Source: https://docs.getgaal.com/concepts/gaal-yaml
The single declarative file that drives every sync.
`gaal.yaml` is the entire user-facing surface of gaal. Everything else, commands, audit, planning, rendering, exists to read this file and reconcile it against your filesystem.
## File location
gaal looks for the configuration file in this order:
1. The path passed to `--config`, if any.
2. `gaal.yaml` in the current working directory.
3. `~/.config/gaal/config.yaml` (user scope).
4. `/etc/gaal/config.yaml` (system scope).
When multiple are present, the higher-priority file overrides the lower one. See [Scopes](/concepts/scopes) for the merge rules.
## Top-level keys
```yaml gaal.yaml theme={"theme":"nord"}
schema: 1
repositories:
# local-path: { type, url, version }
skills:
# - { source, registry, agents, global, target_subdir, select }
content:
# - { source, agents, global, root, paths }
mcps:
# - { name, agents, global, source | inline }
tools:
# - or { name, hint }
hooks:
# pre-sync: [...]
# post-sync: [...]
telemetry: false # opt-in, user/system scope only
```
| Key | Type | Required | Purpose |
| -------------------------------------- | ------- | ----------- | ------------------------------------------------------------------------------------------ |
| [`schema`](/schema/schema-version) | integer | recommended | Config version, always `1` for the current gaal release. Stable forever. |
| [`repositories`](/schema/repositories) | map | no | VCS-managed sources cloned into your workspace. |
| [`skills`](/schema/skills) | array | no | `SKILL.md` collections to install per agent. |
| [`content`](/schema/content) | array | no | Generic file and directory mappings for agent instructions, rules, commands, and settings. |
| [`mcps`](/schema/mcps) | array | no | MCP server entries upserted into agent config files. |
| [`tools`](/schema/tools) | array | no | CLI tools expected on `PATH`, reported by `gaal doctor`. |
| [`hooks`](/schema/hooks) | object | no | Commands that run before and after `gaal sync`. |
| [`telemetry`](/schema/telemetry) | bool | no | Opt-in anonymous usage telemetry. Off by default. |
Every key is independent. A file with only `skills:` is a valid gaal.yaml and a sync only touches skills.
## A complete example
```yaml gaal.yaml theme={"theme":"nord"}
schema: 1
repositories:
src/gaal:
type: git
url: https://github.com/getgaal/gaal.git
version: main
src/dataset:
type: tar
url: https://example.com/releases/dataset-2024.tar.gz
version: dataset-2024
skills:
- source: anthropics/skills
registry: skills.sh
agents: ["*"]
select: [frontend-design, skill-creator]
global: true
- source: ./company-skills
agents: [claude-code, cursor]
global: false
content:
- source: ./agent-files
agents: [claude-code]
root: workspace
paths:
AGENTS.md: CLAUDE.md
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
- name: github
source: https://example.com/mcp/github.json
agents: [claude-code, github-copilot]
global: true
tools:
- gh
- name: rtk
hint: "cargo install rtk"
hooks:
post-sync:
- command: git
args: ["-C", "~/docs", "pull", "--ff-only"]
```
## Validate before sync
Two ways to check a `gaal.yaml` is well-formed:
```bash theme={"theme":"nord"}
$ gaal doctor
✓ config: gaal.yaml is valid
```
```bash theme={"theme":"nord"}
$ gaal sync --dry-run
plan:
...
```
Both surface schema errors with line numbers.
## IDE auto-completion
`gaal schema` writes the JSON Schema for `gaal.yaml`. Drop it into your editor and you get inline validation and completion as you type:
```bash theme={"theme":"nord"}
gaal schema -f schema.json
```
See [`gaal schema`](/cli/schema) for VS Code and JetBrains setup.
## Related
# MCP servers
Source: https://docs.getgaal.com/concepts/mcp-servers
Upsert MCP server entries into agent configs without clobbering them.
An **MCP server** is a process that speaks the [Model Context Protocol](https://modelcontextprotocol.io). Coding agents that support MCP read a JSON config that lists the servers to launch and how to reach them.
gaal manages those entries declaratively: you describe each server once in `gaal.yaml` and gaal upserts it into the right JSON file for every agent that should see it. The destination path is resolved automatically from the [agent registry](/agents/overview) — you no longer have to spell it out.
## The upsert guarantee
Every agent's MCP config lives inside a larger config file. Claude Code stores MCP servers in `~/.claude.json`; VS Code-family agents use `~/.vscode/settings.json`; Codex uses `~/.codex/config.toml`. You can't safely overwrite the whole file.
gaal reads the target JSON, modifies the `mcpServers` object in place, and writes it back. Other top-level keys are preserved exactly. That's the upsert guarantee: gaal never clobbers a config it didn't author.
## Targeting agents, not paths
Each `mcps[]` entry says **which agents** to install the server in, and **which scope** to use. gaal looks up the destination JSON file in the registry.
```yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [claude-code, cursor, codex] # explicit list
global: true # write to each agent's user-global MCP config
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
`["*"]` is a wildcard that resolves at sync time to every registered agent that has a non-empty MCP config for the requested scope. Agents that don't expose an MCP config are skipped silently.
```yaml theme={"theme":"nord"}
mcps:
- name: git
agents: ["*"]
global: true
inline:
command: uvx
args: [mcp-server-git, --repository, ~/projects/gaal]
```
## Scope: `global` vs project
| `global` | Where the entry is written |
| ----------------- | --------------------------------------------------------------------------------------------------------- |
| `true` | The agent's **user-global** MCP config (`global_mcp_config_file` in the registry, e.g. `~/.claude.json`). |
| `false` (default) | The agent's **project-scoped** MCP config (`project_mcp_config_file`). |
In the current registry every built-in agent stores its MCP entries in a single user-global file. Project-scoped MCP configs are reserved for future agents that adopt them. **Set `global: true` for every entry today** — `global: false` is a no-op for now.
## Two ways to define a server
### Inline
The server spec lives directly in `gaal.yaml`. Stdio servers use `command` + `args` + `env`.
```yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
env:
FOO: bar
```
### Remote source
For configs maintained elsewhere, point at a URL that returns an `mcpServers` document. gaal downloads the JSON and merges the entry whose key matches `name` into each target.
```yaml theme={"theme":"nord"}
mcps:
- name: github
source: https://raw.githubusercontent.com/github/mcp-servers/main/config.json
agents: [claude-code, github-copilot]
global: true
```
`source` and `inline` are mutually exclusive.
## HTTP and SSE servers
The MCP spec defines two remote transports: Streamable HTTP and the older HTTP+SSE. gaal can write native remote entries for agents that support them.
```yaml theme={"theme":"nord"}
mcps:
- name: linear
agents: [claude-code, cursor]
global: true
inline:
type: http
url: https://mcp.linear.app/mcp
headers:
Authorization:
env: LINEAR_API_KEY
- name: sentry
agents: [claude-code]
global: true
inline:
type: sse
url: https://mcp.sentry.dev/sse
```
If an agent does not support native remote MCP entries yet, use a stdio bridge such as [`mcp-remote`](https://www.npmjs.com/package/mcp-remote) under `command` and `args`.
## Behaviour during sync
* The target JSON is updated in place; the named entry is added or refreshed under `mcpServers`.
* Other top-level keys in the target file are preserved.
* Other entries inside `mcpServers` that gaal didn't author are preserved.
* Removing an `mcps[]` entry from `gaal.yaml` does **not** remove it from the target file unless you pass `--prune`.
* If the target's parent directory is missing, the entry is skipped — gaal never creates an agent's config directory as a side effect.
## Behaviour with `--prune`
`gaal sync --prune` removes any `mcpServers` entries from gaal-managed targets that aren't in `gaal.yaml`. It only touches keys gaal could plausibly own; your other settings and other servers stay untouched. See [Pruning](/workflows/pruning) for the exact algorithm.
## Migrating from `target:`
Earlier versions required a `target:` path on every entry. The field is **deprecated** but still honoured for backward compatibility — gaal logs a warning when it sees one. Replace it with `agents:` + `global:` so the registry resolves the path. To install in more than one agent, list them all in the same entry instead of duplicating it.
```yaml theme={"theme":"nord"}
# Before — explicit path, one entry per agent
mcps:
- name: filesystem
target: ~/.claude.json
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
# After — one entry, registry-resolved, fan-out via agents:
mcps:
- name: filesystem
agents: [claude-code, cursor]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Repositories
Source: https://docs.getgaal.com/concepts/repositories
Multi-protocol source clones managed by gaal.
A **repository** in gaal is any external source, Git remote, Mercurial repo, tarball, zip, that you want present at a known path inside your workspace. gaal owns the contents at that path.
## Why repositories live in gaal.yaml
Most coding agents work inside a project, not a single file. Skills and MCP servers often *come from* repositories you'd otherwise clone by hand. By declaring repos in `gaal.yaml` you get:
* **Reproducibility**, the same `gaal sync` produces the same checked-out tree on every machine.
* **Pinning**, every entry can pin to a tag, branch, or commit.
* **Multi-protocol**, Git is the common case, but `tar` and `zip` work for releases that aren't on a forge.
## Supported types
| Type | Backend | Pin via `version:` |
| ----- | -------------------------------------- | ------------------- |
| `git` | pure-Go (no system git required) | branch, tag, commit |
| `hg` | system `hg` binary | revision |
| `svn` | system `svn` binary | revision number |
| `bzr` | system `bzr` binary | revision |
| `tar` | downloaded archive, extracted in place | strip-prefix string |
| `zip` | downloaded archive, extracted in place | strip-prefix string |
## Shape
```yaml theme={"theme":"nord"}
repositories:
:
type: git | hg | svn | bzr | tar | zip
url:
version: # optional
```
The map key is the **destination path**, relative to the workspace root (or absolute if you really mean it).
## Examples
```yaml gaal.yaml theme={"theme":"nord"}
repositories:
src/gaal: # git, branch
type: git
url: https://github.com/getgaal/gaal.git
version: main
src/tools/my-python-lib: # git, tag pin
type: git
url: https://github.com/example/my-python-lib.git
version: v2.1.0
src/legacy/old-tool: # svn revision
type: svn
url: https://svn.example.com/repos/old-tool/trunk
version: "1234"
src/data/dataset: # release tarball
type: tar
url: https://example.com/releases/dataset-2024.tar.gz
version: dataset-2024 # strip this prefix on extract
```
## Behaviour during sync
* **First sync**, the repo is cloned (or extracted) into the configured path.
* **Subsequent syncs**, `git fetch` + checkout for VCS types; re-download + re-extract for archive types when the URL or version changes.
* **`--dry-run`** prints `+ clone`, `~ update`, or `= unchanged` for every entry.
* **`--prune`** does *not* delete repository directories. Removing a repo from `gaal.yaml` simply leaves it on disk; remove it manually if you don't want it.
gaal owns the contents of each repository directory it manages. Local edits inside a managed path are at risk of being overwritten on the next sync. Treat managed paths as read-only checkouts.
## Authentication
Authentication is delegated to the underlying VCS:
* **HTTPS Git**, credentials come from your `~/.netrc` or your Git credential helper.
* **SSH Git**, your SSH agent and `~/.ssh/config` are used as-is.
* **Hg/SVN/Bzr**, same as if you ran `hg clone`, `svn checkout`, or `bzr branch` yourself.
* **tar/zip**, gaal sends a plain `GET`. Use a pre-signed URL or a `~/.netrc` entry for the host.
gaal never stores credentials.
## Related
# Scopes
Source: https://docs.getgaal.com/concepts/scopes
Global, user, and workspace configuration, and how they merge.
gaal reads configuration from up to three files. They merge in a strict order so a workspace `gaal.yaml` checked into source control can never escalate machine-wide settings.
## The three scopes
| Priority | Scope | File |
| ----------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| 1 (lowest) | System | `/etc/gaal/config.yaml` |
| 2 | User | `$XDG_CONFIG_HOME/gaal/config.yaml` (defaults to `~/.config/gaal/config.yaml` on Linux/macOS, `%AppData%\gaal\config.yaml` on Windows) |
| 3 (highest) | Workspace | `gaal.yaml` in the current working directory, or whatever `--config` points at |
Higher-priority files override lower ones field by field.
## What overrides what
Most fields are merged with workspace winning over user winning over system:
* `repositories`, workspace entries replace user entries with the same map key.
* `skills`, the workspace list replaces the user list (no per-entry merging, pick one scope or the other).
* `mcps`, same as skills: workspace list replaces user list.
The exception is `telemetry`, which is **scope-restricted**.
## Scope-restricted fields
`telemetry` can be set in the user or system file but **not** in a workspace file. If a workspace `gaal.yaml` sets `telemetry:`, gaal ignores the value and prints a warning.
This rule exists so that committing a `gaal.yaml` to a public repo can never opt anyone in to telemetry. Telemetry is a per-user choice, made explicitly on first run.
## Where you'd put what
| Setting | Best scope | Why |
| ------------------------------------------------------------- | ---------- | ---------------------------------------------------------- |
| Personal helper skills installed everywhere | User | Survives across projects without committing a global file. |
| Project-specific skills (codebase reviewer, custom MCP) | Workspace | Lives with the repo so contributors get the same tools. |
| MCP servers shared across all your projects (filesystem, git) | User | Defined once, not per-project. |
| Telemetry opt-in | User | The only place the value is honoured. |
## Inspecting the merged config
`gaal status` reports the resolved configuration as gaal sees it after merging. `gaal doctor` reports the source file for each entry.
```bash theme={"theme":"nord"}
$ gaal doctor
config sources:
workspace ./gaal.yaml
user /home/you/.config/gaal/config.yaml
system (none)
```
## Overriding the lookup
Force a specific file with `--config`:
```bash theme={"theme":"nord"}
gaal --config /path/to/custom.yaml sync
```
When `--config` is set, the user and system files are still merged underneath unless the file you passed sets the same fields.
## Related
# Skills
Source: https://docs.getgaal.com/concepts/skills
SKILL.md collections, distributed by gaal to every agent that wants them.
A **skill** is a reusable capability defined in a `SKILL.md` file (and any supporting files in the same directory). Coding agents pick up skills from a known directory on disk, `.claude/skills`, `.cursor/skills`, `.github/skills`, and so on.
gaal's job is to take a single skill source and install it into the right directory for every agent you target.
## Why skills are interesting
Each agent has its own skill convention, but the *content* is portable. A `code-review` skill written for Claude Code works in Cursor, Codex, and Copilot with no changes. Without gaal you copy the directory three times. With gaal you write one entry and let the renderers fan it out.
## Sources
A skill source can be any of:
| Source format | Example |
| ---------------- | -------------------------------------- |
| GitHub shorthand | `anthropics/skills` |
| Full HTTPS URL | `https://github.com/anthropics/skills` |
| Git SSH URL | `git@github.com:anthropics/skills.git` |
| Local path | `./company-skills` or `~/my-skills` |
A source can contain one or many skills. Each top-level directory inside the source that contains a `SKILL.md` is one skill.
## Registry search and install
You can write `skills:` entries by hand, or use the registry commands to discover and add them:
```bash theme={"theme":"nord"}
gaal skill search frontend
gaal skill install frontend-design
```
The default registry is `skills.sh`. Search is config-optional, so you can run it before creating a `gaal.yaml`.
For the `skills.sh` registry, gaal discovers matches through the official CLI surface, `npx skills find `. Make sure `npx` is available on `PATH`. No `VERCEL_OIDC_TOKEN` or skills.sh API auth is required for gaal's v1 registry workflow.
Install resolves a registry reference, writes or updates the selected config file, and runs `gaal sync` by default. It defaults to global installation and writes `agents: ["*"]` explicitly:
```yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
registry: skills.sh
select:
- frontend-design
agents: ["*"]
global: true
```
`registry:` records where the entry came from. Sync still uses `source:` to fetch the skills. gaal does not run `npx skills add`; it uses registry discovery to write normal `skills:` config, then syncs that config.
## Targeting agents
Every skill entry says which agents to install it for:
```yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: ["*"] # every detected agent
- source: vercel-labs/agent-skills
agents: [claude-code, cursor] # explicit list
```
`["*"]` is a wildcard that resolves at sync time to **the agents currently installed on this machine**. Agents that aren't installed are skipped. Use `gaal sync --force` to install into every registered agent regardless of whether the agent is detected.
## Project vs global
Each entry chooses one of two install layouts:
```yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: ["*"]
global: false # default, installs into .//skills
- source: my-utils
agents: [claude-code]
global: true # installs into ~/./skills
```
| `global` | Where skills are installed |
| ----------------- | ---------------------------------------------------------------------- |
| `false` (default) | Per-project: `./.claude/skills/`, `./.cursor/skills/`, … |
| `true` | Per-user: `~/.claude/skills/`, `~/.cursor/skills/`, … |
Use **project** for skills tied to one repo (CI helpers, codebase-specific reviewers). Use **global** for skills you want available everywhere (your personal git-helper, formatting preferences).
Manual `skills:` entries default to `global: false` when the field is omitted. `gaal skill install` defaults to global installation and writes `global: true`.
## Selecting a subset
By default every skill in the source is installed. Use `select:` to install only specific ones:
```yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents: [claude-code, github-copilot]
select:
- frontend-design
- skill-creator
```
The names must match the skill's directory name in the source.
## What gets written where
For every (source × agent) pair, gaal writes the selected skills under the agent's skills directory using the agent's native layout. For example, with this entry:
```yaml theme={"theme":"nord"}
- source: anthropics/skills
agents: [claude-code, cursor]
select: [frontend-design]
global: false
```
gaal writes:
```
./.claude/skills/frontend-design/SKILL.md
./.claude/skills/frontend-design/...
./.cursor/skills/frontend-design/SKILL.md
./.cursor/skills/frontend-design/...
```
See [Agent integrations](/agents/overview) for the exact path used by each agent.
## Behaviour during sync
* Skills already at the right version are reported `= unchanged`.
* New skills are added.
* Skills that are *no longer in the config* are left alone unless you pass `--prune`.
* Sources are fetched once per sync and reused across all agents that target them.
## Related
# Telemetry
Source: https://docs.getgaal.com/concepts/telemetry
Anonymous usage telemetry, opt-in, off by default.
gaal collects **no telemetry by default**. On first run it asks once whether you want to send anonymous usage events. Your answer is written to your user-scope config file and respected on every subsequent invocation.
## What's collected when telemetry is on
When telemetry is enabled, gaal sends a small event for each command invocation containing:
* The command name (`sync`, `status`, `doctor`, …).
* The exit code class (`ok`, `warning`, `error`).
* The gaal version.
* The OS family (`linux`, `darwin`, `windows`).
* A randomly-generated, locally-stored install ID.
That's it. No file paths, no skill names, no MCP targets, no URLs from your `gaal.yaml`, no environment variables, no command-line flags.
When telemetry is off (the default), gaal makes zero outbound network calls except those required to fetch sources you explicitly listed in `gaal.yaml`.
## Opting in or out
Set the value in your user config file:
```yaml theme={"theme":"nord"}
# ~/.config/gaal/config.yaml
telemetry: true
```
```yaml theme={"theme":"nord"}
# ~/.config/gaal/config.yaml
telemetry: false
```
Or answer the prompt on first run.
## Where the setting may live
`telemetry` is **scope-restricted**: only the user (`~/.config/gaal/config.yaml`) and system (`/etc/gaal/config.yaml`) files may set it. A workspace `gaal.yaml` that sets `telemetry:` is ignored with a warning.
This restriction exists so a `gaal.yaml` committed to a public repo can never enrol contributors in telemetry without their consent.
## Verifying the current state
```bash theme={"theme":"nord"}
$ gaal doctor
…
✓ telemetry: disabled
```
`gaal doctor` always prints the resolved telemetry setting and the source file it came from.
## Privacy policy
Full details, including the receiving endpoint, retention policy, and how to request deletion of your install ID's events, are in [PRIVACY\_POLICY.md](https://github.com/getgaal/gaal/blob/main/PRIVACY_POLICY.md).
## Related
# Configure content
Source: https://docs.getgaal.com/configure/content
Cookbook for the content: block of gaal.yaml.
`content:` copies ordinary files and directories from a source into agent or workspace locations. Use it for files that agents read directly, such as `AGENTS.md`, `CLAUDE.md`, command directories, rules, hooks, and settings.
## Copy one instruction file
```yaml theme={"theme":"nord"}
content:
- source: my-org/agent-guidance
agents: [claude-code]
root: workspace
paths:
AGENTS.md: CLAUDE.md
```
This copies `AGENTS.md` from the source into `CLAUDE.md` in the current workspace.
## Fan out to multiple agents
```yaml theme={"theme":"nord"}
content:
- source: my-org/agent-guidance
targets:
- agents: [claude-code]
scope: project
root: workspace
paths:
AGENTS.md: CLAUDE.md
- agents: [codex]
scope: project
root: workspace
paths:
AGENTS.md: AGENTS.md
```
Use `targets:` when each agent needs a different destination path.
## Copy global agent content
```yaml theme={"theme":"nord"}
content:
- source: ./dotclaude
agents: [claude-code]
global: true
root: agent
paths:
commands/: commands/
settings.json: settings.json
```
With `root: agent`, destinations resolve relative to the agent's config root. For Claude Code global content, that means paths under `~/.claude/`.
## Use a local source
```yaml theme={"theme":"nord"}
content:
- source: ./agent-files
agents: ["*"]
root: workspace
paths:
rules/: .agents/rules/
```
Relative sources resolve from the directory containing the active config file.
## Safety rules
* Source and destination paths must be relative.
* Paths containing `..` are rejected.
* Symlinks are skipped.
* VCS metadata directories are skipped.
* Directory writes are staged before replacing the destination.
## Related
# Custom agents
Source: https://docs.getgaal.com/configure/custom-agents
Teach gaal about an agent it doesn't ship with yet.
If you use a coding agent that isn't in the [built-in registry](/agents/overview), you can extend the registry with a custom entry. gaal will then treat it like any first-class agent, `agents: ["*"]` will install into it, `gaal agents` will list it, `gaal audit` will scan its skill directories.
## Where to put the file
| OS | Path |
| ------- | ------------------------------------------------------------------------------ |
| Linux | `$XDG_CONFIG_HOME/gaal/agents.yaml` (defaults to `~/.config/gaal/agents.yaml`) |
| macOS | `$XDG_CONFIG_HOME/gaal/agents.yaml` (defaults to `~/.config/gaal/agents.yaml`) |
| Windows | `%AppData%\gaal\agents.yaml` |
Custom entries **extend** the built-in list. They cannot override built-in entries, if you and gaal both define `cursor`, the built-in wins.
## Minimal entry
```yaml theme={"theme":"nord"}
agents:
my-agent:
project_skills_dir: .my-agent/skills
global_skills_dir: ~/.my-agent/skills
project_mcp_config_file: ~/.my-agent/mcp.json
```
That's enough to make `agents: [my-agent]` work in `gaal.yaml`.
## Full entry
```yaml theme={"theme":"nord"}
agents:
my-agent:
project_skills_dir: .my-agent/skills # relative path, no ".."
global_skills_dir: ~/.my-agent/skills # must start with ~/
project_mcp_config_file: ~/.my-agent/mcp.json # empty string if unsupported
# Audit-only fields. gaal audit scans these for existing skills.
project_skills_search:
- .my-agent/skills
- .agents/skills
global_skills_search:
- ~/.my-agent/skills
- ~/.agents/skills
pm_skills_search:
- ~/.my-agent/extensions
```
## Field reference
| Field | Required | Description |
| -------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `project_skills_dir` | yes | Skills directory relative to the project root. Must be relative; no `..`. Empty string when the agent uses generic conventions. |
| `global_skills_dir` | yes | Skills directory under the user's home. Must start with `~/`. Empty string when the agent uses generic conventions. |
| `project_mcp_config_file` | yes | Path to the agent's MCP server config file. Use `~/`-prefix. Empty string if the agent doesn't support MCP. |
| `project_skills_search` | no | Project-relative directories `gaal audit` scans (one level deep). Defaults to `[project_skills_dir]`. |
| `global_skills_search` | no | Home-relative directories `gaal audit` scans (one level deep). Defaults to `[global_skills_dir]`. |
| `pm_skills_search` | no | Home-relative directories belonging to the agent's package manager. Scanned recursively. |
| `supports_generic_project` | no | When `true`, the agent installs project skills via the shared `.agents/skills` directory. |
| `supports_generic_global` | no | When `true`, the agent installs global skills via the shared `~/.agents/skills` directory. |
## Verifying the entry
After saving the file, list agents:
```bash theme={"theme":"nord"}
$ gaal agents
NAME INSTALLED PROJECT_SKILLS GLOBAL_SKILLS MCP_CONFIG
…
my-agent no .my-agent/skills ~/.my-agent/skills ~/.my-agent/mcp.json
```
`gaal agents my-agent` shows the detailed view. `gaal audit` will pick up any existing skill directories matching the entry.
## Asking for built-in support
If the agent is publicly available and you'd like it added to the built-in registry, open an issue or PR at [github.com/getgaal/gaal](https://github.com/getgaal/gaal), the registry file lives at `internal/core/agent/agents.yaml`.
## Related
# Environment & secrets
Source: https://docs.getgaal.com/configure/environment-and-secrets
How to handle tokens, paths, and per-machine values without checking them in.
`gaal.yaml` is meant to live in source control. Anything sensitive needs to stay out of it. This page covers the patterns that work cleanly with gaal's design.
## gaal does not expand variables
This is the most important rule. gaal writes `gaal.yaml` values into target files **literally**, no `${VAR}` substitution, no `$HOME` expansion (other than the special `~/` prefix on file paths). If you write:
```yaml theme={"theme":"nord"}
mcps:
- name: github
agents: [claude-code]
global: true
inline:
command: npx
args: ["-y", "@modelcontextprotocol/server-github"]
env:
GITHUB_PERSONAL_ACCESS_TOKEN: ${GITHUB_TOKEN}
```
…then the literal string `${GITHUB_TOKEN}` lands in the agent's MCP config. The **agent process** that launches the MCP server is responsible for resolving `${GITHUB_TOKEN}` from the environment.
For Claude Desktop, Cursor, Codex, and most agents, this means the variable is read from the environment of the agent process when it spawns the server. Set the variable in the way that environment expects, your shell profile, a `launchctl` plist, a systemd unit file, etc.
## Where to put the secret
The right place is **outside `gaal.yaml`** in a file that already isn't in source control.
### Shell profile
```bash theme={"theme":"nord"}
# ~/.config/fish/conf.d/secrets.fish
set -gx GITHUB_TOKEN ghp_xxx...
```
```bash theme={"theme":"nord"}
# ~/.zshrc
export GITHUB_TOKEN=ghp_xxx...
```
The agent inherits these when it launches the MCP server.
### A secret manager
If you use 1Password, Bitwarden, `pass`, or similar, source the value into your shell profile from there. gaal doesn't need to know.
### Per-host overrides via the user-scope config
For host-specific *non-secret* values (paths, project roots), use the user-scope file:
```yaml theme={"theme":"nord"}
# ~/.config/gaal/config.yaml
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, /Users/me/work]
```
The workspace `gaal.yaml` can then declare cross-machine defaults; the user file overrides on this specific host. See [Scopes](/concepts/scopes) for merge rules.
## Path expansion
gaal **does** expand the `~/` prefix on the registry-resolved MCP target paths to the user's home directory. Everywhere else in the file (including inside `args:`), paths are written through verbatim. If your MCP server expects `$HOME` expansion in its arguments, that's the agent's job, not gaal's.
## What never to put in gaal.yaml
* API tokens, passwords, OAuth client secrets.
* Private SSH keys.
* AWS / GCP / Azure credentials.
* Any value that would compromise something if a teammate read it.
## Related
# Configure MCP servers
Source: https://docs.getgaal.com/configure/mcp-servers
Cookbook for the mcps: block of gaal.yaml.
This page is a working reference for the `mcps:` block. For the conceptual model, see [Concepts → MCP servers](/concepts/mcp-servers).
Every recipe below uses the registry-resolved form: list the target agents and the scope, and let gaal find the right JSON file. The legacy `target:` field is deprecated — see the [migration recipe](#migrating-from-target) at the bottom.
## Filesystem server (inline stdio)
```yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args:
- mcp-server-filesystem
- ~/projects
```
Becomes (in `~/.claude.json`):
```json theme={"theme":"nord"}
{
"mcpServers": {
"filesystem": {
"command": "uvx",
"args": ["mcp-server-filesystem", "~/projects"]
}
}
}
```
## Server with environment variables
```yaml theme={"theme":"nord"}
mcps:
- name: github
agents: [claude-code]
global: true
inline:
command: npx
args: ["-y", "@modelcontextprotocol/server-github"]
env:
GITHUB_PERSONAL_ACCESS_TOKEN: ${GITHUB_TOKEN}
```
`${GITHUB_TOKEN}` is **not** expanded by gaal — the literal string `${GITHUB_TOKEN}` is written into the JSON. The agent process resolves environment variables when it launches the server. See [Environment & secrets](/configure/environment-and-secrets).
## Install one server in many agents
List the agents in a single entry. gaal fans the entry out to each one's MCP config file.
```yaml theme={"theme":"nord"}
mcps:
- name: filesystem
agents: [claude-code, cursor, codex, windsurf]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
Or use the wildcard to install in every agent registered on this machine that exposes a global MCP config:
```yaml theme={"theme":"nord"}
mcps:
- name: git
agents: ["*"]
global: true
inline:
command: uvx
args: [mcp-server-git, --repository, ~/projects/gaal]
```
## Native HTTP server
For agents that accept remote MCP entries, write the endpoint directly:
```yaml theme={"theme":"nord"}
mcps:
- name: linear
agents: [claude-code, cursor]
global: true
inline:
type: http
url: https://mcp.linear.app/mcp
```
## HTTP server with headers
```yaml theme={"theme":"nord"}
mcps:
- name: memory
agents: [claude-code, codex]
global: true
inline:
type: http
url: https://memory.example.com/mcp
headers:
X-Team: platform
Authorization:
env: MEMORY_TOKEN
```
Scalar headers are written as static values. Use `env:` for secrets; gaal writes the environment variable name for target formats that support env-backed headers.
## SSE (HTTP+SSE) server
For servers still on the older HTTP+SSE transport:
```yaml theme={"theme":"nord"}
mcps:
- name: sentry
agents: [claude-code]
global: true
inline:
type: sse
url: https://mcp.sentry.dev/sse
```
If your target agent does not support native remote MCP servers yet, keep using a stdio bridge such as `mcp-remote` under `command` and `args`.
## Pull config from a remote URL
When the upstream maintainer publishes the canonical JSON, point at it instead of duplicating the spec.
```yaml theme={"theme":"nord"}
mcps:
- name: github
source: https://raw.githubusercontent.com/github/mcp-servers/main/config.json
agents: [claude-code, github-copilot]
global: true
```
The remote file must contain an `mcpServers` object. gaal downloads it and merges the matching entry into each target.
`source:` and `inline:` are mutually exclusive.
## VS Code (Copilot, Cline, Roo)
VS Code-family agents share `~/.vscode/settings.json` as their MCP config. Just list them like any other agent — gaal resolves all three to the same file and writes once.
```yaml theme={"theme":"nord"}
mcps:
- name: sequential-thinking
agents: [github-copilot]
global: true
inline:
command: npx
args:
- -y
- "@modelcontextprotocol/server-sequential-thinking"
```
gaal upserts under the `mcpServers` key while leaving every other VS Code setting in place.
## Common targets
The destination file is resolved from the agent registry. For reference:
| Agent | Resolved target (`global: true`) |
| ----------------------------- | ----------------------------------------------------------------- |
| Claude Code | `~/.claude.json` |
| Claude Desktop | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| Cursor | `~/.cursor/mcp.json` |
| Codex | `~/.codex/config.toml` |
| Windsurf | `~/.codeium/windsurf/mcp_settings.json` |
| Continue | `~/.continue/config.json` |
| VS Code (Copilot, Cline, Roo) | `~/.vscode/settings.json` |
| Goose | `~/.config/goose/config.yaml` |
| Gemini CLI | `~/.gemini/settings.json` |
| Warp | `~/.warp/launch_configurations/mcp.json` |
See [Agent integrations](/agents/overview) for the full list.
## Removing an entry
Removing an `mcps[]` entry from `gaal.yaml` does **not** remove it from the target file unless you pass `--prune`. Without `--prune`, gaal stops managing it but leaves the JSON intact.
## Migrating from `target:`
Earlier versions required an explicit `target:` path on every entry. That field still works but logs a deprecation warning. Replace each entry with `agents:` + `global:`:
```yaml theme={"theme":"nord"}
# Before
mcps:
- name: filesystem
target: ~/.claude.json
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
# After
mcps:
- name: filesystem
agents: [claude-code]
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
## Related
# Configure repositories
Source: https://docs.getgaal.com/configure/repositories
Cookbook for the repositories: block of gaal.yaml.
This page is a working reference: every common shape you'd actually write under `repositories:`. For the conceptual model, see [Concepts → Repositories](/concepts/repositories).
## Minimal git clone
```yaml theme={"theme":"nord"}
repositories:
src/gaal:
type: git
url: https://github.com/getgaal/gaal.git
version: main
```
## Pin to a tag
```yaml theme={"theme":"nord"}
repositories:
src/tools/my-lib:
type: git
url: https://github.com/example/my-lib.git
version: v2.1.0
```
## Pin to a commit
```yaml theme={"theme":"nord"}
repositories:
src/research/llm-paper:
type: git
url: https://github.com/example/llm-paper.git
version: a1b2c3d4e5f6789
```
## SSH origin
```yaml theme={"theme":"nord"}
repositories:
src/private/work:
type: git
url: git@github.com:acme/private-work.git
version: main
```
Authentication uses your local SSH agent.
## Mercurial / Subversion / Bazaar
```yaml theme={"theme":"nord"}
repositories:
src/legacy/svn-tool:
type: svn
url: https://svn.example.com/repos/legacy/trunk
version: "1234" # SVN revision
src/old/hg-tool:
type: hg
url: https://hg.example.com/old-tool
version: default
src/old/bzr-tool:
type: bzr
url: lp:my-project
version: "42"
```
These types require the matching system binary (`svn`, `hg`, `bzr`) on `$PATH`. Git uses a pure-Go backend with no system dependency.
## Tarball release
```yaml theme={"theme":"nord"}
repositories:
src/data/dataset:
type: tar
url: https://example.com/releases/dataset-2024.tar.gz
version: dataset-2024 # strip-prefix during extraction
```
`version:` for `tar` and `zip` is a **strip-prefix** string, gaal removes that leading directory during extraction so the contents land cleanly under `src/data/dataset/`.
## Zip archive
```yaml theme={"theme":"nord"}
repositories:
vendor/sdk:
type: zip
url: https://example.com/sdk-v3.zip
version: sdk-v3
```
## Multiple repos at once
```yaml theme={"theme":"nord"}
repositories:
src/gaal:
type: git
url: https://github.com/getgaal/gaal.git
version: main
src/anthropics-skills:
type: git
url: https://github.com/anthropics/skills.git
version: main
vendor/mcp-servers:
type: git
url: https://github.com/modelcontextprotocol/servers.git
version: main
```
## Behaviour at sync time
* A first sync clones (or extracts) each entry into its destination path.
* A subsequent sync fast-forwards or re-extracts based on `version:` and the remote state.
* If the destination already exists and is not empty, gaal refuses to clone into it.
* For existing Git checkouts, the working copy's `origin` is authoritative. If `gaal.yaml` and `origin` disagree, sync stops with a remote URL mismatch error.
* `--dry-run` reports `+ clone`, `~ update`, or `= unchanged` per entry.
* Removing a repository entry from `gaal.yaml` does **not** delete its directory, `--prune` ignores repositories.
gaal owns the contents of each repository directory. Don't make local edits inside a managed path, they'll be lost on the next update. Use a separate working clone for development.
## Related
# Configure skills
Source: https://docs.getgaal.com/configure/skills
Cookbook for the skills: block of gaal.yaml.
This page is a working reference for the `skills:` block. For the conceptual model, see [Concepts → Skills](/concepts/skills).
## Add a skill from the registry
Use `gaal skill search` to discover registry skills, then `gaal skill install` to add one to your config:
```bash theme={"theme":"nord"}
gaal skill search frontend
gaal skill install frontend-design
```
By default, install uses the `skills.sh` registry, writes to the selected config file, installs globally, targets every detected agent with `agents: ["*"]`, and runs `gaal sync`.
For the `skills.sh` registry, gaal uses the official CLI surface through `npx skills find` for discovery and lookup. Make sure `npx` is available on `PATH`. No `VERCEL_OIDC_TOKEN` or skills.sh API auth is required.
```yaml theme={"theme":"nord"}
schema: 1
repositories: {}
skills:
- source: anthropics/skills
registry: skills.sh
select:
- frontend-design
agents: ["*"]
global: true
mcps: []
```
Use `--project` for a project-local entry, `--agents claude-code,codex` to target specific agents, or `--no-sync` to update YAML without syncing.
gaal does not run `npx skills add` for the final installation. It writes normal `skills:` config and then syncs it, so `gaal.yaml` remains the source of truth.
Accepted refs include:
```text theme={"theme":"nord"}
frontend-design
skills.sh/frontend-design
anthropics/skills:frontend-design
skills.sh/anthropics/skills:frontend-design
```
In non-interactive shells, pass `--yes` before install mutates the config. If a loose ref is ambiguous, gaal prints the choices and exits non-zero; `--yes` does not auto-pick.
## Install everything from a GitHub repo to every detected agent
```yaml theme={"theme":"nord"}
skills:
- source: vercel-labs/agent-skills
agents: ["*"]
```
Defaults: `global: false` (project-local), every skill in the source.
## Install specific skills, in specific agents
```yaml theme={"theme":"nord"}
skills:
- source: anthropics/skills
agents:
- claude-code
- github-copilot
select:
- frontend-design
- skill-creator
```
`select:` matches the skill directory name in the source repo.
## Install globally (across every project on this machine)
```yaml theme={"theme":"nord"}
skills:
- source: my-utils
agents: [claude-code]
global: true
```
Files land under `~/.claude/skills/` and are visible to Claude Code in every project.
## Mix project and global
```yaml theme={"theme":"nord"}
skills:
# global utilities, available in every project
- source: my-utils
agents: [claude-code, cursor]
global: true
# codebase-specific reviewer, only for this project
- source: ./skills/reviewer
agents: ["*"]
global: false
```
## Source from a local directory
```yaml theme={"theme":"nord"}
skills:
- source: ./company-skills
agents: [claude-code, cursor]
global: false
```
Relative paths resolve against the directory of the `gaal.yaml` file. `~/`-prefixed paths resolve against the user's home directory.
## Source from a full URL
```yaml theme={"theme":"nord"}
skills:
- source: https://github.com/microsoft/github-copilot-for-azure
agents: [github-copilot]
global: true
```
## Source from SSH
```yaml theme={"theme":"nord"}
skills:
- source: git@github.com:acme/private-skills.git
agents: ["*"]
```
Authentication uses your local SSH agent.
## Install into a subdirectory
Use `target_subdir:` when you want selected skills placed under a folder inside the resolved agent skills directory.
```yaml theme={"theme":"nord"}
skills:
- source: ./company-skills
agents: [codex]
target_subdir: team
```
The subdirectory must be relative and cannot contain `..`.
## Force install into every registered agent
By default, the `["*"]` wildcard expands only to agents detected on this machine. If you want gaal to populate skill directories for agents that aren't installed yet (for example, to pre-stage a fresh machine), use `--force`:
```bash theme={"theme":"nord"}
gaal sync --force
```
This applies only to entries with `agents: ["*"]`. Explicit agent lists are honoured as-is.
## Behaviour at sync time
* Skills already at the right version are reported `= unchanged`.
* New skills are added.
* Skills no longer in the config are left in place unless you pass `--prune`.
* Each skill source is fetched once per sync and reused across all agents that target it.
* For registry-installed entries, `registry:` is provenance only. Sync continues to fetch the `source:`.
## Related
# How gaal works
Source: https://docs.getgaal.com/how-gaal-works
The mental model: one YAML, many renderers, native agent files on disk.
gaal is a small, opinionated state engine. Once you understand the four moving parts you understand the whole product.
## The four moving parts
Every gaal command runs the same four-stage pipeline.
1. **gaal.yaml, the source of truth.** You write it (or generate it with `gaal init`) and commit it to your dotfiles. Everything downstream reads from this file.
2. **Audit, read the filesystem.** gaal scans the local filesystem to discover what's already there: every installed agent, every skill on disk, every MCP entry in every agent's JSON config. Audit writes nothing.
3. **Plan, diff desired vs actual.** gaal compares the desired state from `gaal.yaml` against the actual state from the audit and computes the work to do. `gaal sync --dry-run` stops at this stage and prints the plan.
4. **Sync, apply through renderers.** The plan executes through per-agent **renderers**, small adapters that know each agent's native file layout and config format. They write to `.claude/skills/*`, `.cursor/mcp.json`, `~/.codex/skills/*`, and so on.
## The agent registry
gaal ships with a built-in registry of every supported agent: where its skills live, where its MCP config file is, and how its package manager stores extensions. The registry is what makes `agents: ["*"]` work, when you say "install this skill in every detected agent," gaal walks the registry, checks which agents are actually installed, and installs only into those.
You can extend the registry with your own entries. See [Custom agents](/configure/custom-agents).
## Resource types and guarantees
Every entry in `gaal.yaml` falls into a small set of resource types, and each type has a clear boundary:
| Resource | Guarantee |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Repositories** | gaal owns the entire directory at the configured path. Sync clones or updates it; nothing else is written there. |
| **Skills** | gaal owns the named skill directories it installs. Skills it didn't install are left alone unless you pass `--prune`. |
| **Content** | gaal copies only the configured path mappings. Unsafe relative paths, symlinks, and VCS metadata are skipped. |
| **MCP servers** | gaal **upserts** entries inside the target JSON file. Other keys in that file (your editor settings, other servers you added by hand) are never touched. |
| **Hooks** | gaal runs only the commands you declare, in order, around a one-shot or service sync. |
The MCP guarantee is the one that matters most: gaal will not clobber your agent config. It reads, modifies the MCP section in place, and writes back.
## Scopes
Every config file lives at one of three scopes, and they merge in a strict order:
| Priority | File |
| ----------- | ---------------------------------------------------------------------- |
| 1 (lowest) | `/etc/gaal/config.yaml` (system-wide) |
| 2 | `~/.config/gaal/config.yaml` (user) |
| 3 (highest) | `gaal.yaml` in the current directory, or whatever `--config` points at |
A workspace `gaal.yaml` overrides the user file overrides the system file. Some keys (like `telemetry`) are restricted to the user/system scope so a checked-in workspace file can't change them. See [Scopes](/concepts/scopes) for the full rules.
## What gaal *doesn't* do
* It doesn't run your agents. gaal just makes sure each agent has the right files in the right place.
* It doesn't proxy or intercept LLM calls. The runtime path is between your agent and its model provider.
* It doesn't push state anywhere. gaal today is local-only, your `gaal.yaml` and the files it touches stay on your machine. (If you want shared state across a team, that's what Community Edition will be for.)
## Next
Top-level keys, in detail.
The registry, search paths, and how rendering is dispatched.
Global, user, and workspace files, and how they merge.
Apply the model in a 5-minute walkthrough.
# Install
Source: https://docs.getgaal.com/install
Install gaal on macOS, Linux, or Windows.
gaal ships as a single static binary. Pick the install method that matches your environment.
## Quick install (macOS / Linux)
```bash theme={"theme":"nord"}
curl -fsSL https://raw.githubusercontent.com/getgaal/gaal/main/scripts/install.sh | sh
```
Installs the latest release to `~/.local/bin/gaal`. Make sure `~/.local/bin` is on your `$PATH`.
### Pin a version
```bash theme={"theme":"nord"}
curl -fsSL https://raw.githubusercontent.com/getgaal/gaal/main/scripts/install.sh | VERSION=v0.3.0 sh
```
### Install elsewhere
```bash theme={"theme":"nord"}
curl -fsSL https://raw.githubusercontent.com/getgaal/gaal/main/scripts/install.sh | INSTALL_DIR=/usr/local/bin sh
```
### Verbose output
```bash theme={"theme":"nord"}
GAAL_INSTALL_DEBUG=1 curl -fsSL https://raw.githubusercontent.com/getgaal/gaal/main/scripts/install.sh | sh
```
### Help
```bash theme={"theme":"nord"}
curl -fsSL https://raw.githubusercontent.com/getgaal/gaal/main/scripts/install.sh | sh -s -- --help
```
## With Go
If you have a Go 1.26+ toolchain installed:
```bash theme={"theme":"nord"}
go install github.com/getgaal/gaal@latest
```
The binary lands in `$GOBIN` (or `$GOPATH/bin` if `GOBIN` is unset).
## From source
Requires Go 1.26+ and `make`.
```bash theme={"theme":"nord"}
git clone https://github.com/getgaal/gaal.git
cd gaal
make build
```
The binary is written to `dist/gaal`. Move it to your `$PATH`:
```bash theme={"theme":"nord"}
sudo cp dist/gaal /usr/local/bin/gaal
# or, user-local:
cp dist/gaal ~/.local/bin/gaal
```
## Verify the install
```bash theme={"theme":"nord"}
$ gaal version
gaal v0.3.0
built 2026-04-18T09:00:00Z
```
If the command isn't found, `~/.local/bin` is probably not on your `$PATH`. Add this to your shell profile:
```bash bash / zsh theme={"theme":"nord"}
export PATH="$HOME/.local/bin:$PATH"
```
```fish fish theme={"theme":"nord"}
fish_add_path ~/.local/bin
```
## Shell completion
gaal ships completion scripts for bash, zsh, fish, and PowerShell. See the [`gaal completion`](/cli/completion) reference.
## Next
Run your first sync in five minutes.
Understand the model before you write YAML.
# Introduction
Source: https://docs.getgaal.com/introduction
One YAML file. Every coding agent on your machine in sync.
**gaal** is a single CLI that keeps your local repositories, AI agent skills, and MCP server configurations in sync from one declarative `gaal.yaml` file.
If you use Claude Code at work, Cursor at home, and try Codex on the side, your skills and MCP servers usually live in three places, `.claude/`, `.cursor/`, `~/.codex/`, drifting out of sync the moment you set up a new machine. gaal fixes that. You write one file, run `gaal sync`, and every installed agent gets the same tools.
## What gaal manages
| Resource | What it does |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Repositories** | Clones or updates Git, Mercurial, Subversion, Bazaar, tar, and zip sources into your workspace. |
| **Skills** | Installs `SKILL.md` collections into each agent's native skills directory (`.claude/skills`, `.cursor/skills`, `.github/skills`, …). |
| **MCP servers** | Upserts MCP server entries into each agent's JSON config file without touching your other settings. |
## What it looks like
```yaml gaal.yaml theme={"theme":"nord"}
schema: 1
repositories:
src/gaal:
type: git
url: https://github.com/getgaal/gaal.git
version: main
skills:
- source: anthropics/skills
agents: ["*"] # install in every detected agent
select:
- frontend-design
- skill-creator
mcps:
- name: filesystem
agents: ["*"] # every detected agent
global: true
inline:
command: uvx
args: [mcp-server-filesystem, ~/projects]
```
```bash theme={"theme":"nord"}
$ gaal sync
✓ src/gaal up-to-date
✓ skills/frontend-design installed in claude-code, cursor
✓ mcp/filesystem upserted in ~/.claude.json
```
## Who it's for
* **Solo developers** running multiple coding agents who want their setup reproducible across machines via dotfiles.
* **Power users** maintaining curated skill sets across projects and teams.
* **Anyone** tired of copy-pasting MCP JSON snippets between agents.
## What's next
Five ways to get the binary on your machine.
Audit, init, and sync in five minutes.
The mental model: YAML → renderers → agent files.
Top-level keys and how they fit together.
## What's next for gaal
gaal today is the free, single-user CLI documented on this site. A team-focused **Community Edition** with shared registries, drift detection, and approval workflows is in development. See [`gaal migrate`](/cli/migrate) for the graduation path.
# Quickstart
Source: https://docs.getgaal.com/quickstart
From zero to a synced machine in five minutes.
By the end of this page you'll have a working `gaal.yaml`, every detected agent skill imported into it, and a clean `gaal sync` that completes without errors.
## 1. Confirm the install
```bash theme={"theme":"nord"}
$ gaal version
gaal v0.3.0
built 2026-04-18T09:00:00Z
```
If this fails, head back to [Install](/install).
## 2. See what's on your machine
`gaal audit` scans your project, your home directory, and each agent's package-manager paths for skills and MCP servers, without writing anything.
```bash theme={"theme":"nord"}
$ gaal audit
discovered:
skills (project)
.claude/skills/code-review (claude-code)
.cursor/skills/test-writer (cursor)
skills (global)
~/.claude/skills/git-helper (claude-code)
mcps
~/.claude.json
filesystem, git
```
This is read-only, nothing is changed yet.
## 3. Initialise gaal.yaml
The interactive wizard turns the audit into a real config file:
```bash theme={"theme":"nord"}
$ gaal init
? How should we create your gaal.yaml?
▸ Import everything detected on this machine
Start from an empty documented skeleton
? Where should this configuration apply?
▸ Project (./gaal.yaml)
Global (~/.config/gaal/config.yaml)
```
After confirming, `init` writes a fully-populated `gaal.yaml` to the chosen path.
**No TTY?** Use the non-interactive form:
```bash theme={"theme":"nord"}
gaal init --import-all --scope project
```
`--empty` and `--import-all` are mutually exclusive; one is required when stdin isn't a TTY.
## 4. Preview the sync
Always preview before the first real sync. `--dry-run` runs the full planner without touching disk.
```bash theme={"theme":"nord"}
$ gaal sync --dry-run
plan:
repositories
+ clone src/example (git, main)
skills
+ install code-review → claude-code, cursor
= unchanged git-helper → claude-code
mcps
+ upsert filesystem → ~/.claude.json
```
Exit codes: **0** = nothing to do, **1** = changes pending, **2** = error.
## 5. Optional: add a registry skill
You can search the default registry without changing your config:
```bash theme={"theme":"nord"}
gaal skill search frontend
```
For the default `skills.sh` registry, this uses `npx skills find` behind the scenes. Make sure `npx` is available on `PATH`. You do not need `VERCEL_OIDC_TOKEN` or skills.sh API auth.
Install adds the selected skill to `gaal.yaml` and runs sync by default:
```bash theme={"theme":"nord"}
gaal skill install frontend-design
```
Use `--project` if the skill should live only in this repo, or `--no-sync` if you want to review the YAML before syncing.
## 6. Sync for real
```bash theme={"theme":"nord"}
$ gaal sync
✓ src/example cloned
✓ code-review installed in claude-code, cursor
✓ filesystem upserted in ~/.claude.json
sync complete in 1.2s
```
## 7. Check your work
```bash theme={"theme":"nord"}
$ gaal status
repositories
src/example git · main · clean
skills
code-review claude-code, cursor
git-helper claude-code
mcps
filesystem ~/.claude.json
```
```bash theme={"theme":"nord"}
$ gaal doctor
✓ config: gaal.yaml is valid
✓ skills: all sources reachable
✓ mcps: all target files writable
✓ agents: 3 installed, 0 misconfigured
```
## You're done
Commit `gaal.yaml` to your dotfiles repo and `gaal sync` will reproduce this exact setup on every other machine you own.
The mental model behind sync, audit, and renderers.
Search and install registry skills.
The dotfiles pattern in detail.
Inline definitions and remote sources.
Run gaal as a daemon that re-syncs on a schedule.
# content
Source: https://docs.getgaal.com/schema/content
Generic file and directory sync for agent instructions, rules, commands, and settings.
```yaml theme={"theme":"nord"}
content:
- source:
agents: <[string] | ["*"]> # shorthand form
global: # shorthand form, default false
root: # shorthand form, default workspace
paths:
:
targets: # explicit form
- agents: <[string] | ["*"]>
scope:
root:
paths:
:
```
## Type
`array[ContentEntry]`
## Required
No. Omit `content:` if you only manage repositories, skills, and MCP servers.
## What it is for
Use `content:` for files an agent reads directly but that are not `SKILL.md` packages: instruction files, command directories, rules, hooks, templates, and settings.
`skills:` remains the right place for native skill collections. `content:` is the escape hatch for everything else.
## Entry fields
### `source`
| Field | Type | Required |
| -------- | ------ | -------- |
| `source` | string | yes |
Accepts GitHub shorthand, HTTPS URLs, SSH Git URLs, and local paths. Remote sources are cached under gaal's cache directory before paths are copied out.
### `targets`
| Field | Type | Required |
| --------- | ----------------------- | -------- |
| `targets` | array of target objects | no |
Use `targets:` when one source needs to fan out to multiple agents, scopes, roots, or path maps.
### Shorthand fields
When `targets:` is omitted, the top-level `agents`, `global`, `root`, and `paths` fields define one target.
| Field | Type | Required | Default |
| -------- | ---------------------- | -------- | ----------- |
| `agents` | array of strings | yes | none |
| `global` | bool | no | `false` |
| `root` | `agent` or `workspace` | no | `workspace` |
| `paths` | map\[string]string | yes | none |
### Target fields
| Field | Type | Required | Default |
| -------- | ---------------------- | -------- | ----------- |
| `agents` | array of strings | yes | none |
| `scope` | `project` or `global` | no | `project` |
| `root` | `agent` or `workspace` | no | `workspace` |
| `paths` | map\[string]string | yes | none |
`root: workspace` writes relative to the current project. `root: agent` writes relative to the agent config root inferred from the registry.
## Example
```yaml theme={"theme":"nord"}
content:
- source: my-org/agent-guidance
targets:
- agents: [claude-code]
scope: project
root: workspace
paths:
AGENTS.md: CLAUDE.md
- agents: [codex]
scope: project
root: workspace
paths:
AGENTS.md: AGENTS.md
- source: ./dotclaude
agents: [claude-code]
global: true
root: agent
paths:
commands/: commands/
settings.json: settings.json
```
## Safety
* Source and destination paths must be relative.
* `..` path segments are rejected.
* Symlinks and non-regular files are skipped.
* VCS metadata directories are skipped.
* Directory copies stage into a temporary sibling and then replace the destination.
## Related
# hooks
Source: https://docs.getgaal.com/schema/hooks
Commands that run before and after gaal sync.
```yaml theme={"theme":"nord"}
hooks:
pre-sync:
- name: # optional
command:
args: <[string]> # optional
cwd: # optional
os: <[linux|darwin|windows]>
timeout: # optional, default 5m
continue_on_error: # optional, default false
env: ]