chat_with_agent
ما الذي تفعله
تتيح هذه المهارة لوكيل أن يطلب المساعدة من وكيل آخر متخصص. وهي موجهة للأعمال المعقدة التي يفيد فيها رأي ثانٍ أو خبرة متخصص.
متى تستخدمها
- ✓عندما تريد رأيًا ثانيًا أو مراجعة من وكيل متخصص آخر.
- ✓عندما تطلب مشاركة وكيل محدد باسمه في مهمة.
- ✓عندما تحتاج إلى متابعة محادثة سابقة مع وكيل آخر والاحتفاظ بسياقها.
رابط المهارة
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/chat_with_agent-en/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اطلب من وكيل المالية مراجعة هذه الخطة قبل أن أعرضها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تبحث المهارة أولًا عن الوكلاء المتاحين حتى لا تخمّن المعرّف. ثم تبدأ محادثة مع ذلك الوكيل أو تكملها، مستخدمة معرّف الجلسة للحفاظ على السياق السابق.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
هل تستطيع استدعاء وكيل لا تعرفه؟
لا. تبحث المهارة عن الوكيل أولًا، ويجب أن يكون الهدف واضحًا قبل أي استدعاء.
هل أستدعي وكيلًا لأسئلة بسيطة؟
لا. إذا كان الوكيل قادرًا على إنجاز المهمة وحده فلا يُستدعى غيره.
كيف تتجنب الحلقات؟
تتجنب استدعاء الوكيل نفسه مباشرة بعد أن تلقت رسالة منه.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 37k
- الترتيب
- #7573
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
terraform-skill
37kيساعد وكيلك على كتابة واختبار ومراجعة شيفرة Terraform أو OpenTofu للبنية التحتية، مع الوحدات وCI/CD وفحص الأمان ومشاكل الحالة.
computer_use
37kيتيح لوكيلك تشغيل تطبيق حي على ويندوز أو macOS بمراقبة الشاشة والنقر وفحص كل نتيجة، عندما لا تستطيع أداة مباشرة إنجاز المهمة.
browser
37kيتيح لوكيلك تشغيل متصفح ويب حي عبر QwenPaw Browser SDK، فيقرأ الصفحات ويتفاعل معها ويتحقق من النتائج قبل إعلان النجاح.
channel_message
37kيتيح لوكيلك إرسال رسالة في اتجاه واحد إلى قناة دردشة أو جلسة محددة، مثل تنبيه بانتهاء المهمة، بعد أن يعثر على الوجهة الصحيحة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.