add-action
Guide users through adding a new connector action to a Copilot Studio agent. Connector…
Modify topic triggers — trigger phrases and model description. Use when the user asks to add, remove, or change trigger phrases, or edit a topic's model description.
$ npx -y skills add microsoft/skills-for-copilot-studio --skill edit-triggers --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/edit-triggersContext preview
The summary Claude sees to decide when to auto-load this skill.
Modify topic triggers — trigger phrases and model description. Use when the user asks to add, remove, or change trigger phrases, or edit a topic's model description.
user-invocable: false description: Modify topic triggers — trigger phrases and model description. Use when the user asks to add, remove, or change trigger phrases, or edit a topic's model description. argument-hint: <topic-name> allowed-tools: Read, Edit, Glob context: fork agent: copilot-studio-author
Modify how a topic gets triggered: **trigger phrases** (`triggerQueries`) and **model description** (`modelDescription`).
1. **Auto-discover the agent directory**:
Glob: **/agent.mcs.yml
NEVER hardcode an agent name.
2. **Find the target topic**:
Glob: <agent-dir>/topics/*.topic.mcs.yml
If `$ARGUMENTS` specifies a topic name, match it. Otherwise, list all topics and ask which one.
3. **Read the topic file** and identify what to change.
4. **Check the agent's settings.mcs.yml** for `GenerativeActionsEnabled`. This determines which trigger mechanism matters most.
5. **Make the requested changes** using the Edit tool.
The `modelDescription` is a natural language description at the root of an `AdaptiveDialog` that tells the generative orchestrator **when to route to this topic**. When `GenerativeActionsEnabled: true`, this is the **primary way the agent decides which topic to trigger** — even more important than trigger phrases.
kind: AdaptiveDialog modelDescription: This topic helps users order a pizza by collecting their preferred size, toppings, and delivery address. beginDialog: kind: OnRecognizedIntent id: main ...
# Good — specific about what the topic does and when to use it modelDescription: Use this topic when the user asks for help or needs assistance with something. Search the SharePoint knowledge base to find relevant information. # Good — describes the full flow modelDescription: This topic takes the user's favorite color, generates a word by concatenating the color with four random digits, and returns the generated word. If the color is white, it also provides information about the wavelength. # Good — describes the computation modelDescription: This sample topic performs the sum between the two numbers in input
Trigger phrases are used for intent recognition. They live inside `beginDialog.intent.triggerQueries`.
**Only topics with `OnRecognizedIntent` triggers have editable trigger phrases.** Other trigger types (OnConversationStart, OnUnknownIntent, etc.) are system-triggered and don't use phrases.
kind: AdaptiveDialog
modelDescription: This topic helps users with greeting and introduction.
beginDialog:
kind: OnRecognizedIntent
id: main
intent:
displayName: Greeting
triggerQueries:
- Hello
- Hi
- Hey
- Good morning
- Good afternoonA 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.
Repo: microsoft/skills-for-copilot-studio
Guide users through adding a new connector action to a Copilot Studio agent. Connector…
Generate and insert an Adaptive Card into a Copilot Studio topic using AdaptiveCardPrompt.…
Add generative answer nodes (SearchAndSummarizeContent or AnswerQuestionWithAI) to a Copilot…
Add a global variable to a Copilot Studio agent. Use when the user needs a variable that…
Add a knowledge source (public website or SharePoint) to a Copilot Studio agent. Use when the…
Add or modify a node in an existing Copilot Studio topic. Use when the user asks to add a…