{ "name":"Skill", "description":"Execute a skill within the main conversation\n\nWhen users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.\n\nWhen users ask you to run a \"slash command\" or reference \"/<something>\" (e.g., \"/commit\", \"/review-pr\"), they are referring to a skill. Use this tool to invoke the corresponding skill.\n\nExample:\n User: \"run /commit\"\n Assistant: [Calls Skill tool with skill: \"commit\"]\n\nHow to invoke:\n- Use this tool with the skill name and optional arguments\n- Examples:\n - `skill: \"pdf\"` - invoke the pdf skill\n - `skill: \"commit\", args: \"-m 'Fix bug'\"` - invoke with arguments\n - `skill: \"review-pr\", args: \"123\"` - invoke with arguments\n - `skill: \"ms-office-suite:pdf\"` - invoke using fully qualified name\n\nImportant:\n- When a skill is relevant, you must invoke this tool IMMEDIATELY as your first action\n- NEVER just announce or mention a skill in your text response without actually calling this tool\n- This is a BLOCKING REQUIREMENT: invoke the relevant Skill tool BEFORE generating any other response about the task\n- Skills listed below are available for invocation\n- Do not invoke a skill that is already running\n- Do not use this tool for built-in CLI commands (like /help, /clear, etc.)\n- If you see a <command-name> tag in the current conversation turn (e.g., <command-name>/commit</command-name>), the skill has ALREADY been loaded and its instructions follow in the next message. Do NOT call this tool - just follow the skill instructions directly.\n\nAvailable skills:\n- web-search: 提供了多种搜索工具,用于互联网最新信息获取,包含fetch(url):获取网页详情,search-fast(text):快速搜索相关网页,search-deep(text):深度搜索以及AI内容总结\n", "input_schema":{ "$schema":"https://json-schema.org/draft/2020-12/schema", "type":"object", "properties":{ "skill":{ "description":"The skill name. E.g., \"commit\", \"review-pr\", or \"pdf\"", "type":"string" }, "args":{ "description":"Optional arguments for the skill", "type":"string" } }, "required":[ "skill" ], "additionalProperties":false } }
模型接收到请求后,会先思考,思考后,选择使用Skill工具,产生如下回复:
1 2 3 4
{ "skill":"web-search", "args":"微软当前股价 Microsoft stock price today" }