add-action
Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup,…
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
Claude Code
$ npx -y skills add microsoft/skills-for-copilot-studio --skill run-eval --agent claude-code
Codex
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a codex -y
Cursor
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a cursor -y
Gemini CLI
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a github-copilot -y
OpenCode
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a opencode -y
Windsurf
$ npx skills add microsoft/skills-for-copilot-studio --skill run-eval -a windsurf -y
user-invocable: false description: > 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. allowed-tools: Bash(node *eval-api.bundle.js *), Bash(node *manage-agent.bundle.js push *), Bash(node *manage-agent.bundle.js pull *), Read, Glob, Grep, Edit context: fork agent: copilot-studio-test
Run evaluations against a Copilot Studio agent's **draft** — no publish needed.
The caller (test agent) must provide `--client-id` and `--workspace`. If you don't have the client ID, return immediately and tell the caller to run `test-auth` first.
All eval-api commands run in the **foreground**. NEVER use `run_in_background`.
node ${CLAUDE_SKILL_DIR}/../../scripts/eval-api.bundle.js list-testsets --workspace <path> --client-id <id>**You MUST ask this question and wait for the user's answer before starting the run.**
Ask the user:
> **Does your agent use authenticated knowledge sources or connector actions (tools) that require user identity?** > If so, you'll need to provide a connection ID — without it, the eval runs anonymously and **tools and knowledge sources will not be used**. > > **How to obtain the connection ID:** > 1. Go to https://make.powerautomate.com > 2. Open **Connections** from the side menu > 3. Select the relevant **Microsoft Copilot Studio** connection > 4. Copy the connection ID from the URL (the GUID segment after `/connections/`) > > If your agent doesn't use authenticated knowledge or tools, you can skip this.
**Do not proceed to Step 3 until the user responds.**
node ${CLAUDE_SKILL_DIR}/../../scripts/eval-api.bundle.js start-run --workspace <path> --client-id <id> --testset-id <id> --run-name "Draft eval <date>"Add `--connection-id <id>` if the user provided a connection ID in Step 2.
Add `--published` only if the user explicitly asked for published-bot testing.
node ${CLAUDE_SKILL_DIR}/../../scripts/eval-api.bundle.js get-run --workspace <path> --client-id <id> --run-id <runId>Poll every 15-30 seconds. Report progress: "Processing: 3/10 test cases..."
Stop when `state` is `Completed`, `Failed`, `Abandoned`, or `Cancelled`.
node ${CLAUDE_SKILL_DIR}/../../scripts/eval-api.bundle.js get-results --workspace <path> --client-id <id> --run-id <runId>Present a summary table (total, passed, failed, errors). For failures:
| Metric | What to check | |--------|---------------| | `GeneralQuality` Fail | Which of relevance/completeness/groundedness/abstention failed | | `ExactMatch` Fail | Score 0.0–1.0 | | `CapabilityUse` Fail | `missingInvocationSteps` | | `Error` status | `errorReason` — often a test set config issue, not a YAML issue |
For YAML authoring failures: find the relevant topic, read it, propose specific edits. Wait for user approval before applying.
After applying: offer to push and re-run (go back to Step 3).
A plugin for Claude Code, GitHub Copilot CLI, and VS Code that enables authoring, testing, and troubleshooting Microsoft Copilot Studio STANDARD agents through YAML files — directly from your terminal or editor.
Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup,…
Generate and insert an Adaptive Card into a Copilot Studio topic using AdaptiveCardPrompt. Use when the user asks to add an…
Add generative answer nodes (SearchAndSummarizeContent or AnswerQuestionWithAI) to a Copilot Studio topic. Use this instead of…
Add a global variable to a Copilot Studio agent. Use when the user needs a variable that persists across topics in the same…
Add a knowledge source (public website or SharePoint) to a Copilot Studio agent. Use when the user asks to add a knowledge…
Add or modify a node in an existing Copilot Studio topic. Use when the user asks to add a question, message, condition, variable,…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…