본문으로 건너뛰기
Skillpedia
에이전트37k · #7573

chat_with_agent

하는 일

이 스킬은 한 AI 에이전트가 다른 전문 에이전트에게 도움을 요청하도록 합니다. 두 번째 시각이나 전문가의 전문성이 유용한 복잡한 작업을 위한 스킬입니다.

사용하는 경우

  • ✓다른 전문 에이전트에게 두 번째 의견이나 검토를 받고 싶을 때.
  • ✓작업에 특정 이름의 에이전트가 참여하기를 요청할 때.
  • ✓다른 에이전트와의 이전 대화를 이어 가며 맥락을 유지해야 하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/chat_with_agent-en/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 계획을 발표하기 전에 금융 에이전트에게 검토를 받아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 추측으로 ID를 쓰지 않도록 먼저 사용 가능한 에이전트를 조회합니다. 그다음 해당 에이전트와 대화를 시작하거나 이어가며, 세션 ID로 이전 맥락을 유지합니다.

기술 내용 (원본 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

  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
  1. 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
  1. 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
  1. 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_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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