github / github/copilot-cli

Agents list print

Open Beginner friendly
#3,109 0 comments 0 reactions 0 assignees View on GitHub
area:agents area:non-interactive
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

List available agents in stdout

### Proposed solution

Right now, if I want to know the list of available agents in a specific CLI session I need to open it and call /agent.

What if I have some pre-step - like I do - in which I'd love to programmatically start a session choosing between available agents?

A `copilot --available-agents`outputting the list would solve the issue.

### Example prompts or workflows

_No response_

### Additional context

I'd love to implement this myself and propose a PR

Contributor guide

Open the contributing guide

Research direction

Start by locating the CLI option-parsing entry point and the existing code behind the /agent command. Add a --available-agents path that prints the available agents to stdout without opening an interactive session, then verify the output in a CLI session or command test.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.