> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getgaal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

> [card] [Configure skills](https://docs.getgaal.com/configure/skills.md)

> [card] [Configure MCP servers](https://docs.getgaal.com/configure/mcp-servers.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.