[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699EMV7B1RADAHX1HPARRSV":3,"skill-same:01M699EMV7B1RADAHX1HPARRSV":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M699EMV7B1RADAHX1HPARRSV","detect-mode",null,"Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat.","microsoft\u002Fskills-for-copilot-studio","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699DXBD563FYBGWKPJJRAVM",493,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fdetect-mode\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25],"detect mode","test","2026-11-10 10:12:30",false,"---\nuser-invocable: false\ndescription: Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat.\nargument-hint: [--agent-dir \u003Cpath>]\nallowed-tools: Bash(node *chat-with-agent.bundle.js --detect-only *), Read, Glob\nagent: copilot-studio-test\n---\n\n# Detect Agent Authentication Mode\n\nQuery the Dataverse `bots` entity to determine whether the agent uses DirectLine (no auth \u002F manual auth) or the Copilot Studio SDK (integrated auth \u002F Entra ID SSO).\n\n## Instructions\n\n1. Run the detect-only command:\n\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js --detect-only $ARGUMENTS\n   ```\n\n   If the agent is not at the project root, pass `--agent-dir \u003Cpath>`.\n\n2. Parse the JSON output from stdout:\n\n   ### DirectLine mode (authenticationmode 1 or 3)\n   ```json\n   { \"status\": \"ok\", \"mode\": \"directline\", \"authenticationmode\": 1, \"tokenEndpoint\": \"https:\u002F\u002F...\", \"schemaName\": \"...\" }\n   ```\n   The agent uses **no authentication** or **manual authentication**. No user credentials needed. The `tokenEndpoint` is ready to use with `\u002Fcopilot-studio:chat-directline`.\n\n   ### M365 mode (authenticationmode 2)\n   ```json\n   { \"status\": \"ok\", \"mode\": \"m365\", \"authenticationmode\": 2, \"schemaName\": \"...\" }\n   ```\n   The agent uses **integrated authentication (Entra ID SSO)**. An App Registration Client ID is needed for `\u002Fcopilot-studio:chat-sdk`.\n\n3. Return the result to the caller. Do not proceed to chat — that is a separate step.\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| `No agent.mcs.yml found` | No agent in workspace | Clone the agent first |\n| `No .mcs\u002Fconn.json found` | Agent not cloned via VS Code extension | Clone with the extension |\n| `Could not detect authentication mode` | No cached Dataverse token | Run a push\u002Fpull first to cache tokens, or ask the user about their auth config |\n","# Detect Agent Authentication Mode\n\nQuery the Dataverse `bots` entity to determine whether the agent uses DirectLine (no auth \u002F manual auth) or the Copilot Studio SDK (integrated auth \u002F Entra ID SSO).\n\n## Instructions\n\n1. Run the detect-only command:\n\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fchat-with-agent.bundle.js --detect-only $ARGUMENTS\n   ```\n\n   If the agent is not at the project root, pass `--agent-dir \u003Cpath>`.\n\n2. Parse the JSON output from stdout:\n\n   ### DirectLine mode (authenticationmode 1 or 3)\n   ```json\n   { \"status\": \"ok\", \"mode\": \"directline\", \"authenticationmode\": 1, \"tokenEndpoint\": \"https:\u002F\u002F...\", \"schemaName\": \"...\" }\n   ```\n   The agent uses **no authentication** or **manual authentication**. No user credentials needed. The `tokenEndpoint` is ready to use with `\u002Fcopilot-studio:chat-directline`.\n\n   ### M365 mode (authenticationmode 2)\n   ```json\n   { \"status\": \"ok\", \"mode\": \"m365\", \"authenticationmode\": 2, \"schemaName\": \"...\" }\n   ```\n   The agent uses **integrated authentication (Entra ID SSO)**. An App Registration Client ID is needed for `\u002Fcopilot-studio:chat-sdk`.\n\n3. Return the result to the caller. Do not proceed to chat — that is a separate step.\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| `No agent.mcs.yml found` | No agent in workspace | Clone the agent first |\n| `No .mcs\u002Fconn.json found` | Agent not cloned via VS Code extension | Clone with the extension |\n| `Could not detect authentication mode` | No cached Dataverse token | Run a push\u002Fpull first to cache tokens, or ask the user about their auth config |\n",{"agent":31,"description":7,"allowed-tools":32,"argument-hint":33,"user-invocable":27},"copilot-studio-test","Bash(node *chat-with-agent.bundle.js --detect-only *), Read, Glob",[34],"--agent-dir \u003Cpath>","main","9c42d3a612c6e06389b6e5b4eed579aaed1a8b63","skills\u002Fdetect-mode",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":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add microsoft\u002Fskills-for-copilot-studio --skill detect-mode",{"tool":50,"command":51},"bunx","bunx skills add microsoft\u002Fskills-for-copilot-studio --skill detect-mode",{"tool":53,"command":54},"pnpm","pnpm dlx skills add microsoft\u002Fskills-for-copilot-studio --skill detect-mode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fdetect-mode\u002FSKILL.md",true,[],[59,67,84,93,104,113],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":66,"publishedAt":26},"01M699FD973RBVBTQYE48GBFPG","validate","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fvalidate\u002FSKILL.md",[65],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[61],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":79,"publishedAt":26},"01M699FBJC22B4HCFH9MA844C3","test-auth","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Ftest-auth\u002FSKILL.md",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",[25,80,81,82,83],"auth","test auth","sdk","workflow",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":26},"01M699FA38G1TAVA0JWD9DG783","run-tests-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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Frun-tests-kit\u002FSKILL.md",[90],{"categoryNo":74,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},[92,25],"run tests kit",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":102,"publishedAt":26},"01M699F8EP4BZT1EA3R4Y40X98","run-eval","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Frun-eval\u002FSKILL.md",[99,100,101],{"categoryNo":74,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[103,25],"run eval",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":111,"publishedAt":26},"01M699F6NR5Z4RTN5MWH5WYV9H","new-topic","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fnew-topic\u002FSKILL.md",[110],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[112],"new topic",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":120,"publishedAt":26},"01M699F4QN5BMQA3X9F7WC1NS0","manage-agent","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills-for-copilot-studio\u002Fblob\u002Fmain\u002Fskills\u002Fmanage-agent\u002FSKILL.md",[119],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[121,80,122],"manage agent","sync"]