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

# OpenCode Reference

> Comprehensive developer reference for OpenCode configuration, plugins, agents, skills, and tools

## Overview

This section provides a comprehensive reference for developers building with OpenCode and OCX components. It covers plugin development, configuration, agent setup, skills, custom tools, and extension patterns.

## Sections

| Topic                                      | Description                                        |
| ------------------------------------------ | -------------------------------------------------- |
| [Plugin Development](/docs/reference/plugins)   | Build OpenCode plugins with hooks and tools        |
| [Configuration](/docs/reference/configuration)  | `opencode.jsonc` options and variable substitution |
| [Agents](/docs/reference/agents)                | Agent types, configuration, and permissions        |
| [Skills & Instructions](/docs/reference/skills) | Reusable AI instruction sets and discovery         |
| [Custom Tools](/docs/reference/tools)           | Custom tool implementations for AI agents          |
| [MCP Servers](/docs/reference/mcp)              | Model Context Protocol server configuration        |
| [Permissions](/docs/reference/permissions)      | Fine-grained access control for tools and agents   |

## Quick Links

* [CLI Reference](/docs/cli/commands) — OCX command-line interface
* [Creating Registries](/docs/registries/create) — Build and distribute registries
* [Profiles Overview](/docs/profiles/overview) — Profile concepts and configuration
