opencode-subagents

Create and run specialized subagents within OpenCode for focused tasks.

4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Heldinhow/awesome-opencode-dev-skills --skill opencode-subagents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-subagents
Source: https://github.com/Heldinhow/awesome-opencode-dev-skills/tree/main/opencode-subagents
Command: npx skills add https://github.com/Heldinhow/awesome-opencode-dev-skills --skill opencode-subagents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need for focused, isolated AI agents within a larger system, enabling specialized task execution without context pollution.

Core Features & Use Cases

  • Specialized Agents: Define and invoke agents with specific expertise (e.g., code review, testing).
  • Clean Context: Ensures subagents operate with relevant information only.
  • Skill Isolation: Subagents maintain their own tools and skills, independent of the parent session.
  • Parallel Execution: Enables multiple subagents to work concurrently on distinct tasks.
  • Use Case: When performing a complex code refactoring, you might invoke a 'code review specialist' subagent to check for best practices and a 'testing agent' subagent to generate unit tests, both operating in parallel.

Quick Start

Invoke the 'documentation-agent' subagent to generate API documentation for the current project.

Frequently Asked Questions about opencode-subagents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run parallel AI agents for distinct software engineering tasks?

You can run parallel AI agents by creating specialized subagents that execute concurrently on distinct tasks. This architecture enables modular AI development by isolating agent context and skills, ensuring focused operations without context pollution.

What is agent context pollution and how do isolated subagents prevent it?

Agent context pollution occurs when a single AI session accumulates irrelevant information, degrading performance. Isolated subagents prevent it by operating with clean context, maintaining their own independent tools and skills separate from the parent session.

How do I configure specialized agents for domain-specific code tasks?

You configure specialized agents by defining their specific expertise, configuring their available tools, and setting model preferences for targeted operations. This allows domain-specific task execution like code review or testing.

Can I assign different tools and models to individual AI agents?

Yes, you can assign different tools and models to individual AI agents. Subagents maintain their own tools and skills independently, allowing you to configure specific model preferences and toolsets for targeted operations.

What is the best way to orchestrate multiple agents for a complex code refactoring?

The best way to orchestrate multiple agents for complex code refactoring is invoking specialized subagents in parallel. You can run a code review specialist and a testing agent concurrently, ensuring clean context and skill isolation for each task.

When should I not use subagents for AI development orchestration?

You should not use subagents for AI development orchestration when tasks require shared session context or heavy inter-agent communication, as subagents are designed for isolated, parallel execution with clean, separated contexts.