add-action
Guide users through adding a new connector action to a Copilot Studio agent. Connector…
Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern
$ npx -y skills add microsoft/skills-for-copilot-studio --skill int-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/int-patternsContext preview
The summary Claude sees to decide when to auto-load this skill.
Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern
user-invocable: false name: int-patterns description: "Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern suggestions, review against best practices, troubleshooting known pitfalls, YAML reference during implementation. DO NOT USE FOR: general YAML schema reference (use int-reference), topic creation mechanics (use new-topic)." context: fork
**Only read the pattern file relevant to the current task** — do NOT read all files.
Patterns are **recommendations, not requirements**. How you present them depends on your role:
**If you are the Advisor agent:**
**If you are the Author agent:**
Loads customer-specific acronyms into a global variable on first message so the orchestrator can expand them before searching knowledge sources.
**Read this pattern when:**
Loads the current user's M365 profile (country, department) into global variables for personalized answers.
**Read this pattern when:**
Uses a Switch expression inside a BeginDialog node to route to different topics based on a variable.
**Read this pattern when:**
Stops child agents from messaging users directly by instructing them to use output variables.
**Read this pattern when:**
Injects the current date into agent instructions using Power Fx for accurate date-relative responses.
**Read this pattern when:**
Uses AutomaticTaskInput to classify or extract structured data from the user's message at orchestration time — zero extra cost or latency.
**Read this pattern when:**
Stops the orchestrator from leaking internal reasoning and tool call metadata to the end user.
**Read this pattern when:**
Detects the host channel from `System.Activity.ChannelId` and gates behavior per surface (Teams, M365 Copilot, web chat, Direct Line, voice).
**Read this pattern when:**
Classifies Azure OpenAI content-filter errors by subcode in the OnError topic and returns category-specific user messages with telemetry. Azure OpenAI models only — does not work with Anthropic or xAI models.
**Read this pattern when:**
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.
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…