Agents

Compose specialized agents from trait blocks and voice mappings.

186|24|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/Steffen025/pai-opencode --skill agents-steffen025
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agents
Source: https://github.com/Steffen025/pai-opencode/tree/main/.opencode/skills/Agents
Command: npx skills add https://github.com/Steffen025/pai-opencode --skill agents-steffen025

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, handlebars.

What problem does it solve?

This skill enables dynamic composition of specialized AI agents by formalizing traits (expertise, personality, approach) and mapping voices. It provides a single source of truth for how to assemble agents for various tasks, reducing duplication and enabling consistent behavior.

Core Features & Use Cases

  • Dynamic agent composition from trait sets (expertise + personality + approach) to create customized agents.
  • Voice mapping and identity management to give each agent a distinct persona.
  • Supports named agents and parallel task orchestration, plus simple integration with existing CORE Skills.

Quick Start

  • Run: bun run ~/.opencode/skills/Agents/Tools/AgentFactory.ts --task "Review security architecture" --output json

Frequently Asked Questions about Agents

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

FAQPage Schema
How do I dynamically compose AI agents with unique voices?

Dynamic agent composition assembles specialized AI agents by combining trait blocks for expertise, personality, and approach into unique personas. It uses handlebars templates and voice-mapping logic to generate prompts and orchestrate parallel execution.

What is voice mapping in AI agent generation workflows?

Voice mapping in AI agent generation assigns distinct personas to dynamically composed agents by formalizing traits. It provides identity management so each agent maintains a consistent voice across parallel tasks.

Can I spawn parallel AI agents with different personality traits?

Yes, you can spawn parallel AI agents with different personality traits using the SPAWNPARALLEL workflow. The system combines trait blocks on-demand to create specialized agents and orchestrates their parallel execution.

Do I need handlebars and yaml to create custom AI agents?

Yes, handlebars and yaml are required dependencies. The skill relies on yaml for base trait definitions and the handlebars template for voice-mapping logic to dynamically generate agent prompts.

What's the best way to manage multiple AI agent personas for consistent behavior?

The best way to manage multiple AI agent personas is using a single source of truth for trait definitions and voice mapping. This reduces duplication and ensures consistent behavior across dynamically composed agents.

How do I list available traits when building custom AI agents?

You can list available traits when building custom AI agents by running the LISTTRAITS workflow. This exposes the base trait definitions for expertise, personality, and approach used in dynamic agent composition.