Composeur d'équipes d'agents

VérifiéPrudence

Sélecteur interactif pour composer et lancer des équipes parallèles d'agents. À utiliser pour assembler des équipes ad hoc à partir de collections locales ou globales.

Spar Skills Guide Bot
DeveloppementIntermédiaire
29/08/2026
Claude Code
#multi-agent#agent-orchestration#team-composition#claude-agents#parallel-execution

Recommandé pour

Synthèse automatique

Ce skill construit un menu interactif des agents disponibles (plugins, agents utilisateur, fichiers markdown locaux) et permet de composer puis de lancer une équipe d'agents parallèles pour une tâche donnée.

Points forts

  • Fusionne la liste renvoyée par `claude agents` avec les fichiers markdown du projet et du répertoire utilisateur, avec déduplication par nom et priorité explicite (utilisateur > plugin > intégré)
  • Détecte automatiquement les domaines, que les agents soient rangés en sous-dossiers ou nommés avec un préfixe de domaine commun
  • Gère les agents de plugins préfixés (ex. `ecc:security-reviewer`) en utilisant le nom du plugin comme domaine
  • Propose un menu numéroté par domaine, ce qui permet de parcourir le catalogue avant de choisir

Limites

  • Suppose des fichiers d'agents respectant une structure précise (premier `# Heading` comme nom, premier paragraphe comme description) et l'accès à la commande `claude agents`
  • En arborescence plate, le découpage se fait au premier tiret : les domaines composés de plusieurs mots doivent passer en sous-dossiers
  • Le texte fourni du SKILL.md est tronqué au milieu du menu, donc l'étape de dispatch parallèle n'est pas entièrement vérifiable
Quand l'utiliser

À utiliser quand vous disposez de plusieurs personas d'agents et souhaitez assembler une équipe ad hoc couvrant plusieurs domaines pour une tâche.

Quand l'éviter

À éviter si un seul agent suffit ou si vos agents ne sont pas stockés sous forme de fichiers markdown/plugins d'agents Claude Code.

Analyse de sécurité

Prudence
Score qualité82/100

The skill is an orchestration/menu workflow: it runs a documented CLI command, reads local agent markdown files, and dispatches parallel subagents. There is nothing destructive, exfiltrating, or obfuscated — no network calls, no curl|sh, no secrets handling. The legitimate but powerful capabilities (shell command, file reads, agent spawning) and the verbatim forwarding of local markdown into subagent prompts warrant caution rather than a safe rating.

Points d'attention
  • •No tools are declared, yet the workflow requires shell execution (`claude agents`) and the Agent/subagent tool — the permission surface is implicit and undocumented for the installer.
  • •Agent markdown is read from project-local `./agents/**/*.md` and `~/.claude/agents/**/*.md` and pasted verbatim into subagent prompts, creating an indirect prompt-injection path: a malicious or untrusted repo file becomes instructions in a spawned agent's context.
  • •Spawned agents use `subagent_type: "general-purpose"` with no stated sandboxing, scope limits, or output caps, so a task plus 5 persona files can amplify token use and tool reach without the user seeing the full content first.
  • •Discovery depends on parsing human-readable output of an external CLI; behavior changes in that command's format are silently absorbed into the flow.
  • •No allowed-tools declared, yet the workflow requires shell execution (`claude agents`) plus file reads and Agent/subagent spawning — the declared capability envelope does not match actual requirements.
  • •Reads arbitrary local markdown from ./agents and ~/.claude/agents and injects the raw file content directly into subagent prompts, so any instructions embedded in those files are executed as agent instructions (prompt-injection surface, though scoped to files the user already controls).
  • •Relies on invoking an external CLI command (`claude agents`) whose output is parsed and trusted; malformed or unexpected output could cause the skill to mis-select agents.
Comment cette analyse est faite

Exemples

Browse agents by domain
List the agents I have available, grouped by domain, so I can decide which ones to use.
Compose a cross-domain team
Build a team with the security engineer, the SEO specialist and the software architect, then dispatch them in parallel to review our checkout redesign.
Include plugin agents
Show me all agents including the ones installed from plugins, and let me pick a team for refactoring the payments module.

