[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699KKGWKCFQQ6PB9QW5W62R":3,"skill-same:01M699KKGWKCFQQ6PB9QW5W62R":74},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":73},"01M699KKGWKCFQQ6PB9QW5W62R","add-mcscopilot",null,"Adds Microsoft Copilot Studio connector to a Power Apps code app. Use when invoking Copilot Studio agents, sending prompts to agents, or integrating agent responses.","microsoft\u002Fpower-platform-skills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699JVYJFB75D9JM70BN4H0Q",1149,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-apps\u002Fskills\u002Fadd-mcscopilot\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,9,35,36,37,38,39,40,41,42],"add mcscopilot","add","use","when","true","studio","apps","app","lsp","Connector","power","write","read","Bash","code","microsoft copilot","copilot studio","copilot","power apps","2026-11-10 10:12:30",false,"---\nname: add-mcscopilot\ndescription: Adds Microsoft Copilot Studio connector to a Power Apps code app. Use when invoking Copilot Studio agents, sending prompts to agents, or integrating agent responses.\nuser-invocable: true\nallowed-tools: Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill\nmodel: sonnet\n---\n\n**? Shared Instructions: [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md)** - Cross-cutting concerns.\n\n# Add Microsoft Copilot Studio\n\n## Workflow\n\n1. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank\n\n---\n\n### Step 1: Check Memory Bank\n\nCheck for `memory-bank.md` per [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md).\n\n### Step 2: Add Connector\n\nGet the connection as described in [connector-reference.md](..\u002F..\u002Fshared\u002Fconnector-reference.md#connections).\n\n**CLI 1.3.0+ (`PA_INLINE_CONNECTIONS=yes`):** tell the user that adding Microsoft Copilot Studio may create a connection with their account, then run the add without `-c` and handle the result with the outcome table in connector-reference.md:\n\n```bash\npa app add data-source --connector microsoftcopilotstudio --non-interactive\n```\n\n**Older CLIs:** run `\u002Flist-connections` to find the Microsoft Copilot Studio connection ID (if none exists, create one with `pa connection create` as described in connector-reference.md), then:\n\n```bash\npa app add data-source --connector microsoftcopilotstudio -c \u003Cconnection-id>\n```\n\n### Step 3: Configure\n\nAsk the user which Copilot Studio agent they want to invoke and what operations they need.\n\n**Agent Setup Prerequisites** (manual steps the user must complete in Copilot Studio):\n\n1. **Publish the agent**: In Copilot Studio, click Channels → select Teams → add to Teams → click Publish.\n2. **Get the agent name**: Under Channels, click \"Web app\". The connection string URL contains the agent name. Example: `https:\u002F\u002F...api.powerplatform.com\u002Fcopilotstudio\u002Fdataverse-backed\u002Fauthenticated\u002Fbots\u002Fcr3e1_myAgent\u002Fconversations?...` — the agent name is `cr3e1_myAgent`.\n\n**ExecuteCopilotAsyncV2** -- execute an agent and wait for the response:\n\nUse the `ExecuteCopilotAsyncV2` operation (path: `\u002Fproactivecopilot\u002FexecuteAsyncV2`). This is the **only** endpoint that reliably returns agent responses synchronously. It is the same endpoint used by Power Automate's \"Execute Agent and wait\" action.\n\n```typescript\nconst result = await MicrosoftCopilotStudioService.ExecuteCopilotAsyncV2({\n  message: \"Your prompt or data here\", \u002F\u002F Can be a JSON string\n  notificationUrl: \"https:\u002F\u002Fnotificationurlplaceholder\" \u002F\u002F Required by API but unused; any URL works\n});\n\n\u002F\u002F Response structure:\n\u002F\u002F result.responses — Array of response strings from the agent\n\u002F\u002F result.conversationId — The conversation ID\n\u002F\u002F result.lastResponse — The last response from the agent\n\u002F\u002F result.completed — Boolean indicating if the agent finished\n```\n\n**Important:** Agents often return responses as JSON strings. Parse the `responses` array to extract meaningful data:\n\n```typescript\nconst agentResponse = result.responses?.[0];\nif (agentResponse) {\n  const parsed = JSON.parse(agentResponse);\n  \u002F\u002F Extract specific fields, e.g., parsed.trend_summary\n}\n```\n\nUse `Grep` to find specific methods in the generated service file (generated files can be very large — see [connector-reference.md](..\u002F..\u002Fshared\u002Fconnector-reference.md#inspecting-large-generated-files)).\n\n#### Known Issues\n\n- **ExecuteCopilot** (`\u002Fexecute`) -- fire-and-forget, only returns `ConversationId`, not the actual response. Do NOT use this.\n- **ExecuteCopilotAsync** (`\u002FexecuteAsync`) -- returns 502 \"Cannot read server response\" errors. Do NOT use this.\n- **Conversation turn model** (`\u002Fconversations\u002F{ConversationId}`) -- only works after `\u002Fexecute`, which doesn't provide responses. Do NOT use this.\n- **Response casing varies** -- check all variations: `conversationId`, `ConversationId`, `conversationID`.\n\n### Step 4: Build\n\n```bash\nnpm run build\n```\n\nFix TypeScript errors before proceeding. Do NOT deploy yet.\n\n### Step 5: Update Memory Bank\n\nUpdate `memory-bank.md` with: connector added, agent name configured, configured operations, build status.\n","**? Shared Instructions: [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md)** - Cross-cutting concerns.\n\n# Add Microsoft Copilot Studio\n\n## Workflow\n\n1. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank\n\n---\n\n### Step 1: Check Memory Bank\n\nCheck for `memory-bank.md` per [shared-instructions.md](..\u002F..\u002Fshared\u002Fshared-instructions.md).\n\n### Step 2: Add Connector\n\nGet the connection as described in [connector-reference.md](..\u002F..\u002Fshared\u002Fconnector-reference.md#connections).\n\n**CLI 1.3.0+ (`PA_INLINE_CONNECTIONS=yes`):** tell the user that adding Microsoft Copilot Studio may create a connection with their account, then run the add without `-c` and handle the result with the outcome table in connector-reference.md:\n\n```bash\npa app add data-source --connector microsoftcopilotstudio --non-interactive\n```\n\n**Older CLIs:** run `\u002Flist-connections` to find the Microsoft Copilot Studio connection ID (if none exists, create one with `pa connection create` as described in connector-reference.md), then:\n\n```bash\npa app add data-source --connector microsoftcopilotstudio -c \u003Cconnection-id>\n```\n\n### Step 3: Configure\n\nAsk the user which Copilot Studio agent they want to invoke and what operations they need.\n\n**Agent Setup Prerequisites** (manual steps the user must complete in Copilot Studio):\n\n1. **Publish the agent**: In Copilot Studio, click Channels → select Teams → add to Teams → click Publish.\n2. **Get the agent name**: Under Channels, click \"Web app\". The connection string URL contains the agent name. Example: `https:\u002F\u002F...api.powerplatform.com\u002Fcopilotstudio\u002Fdataverse-backed\u002Fauthenticated\u002Fbots\u002Fcr3e1_myAgent\u002Fconversations?...` — the agent name is `cr3e1_myAgent`.\n\n**ExecuteCopilotAsyncV2** -- execute an agent and wait for the response:\n\nUse the `ExecuteCopilotAsyncV2` operation (path: `\u002Fproactivecopilot\u002FexecuteAsyncV2`). This is the **only** endpoint that reliably returns agent responses synchronously. It is the same endpoint used by Power Automate's \"Execute Agent and wait\" action.\n\n```typescript\nconst result = await MicrosoftCopilotStudioService.ExecuteCopilotAsyncV2({\n  message: \"Your prompt or data here\", \u002F\u002F Can be a JSON string\n  notificationUrl: \"https:\u002F\u002Fnotificationurlplaceholder\" \u002F\u002F Required by API but unused; any URL works\n});\n\n\u002F\u002F Response structure:\n\u002F\u002F result.responses — Array of response strings from the agent\n\u002F\u002F result.conversationId — The conversation ID\n\u002F\u002F result.lastResponse — The last response from the agent\n\u002F\u002F result.completed — Boolean indicating if the agent finished\n```\n\n**Important:** Agents often return responses as JSON strings. Parse the `responses` array to extract meaningful data:\n\n```typescript\nconst agentResponse = result.responses?.[0];\nif (agentResponse) {\n  const parsed = JSON.parse(agentResponse);\n  \u002F\u002F Extract specific fields, e.g., parsed.trend_summary\n}\n```\n\nUse `Grep` to find specific methods in the generated service file (generated files can be very large — see [connector-reference.md](..\u002F..\u002Fshared\u002Fconnector-reference.md#inspecting-large-generated-files)).\n\n#### Known Issues\n\n- **ExecuteCopilot** (`\u002Fexecute`) -- fire-and-forget, only returns `ConversationId`, not the actual response. Do NOT use this.\n- **ExecuteCopilotAsync** (`\u002FexecuteAsync`) -- returns 502 \"Cannot read server response\" errors. Do NOT use this.\n- **Conversation turn model** (`\u002Fconversations\u002F{ConversationId}`) -- only works after `\u002Fexecute`, which doesn't provide responses. Do NOT use this.\n- **Response casing varies** -- check all variations: `conversationId`, `ConversationId`, `conversationID`.\n\n### Step 4: Build\n\n```bash\nnpm run build\n```\n\nFix TypeScript errors before proceeding. Do NOT deploy yet.\n\n### Step 5: Update Memory Bank\n\nUpdate `memory-bank.md` with: connector added, agent name configured, configured operations, build status.\n",{"name":5,"model":48,"description":7,"allowed-tools":49,"user-invocable":50},"sonnet","Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill",true,"main","9d26fde082b47f04e9bb97cb30a46dd1eaaa776e","plugins\u002Fcode-apps\u002Fskills\u002Fadd-mcscopilot",232,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills","https:\u002F\u002Fmicrosoft.github.io\u002Fpower-platform-skills\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 21:46:39",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":50},[63,66,69],{"tool":64,"command":65},"npx","npx skills add microsoft\u002Fpower-platform-skills --skill add-mcscopilot",{"tool":67,"command":68},"bunx","bunx skills add microsoft\u002Fpower-platform-skills --skill add-mcscopilot",{"tool":70,"command":71},"pnpm","pnpm dlx skills add microsoft\u002Fpower-platform-skills --skill add-mcscopilot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-apps\u002Fskills\u002Fadd-mcscopilot\u002FSKILL.md",[],[75,83,101,124,142,156],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M78JN2BFRRV1J54Q6WKZQ08D","compare-site-configurations","Compare Power Pages site configurations between two environments, such as dev, test and production, or between a local download and the live site, and explain which differences change site behavior. Use when a site works in one environment but not another (for example, works in dev but fails in test), to check configuration drift before promoting or deploying, or to see what changed between two sites. Produces a shareable HTML report and a JSON file that VS Code can import.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fcompare-site-configurations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":43},"01M699WVHX0XN59EPBTTPEKYPG","setup","Use when Process Intelligence needs building, explicit cloud\u002Faccount\u002Fenvironment configuration, sign-in, connection diagnostics, or recovery from an authentication error.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprocess-intelligence\u002Fskills\u002Fsetup\u002FSKILL.md",[],[85,90,91,92,93,94,27,95,96,26,37,97,98,99,36,100],"configuration","diagnostics","error","environment","cloud","connection","authentication","recovery","process","sign","intelligence",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":112,"publishedAt":43},"01M699WSR9EX55YY1WD9J22FEG","report-issue","Use when the user wants a Process Intelligence bug-report draft or support summary for a failed operation.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprocess-intelligence\u002Fskills\u002Freport-issue\u002FSKILL.md",[107],{"categoryNo":108,"categoryName":109,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[113,114,115,116,26,27,117,118,98,119,100,120,121,122,123],"issue","report","report issue","bug-report","operation","draft","bug","summary","user","for","support",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":43},"01M699WR26YQ9Q21KE6MJF5B2G","investigate-process","Use when a broad Process Mining business question, observed pattern or competing explanation needs investigation across analytical perspectives.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprocess-intelligence\u002Fskills\u002Finvestigate-process\u002FSKILL.md",[],[131,98,132,133,26,134,135,27,136,137,138,36,139,140,141],"investigate","investigate process","question","process mining","business","across","perspectives","mining","pattern","investigation","analytical",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":43},"01M699WP9SDG5ZR12P8VYNXKTN","derive-metric","Use when a requested measure is missing, a saved custom metric needs reuse, or an ephemeral formula or derived scalar is needed.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprocess-intelligence\u002Fskills\u002Fderive-metric\u002FSKILL.md",[],[149,150,151,152,153,154,26,27,155,36],"metric","derive metric","missing","formula","custom","reuse","saved",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":43},"01M699WMG5R8P6SMTDAS1TKF9E","compare-cohorts","Use when comparing process cohorts, departments, periods or before-and-after results under matched definitions.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprocess-intelligence\u002Fskills\u002Fcompare-cohorts\u002FSKILL.md",[],[163,164,26,27,165,98,36],"compare","compare cohorts","results"]