What problem does it solve?
Manually defining OpenCode agents with correct YAML frontmatter, permissions, and communication protocols is tedious and requires careful attention to detail. This Skill automates the generation of production-ready agents, saving development time and reducing errors.
Core Features & Use Cases
- Automated Agent Creation: Generates OpenCode agents in project folders (
.opencode/agent/) with proper YAML frontmatter and focused system prompts.
- Permission Management: Sets appropriate tool permissions (read, write, bash) based on the agent's purpose, ensuring secure and functional agents.
- Swarm Communication Protocol: Integrates critical communication guidelines for seamless interaction within multi-agent swarms, fostering efficient collaboration.
- Use Case: Need a new "security-auditor" agent for your OpenCode swarm? Use this Skill to instantly generate its definition, including its specific responsibilities, tool access, and how it should communicate with other agents, all without manual configuration.
Quick Start
Use the opencode-agent-generator skill to create a primary OpenCode agent named 'data-analyst' with read and grep tools, and allow bash for 'python*' commands.