← ClaudeAtlas

opencode-agentslisted

Complete guide to OpenCode's agent system. Use this skill when configuring, creating, or managing OpenCode agents — including primary agents (Build, Plan), subagents (General, Explore, Scout), hidden agents (Compaction, Title, Summary), custom agents via JSON config or Markdown files, agent permissions (allow/ask/deny with glob patterns), task permissions for subagent invocation, session navigation keybinds, multi-agent workflows, and agent creation via CLI. Covers all agent options: description, mode, model, temperature, steps, disable, prompt, tools (deprecated), permission (with object syntax for bash commands), color, top_p, hidden, and provider-specific pass-through options.
Timmy6942025/opencode-builder-skill · ★ 1 · AI & Automation · score 74
Install: claude install-skill Timmy6942025/opencode-builder-skill
# OpenCode Agents — Complete Reference > **📚 Official Docs:** For the latest information, always refer to the official documentation: > [https://opencode.ai/docs/agents/](https://opencode.ai/docs/agents/) OpenCode supports a multi-agent architecture where specialized AI assistants handle different aspects of development. Agents come in two types — **primary agents** (direct user interaction, switchable via Tab) and **subagents** (invoked by other agents or via `@mention`/Task tool). There are also **hidden agents** (internal-use only, not user-selectable). This guide covers every agent type, all built-in agents, every configuration option, the complete permission system, and how to create custom agents. --- ## 1. Agent Types ### Primary Agents Primary agents are the main assistants you interact with directly. They appear in the agent selector and can be cycled through using the **Tab** key (or your configured `switch_agent` keybind). Each primary agent has its own system prompt, tool permissions, temperature, and behavioral configuration. OpenCode ships with two built-in primary agents: **Build** and **Plan**. Primary agents are suitable for: - Direct user conversation and coding - Multi-step development tasks - Planning and architecture analysis - Read-only exploration You can switch between primary agents mid-session by pressing **Tab**. ### Subagents Subagents are specialized assistants that primary agents can invoke for specific tasks. They run in isolated co