跳到主要内容

chat_with_agent 精选

Use this skill when you need to consult another agent, ask for help, or involve a specific agent the user asked for.

自动化 Codex CLIMCP 客户端 Apache-2.0 3.6 万
在 GitHub 打开

安装方式

cp -r src/qwenpaw/agents/skills/chat_with_agent-en ~/.claude/skills/chat-with-agent-en

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/agentscope-ai/QwenPaw.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
ask for help

SKILL.md 正文

来源 agentscope-ai/QwenPaw@02b6a6d · 许可 Apache-2.0 · 内容未修改

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

  1. If the user explicitly requests a specific agent, follow that request — but still look up the agent first; do not guess the ID
  2. If you can complete the task yourself, do not call another agent
  3. When continuing a conversation, you must pass session_id
  4. By default, prefer using list_agents() and chat_with_agent(...) for foreground conversations — do not resort to other methods
  5. If the task should run in the background, use submit_to_agent(...) to submit it, then check_agent_task(...) to check the status

Usage Flow

Follow this flow strictly when using this skill:

1) Ensure your tool list includes both list_agents() and chat_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

2) 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

3) 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 agent
  • session_id: (optional) if you need multiple rounds of conversation with the same agent, pass the same session_id starting from the second round to maintain context continuity
  • timeout: (optional) estimated time needed for the foreground wait, to avoid premature timeouts

4) If the task is better suited for background execution, use the background tool path:

  • submit_to_agent(...): submit a background task — requires to_agent, text, and optionally session_id / task_timeout
  • Default execution budget is 3600 seconds (1 hour) when task_timeout is omitted
  • For work that may exceed 1 hour, pass an explicit positive task_timeout in seconds
  • Numeric strings such as "7200" are accepted
  • check_agent_task(...): check task status by task_id; returns the final result when complete
  • On timeout the task finishes as failed with an error like Task timed out after Ns (and code=timeout in the API payload)

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_agent_id> requesting]

This helps the other agent clearly identify who is speaking, improving communication efficiency and accuracy.

  • Reuse sessions wisely: if you need multiple rounds of conversation with the same agent, be sure to pass the same session_id to maintain context continuity. Otherwise, each call is treated as a new conversation, and the other agent may not correctly understand your needs. You can obtain the session_id from the first round's response, for example:
  [SESSION: xxx]

where xxx is the session_id value. This value is typically system-generated and has a long, unique format. Save this session_id and continue using it in subsequent conversations with the same agent.

质量与来源

所属仓库
agentscope-ai/QwenPaw
仓库星标
3.6 万
最近更新
今天
采集时间
今天
commit
02b6a6d088e3
内容指纹
sha256:4919a66060810a5
文件路径
src/qwenpaw/agents/skills/chat_with_agent-en/SKILL.md

同仓库其它 Skill

查看全部 48 个
edu-math-tutorial
数学题分步讲解视频的领域知识。适用场景:(1) 用户给出一道数学题并要求做讲解/ 解题视频;(2) 用户说"讲解这道题"、"生成解题视频"、"make a math tutorial"; (3) 需要中文数学教学视频,涉及方程、公式或几何图形。本 skill 只提供领域 知识(题目拆解、讲解节奏、旁白文案规范、版式与 KaTeX 排版风格);画面、 配音与成片一律用 Creator 原生 Element 与工具从源头构建。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
professional-media-prompts
为 Creator 编译制作级视觉资产图、电影分镜图和参考生视频 Prompt。适用于 角色身份板/设定图、关键帧或多宫格分镜、短片动作节拍、R2V/I2V/T2V 提示词, 尤其适合要求角色一致性、镜头语言、参考图职责、Seedance 时间段或声音设计的 任务。不用于纯素材剪辑、只查询模型参数,或只评价已经生成的成片。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
visual-asset-design
为角色/场景/道具设计视觉资产、编写或修复 VisualVariant 与阵容图的生成 Prompt 时使用。涵盖参考图布局(艺术身份板/序列关键帧/环境研究板/道具研究 板)、构图与镜头语言、图片审核误判规避、实体 continuity 与以主图为参考 的跨 Variant 衍生设计。不用于视频 Prompt 编译(见 professional-media-prompts)、 纯素材剪辑或只评价已生成产物。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
alicloud_cli
阿里云 CLI 中文文档镜像检索与命令辅助:先走章节索引,再下钻正文页面,给出命令前必须有本地文档证据。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-cli-setup
Terraform CLI 安装与初始化技能。当用户本地未安装 Terraform 时自动完成安装,确保 terraform 命令可用并能执行 init/validate。不负责 Provider 凭证配置,凭证在实际使用时由 terraform-skill 引导。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-skill
Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code architecture decisions
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-structure
Knowledge about the presentation slide format, weight system, navigation, and section structure
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-styling
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
vibe-to-agentic-framework
The conceptual framework behind the presentation — what "Vibe Coding to Agentic Engineering" means, why the journey is structured the way it is, and how every slide fits the narrative arc
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
time-skill
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
weather-fetcher
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI