# 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.

- **Type:** Skill
- **Install:** `agentstack add skill-microsoft-skills-for-copilot-studio-list-topics`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [microsoft](https://agentstack.voostack.com/s/microsoft)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [microsoft](https://github.com/microsoft)
- **Source:** https://github.com/microsoft/skills-for-copilot-studio/tree/main/skills/list-topics

## Install

```sh
agentstack add skill-microsoft-skills-for-copilot-studio-list-topics
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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: /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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [microsoft](https://github.com/microsoft)
- **Source:** [microsoft/skills-for-copilot-studio](https://github.com/microsoft/skills-for-copilot-studio)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-microsoft-skills-for-copilot-studio-list-topics
- Seller: https://agentstack.voostack.com/s/microsoft
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
