chat_with_agent
Ce qu’il fait
Cette compétence permet à un agent IA de demander de l'aide à un autre agent spécialisé. Elle s'adresse aux travaux complexes où un second point de vue ou l'expertise d'un spécialiste est utile.
Quand l’utiliser
- ✓Quand vous voulez un second avis ou une revue d'un autre agent spécialisé.
- ✓Quand vous demandez à un agent précis de participer à une tâche.
- ✓Quand vous devez reprendre une conversation antérieure avec un autre agent et conserver son contexte.
Lien du skill
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/chat_with_agent-en/SKILL.mdCopiez-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
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Demande à l'agent finance de relire ce plan avant que je le présente.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Elle recherche d'abord les agents disponibles pour ne pas deviner l'identifiant. Elle démarre ou reprend ensuite une conversation avec cet agent, en utilisant un identifiant de session pour conserver le contexte précédent.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Chat with Agent
When to Use
Use this skill when you need to ask another agent a question, seek help, request a plan, request a review, request decision support, or engage in any form of communication. If the user explicitly asks to talk to a specific agent, you should also use this skill.
Should Use
- You need another agent's expertise, judgment, or second opinion
- You need to request a plan, review, or recommendation from an agent
- The user explicitly asks a specific agent to participate, assist, or answer
- You need to continue an existing agent session while preserving context
Should Not Use
- You can complete the task yourself and the user has not explicitly asked to involve another agent
- It is a simple Q&A that does not require a specialized agent
- The target agent is unclear — you should ask for clarification or list available agents first
- You just received a message from an agent and are about to immediately call back the same agent, which may cause a loop
Decision Rules
- If the user explicitly requests a specific agent, follow that request — but still look up the agent first; do not guess the ID
- If you can complete the task yourself, do not call another agent
- When continuing a conversation, you must pass
session_id - By default, prefer using
list_agents()andchat_with_agent(...)for foreground conversations — do not resort to other methods - If the task should run in the background, use
submit_to_agent(...)to submit it, thencheck_agent_task(...)to check the status
Usage Flow
Follow this flow strictly when using this skill:
- Ensure your tool list includes both
list_agents()andchat_with_agent(...)built-in tools
- These two tools are the foundation for communicating with other agents — do not remove or disable them
- If you do not have these tools, inform the user that you need them to talk to other agents, and ask the user to add them
- Use
list_agents()to view the currently available agents, and select one by extracting its ID
- Choose the most appropriate agent based on the user's needs and each agent's description
- If no suitable agent is found and you are not the Default Agent, use the Default Agent
- Otherwise, inform the user that no suitable agent is available, and suggest they create a new agent or adjust existing agent descriptions for better matching
- Call
chat_with_agent(...)to initiate a foreground conversation. Key parameters include:
to_agent: the target agent's ID (note: this is the ID, not the name)text: what you want to say to the target agentsession_id: (optional) if you need multiple rounds of conversation with the same agent, pass the samesession_idstarting from the second round to maintain context continuitytimeout: (optional) estimated time needed for the foreground wait, to avoid premature timeouts
- If the task is better suited for background execution, use the background tool path:
submit_to_agent(...): submit a background task — requiresto_agent,text, and optionallysession_id/task_timeout- Default execution budget is 3600 seconds (1 hour) when
task_timeoutis omitted - For work that may exceed 1 hour, pass an explicit positive
task_timeoutin seconds - Numeric strings such as
"7200"are accepted
- Default execution budget is 3600 seconds (1 hour) when
check_agent_task(...): check task status bytask_id; returns the final result when complete- On timeout the task finishes as failed with an error like
Task timed out after Ns(andcode=timeoutin the API payload)
- On timeout the task finishes as failed with an error like
Minimal Call Examples
New Conversation
list_agents()
chat_with_agent(
to_agent="<target_agent_id>",
text="[Agent <your_agent_id> requesting] I need your help determining the approach for this issue.",
)
Continuing an Existing Conversation
chat_with_agent(
to_agent="<target_agent_id>",
text="[Agent <your_agent_id> requesting] Please continue expanding on point 2 based on the previous conclusion.",
session_id="<previous_session_id>",
)
Background Submission and Status Check
submit_to_agent(
to_agent="<target_agent_id>",
text="[Agent <your_agent_id> requesting] Please complete this longer task in the background.",
task_timeout=7200,
)
check_agent_task(
task_id="<task_id>",
)
Important Notes
- Add a conversation identifier: it is recommended to start your message with:
[Agent <your_ag
Questions fréquentes
Peut-elle appeler un agent qu'elle ne connaît pas ?
Non. La compétence recherche l'agent d'abord, et la cible doit être claire avant tout appel.
Faut-il l'utiliser pour des questions simples ?
Non. Si l'agent peut terminer la tâche seul, il ne doit pas en mobiliser un autre.
Comment évite-t-elle les boucles ?
Elle évite de rappeler l'agent qui vient de lui envoyer un message.
Détails
Description originale de l’auteur
Use this skill when you need to consult another agent, ask for help, or involve a specific agent the user asked for.
repo: agentscope-ai/QwenPaw
Popularité
- Étoiles GitHub
- 37k
- Position au classement
- #7573
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
terraform-skill
37kAide votre agent à écrire, tester et relire le code d'infrastructure Terraform ou OpenTofu, en couvrant les modules, le CI/CD, l'analyse de sécurité et les problèmes d'état.
computer_use
37kPermet à votre agent d'utiliser une application Windows ou macOS en direct en observant l'écran, en cliquant et en vérifiant chaque résultat, lorsqu'aucun outil direct ne peut faire le travail.
browser
37kPermet à votre agent de piloter un navigateur web en direct grâce au SDK du navigateur QwenPaw : lire les pages, agir dessus et vérifier les résultats avant de déclarer un succès.
channel_message
37kPermet à votre agent d'envoyer un message à sens unique vers un canal ou une session de discussion précis, comme une alerte de fin de tâche, une fois la bonne destination trouvée.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.