opencode-agents
Installation
SKILL.md
When to use this skill
Use this skill when:
- User asks to create a new OpenCode agent
- User wants to modify or configure an existing agent
- User mentions agent modes (primary, subagent)
- User wants to control tool permissions or access
- User needs specialized agents for specific tasks (review, security, docs, etc.)
- User mentions agent switching, task delegation, or @ mentions
- User wants to customize prompts or models for different workflows
What OpenCode agents are
OpenCode agents are specialized AI assistants that can be configured for specific tasks and workflows. They allow you to create focused tools with custom prompts, models, and tool access.
Agent types
Primary agents: Main assistants you interact with directly. Switch between them using Tab key or configured keybind.
- Examples: Build (default with all tools), Plan (restricted for analysis)