Agent-skills GitHub Copilot CLI plugin install
This guide covers the standalone GitHub Copilot CLI, which installs Addy Osmani's agent-skills as a plugin and discovers every skill in the skills folder. It is for terminal users of copilot who want the workflows also offered to Codex, and it differs from the VS Code setup.
What it does
You can register the repo's marketplace with copilot plugin marketplace add and then install agent-skills@addy-agent-skills, install straight from the repository, or load a local clone for one session with copilot --plugin-dir.
How to use it
Check the result with copilot plugin list and copilot skill list.
Requirements and limits
addy-agent-skills is a marketplace name this repo declares, not a GitHub-wide registry, so it only resolves after the marketplace add. --plugin-dir installs nothing persistently.
More in Guides and the Codex library.
Full text
Using agent-skills with GitHub Copilot CLI
The standalone copilot command-line tool installs this repository as a plugin and discovers every skill in skills/. For Copilot inside VS Code, see [copilot-setup.md](copilot-setup.md) instead — the setup and the invocation model are different.
Install
From this repository's marketplace — register it, then install from it. addy-agent-skills is the marketplace name this repository declares, not a GitHub-wide registry, and the name only resolves after the marketplace add:
copilot plugin marketplace add addyosmani/agent-skills
copilot plugin install agent-skills@addy-agent-skillsDirectly from the repository, without registering a marketplace:
copilot plugin install addyosmani/agent-skillsFrom a local clone, for a session-scoped development install:
git clone https://github.com/addyosmani/agent-skills.git
copilot --plugin-dir /path/to/agent-skills--plugin-dir loads the plugin for that session only and installs nothing persistently — use it while editing skills.
Verify
copilot plugin list # agent-skills@addy-agent-skills
copilot skill list # the plugin's skills, alongside the built-in onesIn an interactive session, /skills list shows the same catalog.
What you get, and what you don't
The root plugin.json is the manifest Copilot CLI reads. It takes precedence over .claude-plugin/plugin.json, which belongs to Claude Code. Its $schema line declares an Agent Plugins 1.0.0 manifest, which switches the CLI into Agent Plugins mode. The manifest sets no component paths, so they fall back to their defaults:
- Skills: available. With no explicit path, the CLI uses the conventional
skills/directory, and the skills are discovered there. - Lifecycle commands: not available. In Agent Plugins mode the CLI reads commands only from
com.github.copilot/commands/, which this repo doesn't have, so nothing registers/spec,/plan,/build,/test,/reviewor/ship. Those files live in.claude/commands/and are Claude Code commands.
For manifest precedence and the per-component path defaults, see the CLI plugin reference and Creating plugins.
Usage
Name the skill you want, or describe the task and let the agent route to it:
Use the spec-driven-development skill to write a spec for [the feature].
Use the test-driven-development skill: write a failing test for this bug first, then fix it.
Use the code-review-and-quality skill to review my staged changes.
Troubleshooting
| Symptom | What to check |
|---|---|
plugin install can't resolve agent-skills@addy-agent-skills | Run copilot plugin marketplace add addyosmani/agent-skills first — that name only resolves once the marketplace is registered. Or install the repository directly. |
| Plugin installed but no skills | copilot plugin list to confirm the plugin, then copilot skill list (or /skills list in session) to see what was discovered. If the list is empty, check the root plugin.json against the 1.0.0 schema: in Agent Plugins mode any schema error (say, author as a string instead of an object) is fatal and the CLI loads no skills. |
/spec, /build and friends are not found | Expected, not a broken install: the root manifest registers no commands. Ask for the skill by name instead. |
| Skills changed locally but the CLI shows the old copy | Start a fresh session, or run with --plugin-dir pointing at your clone. |
Source and license
Source: https://github.com/addyosmani/agent-skills/blob/main/docs/copilot-cli-setup.md
Author: addyosmani, Addy Osmani agent skills. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.