Dynamic agent composition and orchestration system - create custom agents with unique personalities, voices, and trait combinations on-the-fly

version
1.1.0

Install

/plugin install kai-agents-skill@kai-agents-skill

Run it inside Claude Code after adding the marketplace with /plugin marketplace add rafaelcalleja/kai-agents-skill.

Contents

Discovered from source

Skills 1

Agents - Custom Agent Composition System

Auto-routes when user mentions custom agents, agent creation, or specialized personalities.

Overview

The Agents skill provides complete agent composition and management:

  • Dynamic agent composition from traits (expertise + personality + approach)
  • Personality definitions and voice mappings
  • Custom agent creation with unique voices
  • Parallel agent orchestration patterns

Workflow Routing

Available Workflows:

  • CREATECUSTOMAGENT - Create specialized custom agents -> Workflows/CreateCustomAgent.md
  • LISTTRAITS - Show available agent traits -> Workflows/ListTraits.md
  • SPAWNPARALLEL - Launch parallel agents -> Workflows/SpawnParallelAgents.md

Route Triggers

CRITICAL: The word "custom" is the ABSOLUTE trigger - NO EXCEPTIONS:

User SaysWhat to Usesubagent_typeWhy
"custom agents", "create custom agents", "spin up custom"AgentFactorygeneral-purposeUnique prompts + unique voices
"agents", "launch agents", "bunch of agents"Generic promptInternSame voice, parallel grunt work
"use [agent name]", "get [agent name] to"Direct callNamed agent typePre-defined personality

CONSTITUTIONAL RULE FOR CUSTOM AGENTS: When user says "custom agents", you MUST:

  1. Use AgentFactory to compose EACH agent with DIFFERENT traits
  2. Use subagent_type: "general-purpose" - NEVER "Intern", "Designer", "Architect", etc.
  3. Each agent gets their own voice from the trait-to-voice mapping

Architecture

Hybrid Agent Model

Two types of agents:

TypeDefinitionBest For
Named AgentsPersistent identities with backstoriesRecurring work, voice output
Dynamic AgentsTask-specific specialists from traitsOne-off tasks, parallel work

Components

Data/Traits.yaml - 28 composable traits with voice mappings Templates/DynamicAgent.hbs - Agent prompt template Tools/AgentFactory.ts - Dynamic composition engine AgentPersonalities.md - Named agent definitions

Usage

Just ask naturally:

  • "I need a legal expert to review this contract"
  • "Spin up 5 custom science agents"
  • "Get me someone skeptical about security"

The skill routes to appropriate workflow automatically.

Model Selection

Task TypeModelWhy
Grunt workhaiku10-20x faster
Standard analysissonnetBalanced
Deep reasoningopusMaximum intelligence

Sponsors

Details

Marketplace
rafaelcalleja/kai-agents-skill
Category
Community