[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699ECXFGG357TBW7BYKCN0V":3,"skill-same:01M699ECXFGG357TBW7BYKCN0V":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":17,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M699ECXFGG357TBW7BYKCN0V","chat-sdk","Copilot Studio 智能体消息发送","Send a message to a Copilot Studio agent via the Copilot Studio Client SDK (M365). Use for agents with integrated auth (Entra ID SSO). Requires an App Registration Client ID.","通过 Copilot Studio Client SDK (M365) 向 Copilot Studio 智能体发送消息。适用于集成了身份验证（Entra ID SSO）的智能体。需要提供应用注册（App Registration）客户端 ID。","microsoft\u002Fskills-for-copilot-studio","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699DXBD563FYBGWKPJJRAVM",493,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fchat-sdk\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34],"sdk","chat sdk","test","auth","2026-11-10 10:12:30",false,"---\nuser-invocable: false\ndescription: Send a message to a Copilot Studio agent via the Copilot Studio Client SDK (M365). Use for agents with integrated auth (Entra ID SSO). Requires an App Registration Client ID.\nargument-hint: \u003Cutterance>\nallowed-tools: Bash(node *chat-with-agent.bundle.js *), Read, Glob\nagent: copilot-studio-test\n---\n\n# Chat via Copilot Studio SDK\n\nSend a single utterance to a published agent via the Copilot Studio Client SDK. Use this for agents with **integrated authentication \u002F Entra ID SSO** (authenticationmode 2).\n\n## Prerequisites\n\nRequires prior authentication via `\u002Fcopilot-studio:test-auth`. Do NOT ask the user for a client ID yourself — the test-auth skill handles app registration setup and authentication.\n\n## Instructions\n\n1. Run the script with `--client-id` and the utterance from `$ARGUMENTS`:\n\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js \\\n     --client-id \"\u003CclientId>\" \"\u003Cutterance>\" [--agent-dir \u003Cpath>]\n   ```\n\n2. **Authentication**: Requires prior authentication via `\u002Fcopilot-studio:test-auth`. The token is cached in the `\"test-agent\"` slot and shared with the eval API. If auth fails or the SDK hangs, tell the caller to re-run `test-auth`.\n\n3. Parse the JSON output from stdout:\n\n```json\n{\n  \"status\": \"ok\",\n  \"protocol\": \"m365\",\n  \"utterance\": \"hello\",\n  \"conversation_id\": \"abc123-...\",\n  \"start_activities\": [ ... ],\n  \"activities\": [ ... ]\n}\n```\n\nDisplay the agent's response from the `activities` array:\n- **Text**: activities where `type === \"message\"` — show `text`\n- **Suggested actions**: `suggestedActions.actions` array\n- **Adaptive cards**: `attachments` with `contentType === \"application\u002Fvnd.microsoft.card.adaptive\"`\n\n**Save `conversation_id`** for follow-ups.\n\n## Multi-turn\n\nPass `--conversation-id` from the previous response:\n\n```bash\nnode ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js \\\n  --client-id \"\u003Cid>\" \"\u003Cfollow-up>\" --conversation-id \"\u003Cid>\"\n```\n\nSDK sessions do not expire as quickly as DirectLine. Reuse `conversation_id` automatically for follow-ups.\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| `Authentication failed` | Wrong client ID or tenant | Verify app registration and permissions |\n| `Could not obtain conversation_id` | Agent not published or wrong config | Verify agent is published |\n","# Chat via Copilot Studio SDK\n\nSend a single utterance to a published agent via the Copilot Studio Client SDK. Use this for agents with **integrated authentication \u002F Entra ID SSO** (authenticationmode 2).\n\n## Prerequisites\n\nRequires prior authentication via `\u002Fcopilot-studio:test-auth`. Do NOT ask the user for a client ID yourself — the test-auth skill handles app registration setup and authentication.\n\n## Instructions\n\n1. Run the script with `--client-id` and the utterance from `$ARGUMENTS`:\n\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js \\\n     --client-id \"\u003CclientId>\" \"\u003Cutterance>\" [--agent-dir \u003Cpath>]\n   ```\n\n2. **Authentication**: Requires prior authentication via `\u002Fcopilot-studio:test-auth`. The token is cached in the `\"test-agent\"` slot and shared with the eval API. If auth fails or the SDK hangs, tell the caller to re-run `test-auth`.\n\n3. Parse the JSON output from stdout:\n\n```json\n{\n  \"status\": \"ok\",\n  \"protocol\": \"m365\",\n  \"utterance\": \"hello\",\n  \"conversation_id\": \"abc123-...\",\n  \"start_activities\": [ ... ],\n  \"activities\": [ ... ]\n}\n```\n\nDisplay the agent's response from the `activities` array:\n- **Text**: activities where `type === \"message\"` — show `text`\n- **Suggested actions**: `suggestedActions.actions` array\n- **Adaptive cards**: `attachments` with `contentType === \"application\u002Fvnd.microsoft.card.adaptive\"`\n\n**Save `conversation_id`** for follow-ups.\n\n## Multi-turn\n\nPass `--conversation-id` from the previous response:\n\n```bash\nnode ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js \\\n  --client-id \"\u003Cid>\" \"\u003Cfollow-up>\" --conversation-id \"\u003Cid>\"\n```\n\nSDK sessions do not expire as quickly as DirectLine. Reuse `conversation_id` automatically for follow-ups.\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| `Authentication failed` | Wrong client ID or tenant | Verify app registration and permissions |\n| `Could not obtain conversation_id` | Agent not published or wrong config | Verify agent is published |\n",{"agent":40,"description":7,"allowed-tools":41,"argument-hint":42,"user-invocable":36},"copilot-studio-test","Bash(node *chat-with-agent.bundle.js *), Read, Glob","\u003Cutterance>","main","9c42d3a612c6e06389b6e5b4eed579aaed1a8b63","skills\u002Fchat-sdk",103,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 17:03:17",{"source":9,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add microsoft\u002Fskills-for-copilot-studio --skill chat-sdk",{"tool":58,"command":59},"bunx","bunx skills add microsoft\u002Fskills-for-copilot-studio --skill chat-sdk",{"tool":61,"command":62},"pnpm","pnpm dlx skills add microsoft\u002Fskills-for-copilot-studio --skill chat-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fchat-sdk\u002FSKILL.md",true,[],[67,78,91,105,117,129],{"skillNo":68,"name":69,"nameZh":70,"description":71,"descriptionZh":72,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":73,"categories":74,"keywords":77,"publishedAt":35},"01M699FD973RBVBTQYE48GBFPG","validate","Copilot Studio YAML 校验","Validate Copilot Studio agent YAML files using the LSP binary's full diagnostics (YAML structure, Power Fx, schema, cross-file references). Use when the user asks to check, validate, or verify YAML files.","使用 LSP 二进制文件的完整诊断能力（YAML 结构、Power Fx、schema、跨文件引用）校验 Copilot Studio 智能体的 YAML 文件。当用户要求检查、验证或核对 YAML 文件时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fvalidate\u002FSKILL.md",[75,76],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[69],{"skillNo":79,"name":80,"nameZh":81,"description":82,"descriptionZh":83,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":88,"publishedAt":35},"01M699FBJC22B4HCFH9MA844C3","test-auth","Copilot Studio 测试身份验证","Authenticate for Copilot Studio evaluation API and SDK chat. Caches a token that is shared across run-eval and chat-sdk skills. Run this before any eval or SDK chat workflow. Requires an App Registration with MakerOperations and Copilots.Invoke permissions.","为 Copilot Studio 评估 API 和 SDK 聊天进行身份验证。缓存一个在 run-eval 和 chat-sdk 技能之间共享的令牌。在任何评估或 SDK 聊天工作流之前运行此技能。要求使用具有 MakerOperations 和 Copilots.Invoke 权限的 App Registration。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Ftest-auth\u002FSKILL.md",[86,87],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[33,34,89,31,90],"test auth","workflow",{"skillNo":92,"name":93,"nameZh":94,"description":95,"descriptionZh":96,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":97,"categories":98,"keywords":103,"publishedAt":35},"01M699FA38G1TAVA0JWD9DG783","run-tests-kit","Copilot Studio Kit 批量测试","Run a batch test suite via the Copilot Studio Kit (Dataverse API). Uses the Power CAT Copilot Studio Kit to execute test cases against a published agent and produces pass\u002Ffail results with latencies. Requires the Kit installed in the environment, an App Registration with Dataverse permissions, and a published agent.","通过 Copilot Studio Kit (Dataverse API) 运行批量测试套件。使用 Power CAT Copilot Studio Kit 对已发布的智能体执行测试用例，并生成包含延迟的通过\u002F失败结果。要求环境中已安装 Kit、具有 Dataverse 权限的 App Registration，以及已发布的智能体。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Frun-tests-kit\u002FSKILL.md",[99,102],{"categoryNo":100,"categoryName":101,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[104,33],"run tests kit",{"skillNo":106,"name":107,"nameZh":108,"description":109,"descriptionZh":110,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":111,"categories":112,"keywords":115,"publishedAt":35},"01M699F8EP4BZT1EA3R4Y40X98","run-eval","Copilot Studio 智能体评估运行","Run evaluations against a Copilot Studio agent via the Power Platform Evaluation API. Works on DRAFT agents — no publish step required. Lists test sets, starts a run, polls until complete, fetches results, and proposes YAML fixes for failures. Use when the user wants to test agent changes without publishing.","通过 Power Platform Evaluation API 对 Copilot Studio 智能体运行评估。适用于草稿(DRAFT)智能体——无需发布步骤。列出测试集、启动运行、轮询直至完成、获取结果，并针对失败提出 YAML 修复建议。当用户希望在不发布的情况下测试智能体更改时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Frun-eval\u002FSKILL.md",[113,114],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[116,33],"run eval",{"skillNo":118,"name":119,"nameZh":120,"description":121,"descriptionZh":122,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":123,"categories":124,"keywords":127,"publishedAt":35},"01M699F6NR5Z4RTN5MWH5WYV9H","new-topic","Copilot Studio 主题创建","Create a new Copilot Studio topic YAML file. Use when the user asks to create a new topic, conversation flow, or dialog for their agent.","创建一个新的 Copilot Studio 主题（topic）YAML 文件。当用户要求为其智能体创建新主题、对话流程或对话框时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fnew-topic\u002FSKILL.md",[125,126],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[128],"new topic",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":139,"publishedAt":35},"01M699F4QN5BMQA3X9F7WC1NS0","manage-agent","Copilot Studio 智能体管理","Push\u002Fpull Copilot Studio agent content via the VS Code extension's LanguageServerHost LSP binary. Handles authentication (interactive browser login for push\u002Fpull, device code flow for chat token), sync push, sync pull, clone, and diff operations.","通过 VS Code 扩展的 LanguageServerHost LSP 二进制文件推送\u002F拉取 Copilot Studio 智能体内容。处理身份验证（推送\u002F拉取使用交互式浏览器登录，聊天令牌使用设备代码流）、同步推送、同步拉取、克隆和差异比较操作。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fmanage-agent\u002FSKILL.md",[137,138],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[140,34,141],"manage agent","sync"]