name: team-builder description: Interactive agent picker for composing and dispatching parallel teams. Use when composing and dispatching a parallel team of agents for a task. metadata: origin: community

Team Builder

Interactive menu for browsing and composing agent teams on demand. Works with flat or domain-subdirectory agent collections.

When to Use

  • You have multiple agent personas (markdown files) and want to pick which ones to use for a task
  • You want to compose an ad-hoc team from different domains (e.g., Security + SEO + Architecture)
  • You want to browse what agents are available before deciding

Prerequisites

Agent files must be markdown files containing a persona prompt (identity, rules, workflow, deliverables). The first # Heading is used as the agent name and the first paragraph as the description.

Both flat and subdirectory layouts are supported:

Subdirectory layout — domain is inferred from the folder name:

agents/
├── engineering/
│   ├── security-engineer.md
│   └── software-architect.md
├── marketing/
│   └── seo-specialist.md
└── sales/
    └── discovery-coach.md

Flat layout — domain inferred from shared filename prefixes. A prefix counts as a domain when 2+ files share it. Files with unique prefixes go to "General". Note: the algorithm splits at the first -, so multi-word domains (e.g., product-management) should use the subdirectory layout instead:

agents/
├── engineering-security-engineer.md
├── engineering-software-architect.md
├── marketing-seo-specialist.md
├── marketing-content-strategist.md
├── sales-discovery-coach.md
└── sales-outbound-strategist.md

Configuration

