AGENT SKILL

list-topics

List all topics in the Copilot Studio agent with their trigger types, phrases, and action counts. Use when the user wants to see what topics exist.

License 许可
MIT
最近更新
2026-11-12
Stars
★ 493
Forks
103

01 前言 Front Matter

description
List all topics in the Copilot Studio agent with their trigger types, phrases, and action counts. Use when the user wants to see what topics exist.
allowed-tools
Read, Glob, Grep
user-invocable
false

03 SKILL.md 正文

List Topics in Solution

List all topics in the current agent with their trigger types and details.

Instructions

  1. Auto-discover the agent directory — find all agents via:

    Glob: **/agent.mcs.yml
    
    • If multiple agents found, list them and ask which one to inspect.
    • NEVER hardcode an agent name or path.
  2. Find all topic files in the discovered agent directory:

    Glob: <discovered-agent>/topics/*.topic.mcs.yml
    
  3. For each topic file, read it and extract:

    • Topic name (from the # Name: comment or filename)
    • Trigger type (from beginDialog.kind)
    • Trigger phrases (if OnRecognizedIntent, from triggerQueries)
    • Number of actions in the actions array
    • Dialog references (any BeginDialog or ReplaceDialog calls)
  4. Present results in a table:

    | # | Topic Name | Trigger | Phrases | Actions | Calls |
    |---|------------|---------|---------|---------|-------|
    | 1 | Greeting   | OnRecognizedIntent | Hello, Hi, Hey | 2 | - |
    | 2 | Fallback   | OnUnknownIntent | - | 4 | Escalate |
    
  5. Note any system topics (OnError, OnSelectIntent, OnSignIn) that should be modified with care.

04 同仓库更多 Skills

microsoft
microsoft/skills-for-copilot-studio

validate

Validate Copilot Studio agent YAML files using the LSP binary's full diagnostics (YAML structure, Power Fx, schema, cross-file references). Use when the user asks to check, validate, or verify YAML files.

Skill与智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

test-auth

Authenticate for Copilot Studio evaluation API and SDK chat. Caches a token that is shared across run-eval and chat-sdk skills. Run this before any eval or SDK chat workflow. Requires an App Registration with MakerOperations and Copilots.Invoke permissions.

测试与质量后端与接口
★ 493
microsoft
microsoft/skills-for-copilot-studio

run-tests-kit

Run a batch test suite via the Copilot Studio Kit (Dataverse API). Uses the Power CAT Copilot Studio Kit to execute test cases against a published agent and produces pass/fail results with latencies. Requires the Kit installed in the environment, an App Registration with Dataverse permissions, and a published agent.

测试与质量
★ 493
microsoft
microsoft/skills-for-copilot-studio

run-eval

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.

测试与质量后端与接口
★ 493
microsoft
microsoft/skills-for-copilot-studio

new-topic

Create a new Copilot Studio topic YAML file. Use when the user asks to create a new topic, conversation flow, or dialog for their agent.

Skill与智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

manage-agent

Push/pull Copilot Studio agent content via the VS Code extension's LanguageServerHost LSP binary. Handles authentication (interactive browser login for push/pull, device code flow for chat token), sync push, sync pull, clone, and diff operations.

Skill与智能体开发
★ 493