Перейти к содержанию
Skillpedia
Агенты37k · #7582

multi_agent_collaboration

Что он делает

Этот скилл позволяет одному агенту работать с другим агентом над задачей. Он нужен для сложной работы, где полезны взгляд специалиста или его рабочее пространство.

Когда использовать

  • ✓Когда экспертиза другого агента поможет лучше выполнить задачу.
  • ✓Когда нужны файлы или контекст, которые хранятся в рабочем пространстве другого агента.
  • ✓Когда вы прямо просите, чтобы конкретный агент участвовал в работе.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/multi_agent_collaboration-en/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Попроси агента по исследованиям проверить мой анализ, ведь у него есть исходные файлы.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл перечисляет доступных агентов, затем начинает двусторонний чат с выбранным. Ответы возвращаются, а идентификатор сессии поддерживает разговор.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с 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:

`

Частые вопросы

Может ли он связаться с агентом, которого не проверил?

Нет. Скилл сначала ищет доступных агентов, чтобы не угадывать идентификатор.

Это для простых вопросов?

Нет. Если задачу можно сделать самостоятельно, агент делает ее без привлечения другого агента.

Как он избегает зацикливания?

Он не вызывает обратно того агента, который только что прислал ему сообщение.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
37k
Место в рейтинге
#7582
Лицензия
Apache-2.0
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы