Aller au contenu
Skillpedia
Agents37k · #7582

multi_agent_collaboration

Ce qu’il fait

Cette compétence permet à un agent de travailler avec un autre agent sur une tâche. Elle s'adresse aux travaux complexes où le point de vue ou l'espace de travail d'un spécialiste est utile.

Quand l’utiliser

  • ✓Quand l'expertise d'un autre agent peut vous aider à mieux terminer la tâche.
  • ✓Quand vous avez besoin de fichiers ou de contexte conservés dans l'espace de travail d'un autre agent.
  • ✓Quand vous demandez explicitement à un agent précis de participer au travail.

Lien du skill

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/multi_agent_collaboration-en/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/multi_agent_collaboration-en/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Demande à l'agent de recherche de relire mon analyse, puisqu'il a les fichiers sources.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Elle liste les agents disponibles, puis démarre une discussion à double sens avec celui choisi. Les réponses reviennent, et un identifiant de session maintient la conversation en cours.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Multi-Agent Collaboration

When to Use

Use this skill when you need another agent's expertise, context, workspace content, or collaborative support. If the user explicitly asks a specific agent to participate/assist/answer, you should also use this skill.

Should Use

  • The current task is clearly better suited for a specialized agent
  • You need another agent's workspace / files / context
  • You need a second opinion or expert review
  • The user explicitly asks for a specific agent to participate or to invoke another agent

Should Not Use

  • You can complete the task on your own and the user has not explicitly asked to invoke another agent
  • It is just a normal Q&A that does not require a specialized agent
  • Information is insufficient -- you should ask the user for clarification first
  • You just received a message from Agent B -- do not call Agent B again to avoid loops

Decision Rules

  1. If the user explicitly requests invoking another agent, prioritize following the request
  2. Otherwise, if you can do it yourself, do not invoke another agent
  3. Check agents before invoking -- do not guess IDs
  4. When context continuation is needed, you must pass --session-id
  5. Do not call back the source agent

Most Common Commands

1) First Query Available Agents

qwenpaw agents list

2) Start a New Conversation (Real-time Mode)

qwenpaw agents chat \
  --from-agent <your_agent> \
  --to-agent <target_agent> \
  --text "[Agent <your_agent> requesting] ..."

3) Submit a Complex Task (Background Mode)

Complex tasks include: data analysis, report generation, batch processing, external API calls, etc.

qwenpaw agents chat --background \
  --from-agent <your_agent> \
  --to-agent <target_agent> \
  --text "[Agent <your_agent> requesting] ..."

Output:

[TASK_ID: xxx-xxx-xxx]
[SESSION: ...]

4) Query Background Task Status

qwenpaw agents chat --background --task-id <task_id>

Important: Do not query frequently! After submitting a task:

  1. Do not block - Continue handling other tasks or work
  2. Wait a reasonable time before querying - Choose based on task complexity:
    • Simple analysis: query after 10-20 seconds
    • Complex analysis: query after 30-60 seconds
    • Batch processing: query after 1-3 minutes
  3. During the wait - You can reply to the user, handle other requests, or execute other tasks

5) Continue an Existing Conversation

qwenpaw agents chat \
  --from-agent <your_agent> \
  --to-agent <target_agent> \
  --session-id "<session_id>" \
  --text "[Agent <your_agent> requesting] ..."

Key points:

  • Not passing --session-id = new conversation
  • Passing --session-id = continue conversation (context preserved)
  • Use --background for complex tasks; record the task_id after submission

Task Mode Selection

Real-time Mode vs Background Mode

Task Type Mode to Use Command
Simple quick query Real-time mode qwenpaw agents chat
Complex task (data analysis, batch processing, etc.) Background mode qwenpaw agents chat --background

Examples of complex tasks:

  • Analyzing large amounts of data or log files
  • Generating detailed reports
  • Batch processing files (10+ files)
  • Calling slow external APIs
  • Independent tasks that need parallel execution

Decision criteria: If you are unsure how long a task will take, or if the task is complex, prefer background mode.


Minimal Workflow

Real-time Mode Workflow

1. Determine whether another agent is needed, or whether the user explicitly requested it
2. qwenpaw agents list
3. qwenpaw agents chat to start a conversation
4. Record [SESSION: ...] from the output
5. Include --session-id when context continuation is needed later

Background Mode Workflow

1. Determine whether the task is complex (data analysis, report generation, etc.)
2. qwenpaw agents list
3. qwenpaw agents chat --background to submit the task
4. Record [TASK_ID: ...] from the output
5. Continue handling other work
6. Wait a reasonable time (30-60 seconds) before querying status
7. Use --background --task-id to query results

Key Rules

Required Parameters

qwenpaw agents chat must include all of the following:

  • --from-agent
  • --to-agent
  • --text

Identity Prefix

Messages should begin with the following prefix:

`

Questions fréquentes

Peut-elle contacter un agent qu'elle n'a pas vérifié ?

Non. La compétence cherche d'abord les agents disponibles pour ne pas deviner un identifiant.

Sert-elle aux questions simples ?

Non. Si la tâche peut être faite seul, l'agent la fait sans faire intervenir un autre agent.

Comment évite-t-elle les boucles ?

Elle ne rappelle pas l'agent qui vient de lui écrire.

Détails

Description originale de l’auteur

Use this skill when another agent's expertise or context is needed, or when the user explicitly asks to involve another agent. First list agents, then use qwenpaw agents chat for two-way communication with replies.

repo: agentscope-ai/QwenPaw

Popularité

Étoiles GitHub
37k
Position au classement
#7582
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires