Skip to content

Commit d22329f

Browse files
authored
Copilot CLI: Document the skill subcommand (#61972)
1 parent 760badc commit d22329f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

content/copilot/how-tos/copilot-cli/customize-copilot/add-skills.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Use the /frontend-design skill to create a responsive navigation bar in React.
5353

5454
* **Remove skills:** to remove a skill that you have added directly—not via a plugin—use the command `/skills remove SKILL-DIRECTORY`. To remove skills added as part of a plugin you must manage the plugin itself. Use the `info` subcommand to find out which plugin a skill came from.
5555

56+
The `/skills` commands above run inside an interactive session. The same list, add, and remove operations are also available from the terminal command line by using the `copilot skill` subcommand. This is useful for scripting or for setting up skills before you start a session. For example, run `copilot skill list` to list your skills, or `copilot skill add <FILE | URL | DIRECTORY>` to add one. For the full set of subcommands for {% data variables.copilot.copilot_cli_short %}, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference).
57+
5658
{% data reusables.copilot.skills-compared %}
5759

5860
To learn more about how skills differ from other customization features, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/comparing-cli-features).

content/copilot/reference/copilot-cli-reference/cli-command-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ docsTeamMetrics:
2626
| `copilot login` [OPTION] | Authenticate with {% data variables.product.prodname_copilot_short %} via the OAuth device flow. See [`copilot login` options](#copilot-login-options). |
2727
| `copilot mcp` | Manage MCP server configurations from the command line. |
2828
| `copilot plugin` | Manage plugins and plugin marketplaces. |
29+
| `copilot skill` | Manage agent skills from the command line (list, add, and remove skills). See [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/add-skills). |
2930
| `copilot update` | Download and install the latest version. |
3031
| `copilot version` | Display version information and check for updates. |
3132

0 commit comments

Comments
 (0)