Agents are discovered via two methods, merged and deduplicated by agent name:

  1. claude agents command (primary) — run claude agents to get all agents known to the CLI, including user agents, plugin agents (e.g. ecc:architect), and built-in agents. This automatically covers ECC marketplace installs without any path configuration.
  2. File glob (fallback, for reading agent content) — agent markdown files are read from:
    • ./agents/**/*.md + ./agents/*.md — project-local agents
    • ~/.claude/agents/**/*.md + ~/.claude/agents/*.md — global user agents

Earlier sources take precedence when names collide: user agents > plugin agents > built-in agents. A custom path can be used instead if the user specifies one.

How It Works

Step 1: Discover Available Agents

Run claude agents to get the full agent list. Parse each line:

  • Plugin agents are prefixed with plugin-name: (e.g., ecc:security-reviewer). Use the part after : as the agent name and the plugin name as the domain.
  • User agents have no prefix. Read the corresponding markdown file from ~/.claude/agents/ or ./agents/ to extract the name and description.
  • Built-in agents (e.g., Explore, Plan) are skipped unless the user explicitly asks to include them.

For user agents loaded from markdown files:

  • Subdirectory layout: extract the domain from the parent folder name
  • Flat layout: collect all filename prefixes (text before the first -). A prefix qualifies as a domain only if it appears in 2 or more filenames (e.g., engineering-security-engineer.md and engineering-software-architect.md both start with engineering → Engineering domain). Files with unique prefixes (e.g., code-reviewer.md, tdd-guide.md) are grouped under "General"
  • Extract the agent name from the first # Heading. If no heading is found, derive the name from the filename (strip .md, replace hyphens with spaces, title-case)
  • Extract a one-line summary from the first paragraph after the heading

If no agents are found after running claude agents and probing file locations, inform the user: "No agents found. Run claude agents to verify your setup." Then stop.

Step 2: Present Domain Menu

Available agent domains:
1. Engineering — Software Architect, Security Engineer
2. Marketing — SEO Specialist
3. Sales — Discovery Coach, Outbound Strategist

Pick domains or name specific agents (e.g., "1,3" or "security + seo"):
  • Skip domains with zero agents (empty directories)
  • Show agent count per domain

Step 3: Handle Selection

Accept flexible input:

  • Numbers: "1,3" selects all agents from Engineering and Sales
  • Names: "security + seo" fuzzy-matches against discovered agents
  • "all from engineering" selects every agent in that domain

If more than 5 agents are selected, list them alphabetically and ask the user to narrow down: "You selected N agents (max 5). Pick which to keep, or say 'first 5' to use the first five alphabetically."

Confirm selection:

Selected: Security Engineer + SEO Specialist
What should they work on? (describe the task):

Step 4: Spawn Agents in Parallel

  1. Read each selected agent's markdown file
  2. Prompt for the task description if not already provided
  3. Spawn all agents in parallel using the Agent tool:
    • subagent_type: "general-purpose"
    • prompt: "{agent file content}\n\nTask: {task description}"
    • Each agent runs independently — no inter-agent communication needed
  4. If an agent fails (error, timeout, or empty output), note the failure inline (e.g., "Security Engineer: failed — [reason]") and continue with results from agents that succeeded

Step 5: Synthesize Results

Collect all outputs and present a unified report:

  • Results grouped by agent
  • Synthesis section highlighting:
    • Agreements across agents
    • Conflicts or tensions between recommendations
    • Recommended next steps

If only 1 agent was selected, skip synthesis and present the output directly.

Rules

  • Dynamic discovery only. Never hardcode agent lists. New files in the directory auto-appear in the menu.
  • Max 5 agents per team. More than 5 produces diminishing returns and excessive token usage. Enforce at selection time.
  • Parallel dispatch. All agents run simultaneously — use the Agent tool's parallel invocation pattern.
  • Parallel Agent calls, not TeamCreate. This skill uses parallel Agent tool calls for independent work. TeamCreate (a Claude Code tool for multi-agent dialogue) is only needed when agents must debate or respond to each other.

Examples

User: team builder

Claude:
Available agent domains:
1. Engineering (2) — Software Architect, Security Engineer
2. Marketing (1) — SEO Specialist
3. Sales (4) — Discovery Coach, Outbound Strategist, Proposal Strategist, Sales Engineer
4. Support (1) — Executive Summary

Pick domains or name specific agents:

User: security + seo

Claude:
Selected: Security Engineer + SEO Specialist
What should they work on?

User: Review my Next.js e-commerce site before launch

[Both agents spawn in parallel, each applying their specialty to the codebase]

Claude:
## Security Engineer Findings
- [findings...]

## SEO Specialist Findings
- [findings...]

## Synthesis
Both agents agree on: [...]
Tension: Security recommends CSP that blocks inline styles, SEO needs inline schema markup. Resolution: [...]
Next steps: [...]

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/team-builder-mte1ll6j/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/team-builder-mte1ll6j' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/team-builder-mte1ll6j/download' --output '.skill-downloads/team-builder-mte1ll6j/SKILL.md.part' && mv '.skill-downloads/team-builder-mte1ll6j/SKILL.md.part' '.skill-downloads/team-builder-mte1ll6j/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Extrait original : Prerequisites

Agent files must be markdown files containing a persona prompt (identity, rules, workflow, deliverables). The first # Heading is used as the agent name and the first paragraph as the description.

Both flat and subdirectory layouts are supported:

Subdirectory layout — domain is inferred from the folder name:

agents/
├── engineering/
│   ├── security-engineer.md
│   └── software-architect.md
├── marketing/
│   └── seo-specialist.md
└── sales/
    └── discovery-coach.md

Flat layout — domain inferred from shared filename prefixes. A prefix counts as a domain when 2+ files share it. Files with unique prefixes go to "General". Note: the algorithm splits at the first -, so multi-word domains (e.g., product-management) should use the subdirectory layout instead:

agents/
├── engineering-security-engineer.md
├── engineering-software-architect.md
├── marketing-seo-specialist.md
├── marketing-content-strategist.md
├── sales-discovery-coach.md
└── sales-outbound-strategist.md

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/team-builder-mte1ll6j/SKILL.md' && test -s '.skill-downloads/team-builder-mte1ll6j/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/team-builder' && cp -R '.skill-downloads/team-builder-mte1ll6j' '.claude/skills/team-builder'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/team-builder-mte1ll6j'

openskills read 'team-builder-mte1ll6j'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/team-builder-mte1ll6j/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires