create-subagents

Create and configure Opencode sub-agents with delegate_to_agent orchestration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aaronvstory/taches-oc-prompts-opencode --skill create-subagents-aaronvstory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-subagents
Source: https://github.com/aaronvstory/taches-oc-prompts-opencode/tree/main/skills/create-subagents
Command: npx skills add https://github.com/aaronvstory/taches-oc-prompts-opencode --skill create-subagents-aaronvstory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides expert guidance for creating, configuring, and using Opencode sub-agents along with the delegate_to_agent tool. It helps teams design precise sub-agent prompts, set up agent configurations, understand orchestration patterns, and ensure safe, scalable delegation across complex workflows.

Core Features & Use Cases

  • Create and tailor sub-agents with project-level and user-level scopes
  • Define configurations (name, description, tools, model) and enforce constraints
  • Orchestrate multi-agent workflows using sequential, parallel, hierarchical, or coordinator patterns
  • Manage memory, handoffs, and safe tool usage to prevent context loss
  • Use delegate_to_agent for automated sub-agent delegation and cross-agent coordination

Quick Start

Create a ready-to-use sub-agent blueprint and a minimal example to start building an Opencode sub-agent.

Frequently Asked Questions about create-subagents

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

FAQPage Schema
How do I create and configure Opencode sub-agents for specialized workflows?

You create sub-agents by defining configurations for name, description, tools, and model, then applying project-level or user-level scopes to enforce constraints for specialized workflows.

What is the delegate_to_agent tool used for in multi-agent orchestration?

The delegate_to_agent tool is used for automated sub-agent delegation and cross-agent coordination, enabling safe handoffs, disciplined orchestration, and memory management across complex multi-agent workflows.

What orchestration patterns can I use to coordinate multiple sub-agents?

You can coordinate multiple sub-agents using sequential, parallel, hierarchical, or coordinator orchestration patterns to manage complex workflows and ensure disciplined task delegation.

How do I manage memory and prevent context loss when handing off tasks to sub-agents?

You prevent context loss during sub-agent handoffs by applying enforced best practices for memory handling, safe tool usage, and disciplined orchestration provided by structured sub-agent guides.

Can I restrict which tools a specific Opencode sub-agent is allowed to use?

Yes, you can restrict sub-agent tool usage by defining specific tool constraints within the agent configuration, ensuring safe and controlled execution across specialized workflows.

When should I not use sub-agent delegation for my automation tasks?

You should avoid sub-agent delegation for simple tasks that do not require specialization, memory management, or complex orchestration, as the overhead of managing handoffs and configurations outweighs the benefits.