add-action
Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup,…
Edit Copilot Studio agent settings, instructions, or configuration. Use when the user asks to change agent instructions, display name, conversation starters, AI settings, or generative actions toggle.
Claude Code
$ npx -y skills add microsoft/skills-for-copilot-studio --skill edit-agent --agent claude-code
Codex
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a codex -y
Cursor
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a cursor -y
Gemini CLI
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a github-copilot -y
OpenCode
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a opencode -y
Windsurf
$ npx skills add microsoft/skills-for-copilot-studio --skill edit-agent -a windsurf -y
user-invocable: false description: Edit Copilot Studio agent settings, instructions, or configuration. Use when the user asks to change agent instructions, display name, conversation starters, AI settings, or generative actions toggle. argument-hint: <what to change> allowed-tools: Bash(node *schema-lookup.bundle.js *), Read, Edit, Glob context: fork agent: copilot-studio-author
Modify agent metadata (`agent.mcs.yml`) or configuration (`settings.mcs.yml`).
1. **Auto-discover the agent directory**:
Glob: **/agent.mcs.yml
NEVER hardcode an agent name. If multiple agents found, ask which one.
2. **Identify what the user wants to change** and read the appropriate file:
3. **If the user wants to change the AI model**, run the schema lookup tool first:
node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js modelsUse the output to determine the correct `modelNameHint` and `provider` values. **CRITICAL:** Do NOT include `kind` in the model block — the agent-level schema uses `CurrentModelsNoKind`.
4. **Read the current file** before making any changes.
5. **Make the requested changes** using the Edit tool.
| Field | Description | Example | |-------|-------------|---------| | `displayName` | Agent's display name | `displayName: My Agent` | | `instructions` | System prompt / personality | Multi-line YAML with `\|` | | `conversationStarters` | Suggested conversation starters | Array of `{title, text}` | | `aISettings.model.modelNameHint` | Model hint (run `models` command for convention) | `Sonnet46`, `GPT5Chat` | | `aISettings.model.provider` | Model provider (required for non-OpenAI) | `Anthropic` |
| Field | Description | Example | |-------|-------------|---------| | `GenerativeActionsEnabled` | Enable generative orchestration | `true` / `false` | | `authenticationMode` | Auth mode | `Integrated`, `None` | | `authenticationTrigger` | When to auth | `Always`, `AsNeeded` | | `accessControlPolicy` | Access control | `ChatbotReaders` | | `configuration.aISettings.*` | AI capabilities | Various booleans | | `configuration.settings.*.content.capabilities.webBrowsing` | Web browsing | `true` / `false` |
For detailed guidance on writing knowledge-aware instructions, grounding directives, citation control, and scope enforcement, see [instructions-guide.md](instructions-guide.md).
If the user asks to change any of these, warn them.
instructions: | You are a customer support agent for Contoso Ltd. Guidelines: - Be professional and empathetic - Always verify the customer's identity first - Escalate billing issues to a human agent
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…