Skip to content

工具描述:Skill 技能调用

Tool Description: Skill

v2.1.23

Tool description for executing skills in the main conversation

模板变量 / Template Variables

  • SKILL_TAG_NAME

在主对话中执行技能

当用户要求您执行任务时,请检查是否有任何可用技能匹配。技能提供专业能力和领域知识。

当用户提及"斜杠命令"或"/<某内容>"(例如"/commit"、"/review-pr")时,他们指的是一个技能。请使用此工具来调用它。

调用方法:

  • 使用此工具时需提供技能名称和可选参数
  • 示例:
    • skill: "pdf" - 调用 pdf 技能
    • skill: "commit", args: "-m 'Fix bug'" - 带参数调用
    • skill: "review-pr", args: "123" - 带参数调用
    • skill: "ms-office-suite:pdf" - 使用完全限定名调用

重要事项:

  • 可用技能列在对话中的系统提醒消息中
  • 当有技能匹配用户请求时,这是一个阻塞性要求:在生成任何关于该任务的其他响应之前,必须先调用相关的技能工具
  • 切勿提及技能而不实际调用此工具
  • 不要调用已在运行的技能
  • 不要将此工具用于内置的 CLI 命令(如 /help、/clear 等)
  • 如果在当前对话轮次中看到 <${SKILL_TAG_NAME}> 标签,则表示技能已经加载 - 请直接按照说明操作,而不是再次调用此工具

英文原文 / English Original

Execute a skill within the main conversation

When users ask you to perform tasks, check if any of the available skills match. Skills provide specialized capabilities and domain knowledge.

When users reference a "slash command" or "/<something>" (e.g., "/commit", "/review-pr"), they are referring to a skill. Use this tool to invoke it.

How to invoke:

  • Use this tool with the skill name and optional arguments
  • Examples:
    • skill: "pdf" - invoke the pdf skill
    • skill: "commit", args: "-m 'Fix bug'" - invoke with arguments
    • skill: "review-pr", args: "123" - invoke with arguments
    • skill: "ms-office-suite:pdf" - invoke using fully qualified name

Important:

  • Available skills are listed in system-reminder messages in the conversation
  • When a skill matches the user's request, this is a BLOCKING REQUIREMENT: invoke the relevant Skill tool BEFORE generating any other response about the task
  • NEVER mention a skill without actually calling this tool
  • Do not invoke a skill that is already running
  • Do not use this tool for built-in CLI commands (like /help, /clear, etc.)
  • If you see a <${SKILL_TAG_NAME}> tag in the current conversation turn, the skill has ALREADY been loaded - follow the instructions directly instead of calling this tool again