
list-topics
✓ Official★ 345by microsoft · part of microsoft/skills-for-copilot-studio
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.
This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.
List Topics in Solution
List all topics in the current agent with their trigger types and details.
Instructions
-
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.
-
Find all topic files in the discovered agent directory:
Glob: <discovered-agent>/topics/*.topic.mcs.yml -
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, fromtriggerQueries) - Number of actions in the
actionsarray - Dialog references (any
BeginDialogorReplaceDialogcalls)
- Topic name (from the
-
Present results in a table:
| # | Topic Name | Trigger | Phrases | Actions | Calls | |---|------------|---------|---------|---------|-------| | 1 | Greeting | OnRecognizedIntent | Hello, Hi, Hey | 2 | - | | 2 | Fallback | OnUnknownIntent | - | 4 | Escalate | -
Note any system topics (OnError, OnSelectIntent, OnSignIn) that should be modified with care.
npx skills add https://github.com/microsoft/skills-for-copilot-studio --skill list-topicsRun this in your project — your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MIT— you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub →