From a0962a17042ddf34833db758c3ae09aa65ac120c Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Fri, 17 Apr 2026 14:52:47 +1000 Subject: [PATCH] Updating instructions on how to install skills via `gh skill` --- 05-skills/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/05-skills/README.md b/05-skills/README.md index bd196d5..95c64d6 100644 --- a/05-skills/README.md +++ b/05-skills/README.md @@ -560,22 +560,22 @@ Pre-made skills are also available from community repositories: - **[Awesome Copilot](https://github.com/github/awesome-copilot)** - Official GitHub Copilot resources including skills documentation and examples -### Installing a Community Skill Manually +### Installing a Community Skill with GitHub CLI -If you find a skill in a GitHub repository, copy its folder into your skills directory: +The easiest way to install a skill from a GitHub repository is using the `gh skill install` command (requires [GitHub CLI v2.90.0+](https://github.blog/changelog/2026-04-16-manage-agent-skills-with-github-cli/)): ```bash -# Clone the awesome-copilot repository -git clone https://github.com/github/awesome-copilot.git /tmp/awesome-copilot +# Browse and interactively select a skill from awesome-copilot +gh skill install github/awesome-copilot -# Copy a specific skill to your project -cp -r /tmp/awesome-copilot/skills/code-checklist .github/skills/ +# Or install a specific skill directly +gh skill install github/awesome-copilot code-checklist -# Or for personal use across all projects -cp -r /tmp/awesome-copilot/skills/code-checklist ~/.copilot/skills/ +# Install for personal use across all projects (user scope) +gh skill install github/awesome-copilot code-checklist --scope user ``` -> ⚠️ **Review before installing**: Always read a skill's `SKILL.md` before copying it into your project. Skills control what Copilot does, and a malicious skill could instruct it to run harmful commands or modify code in unexpected ways. +> ⚠️ **Review before installing**: Always read a skill's `SKILL.md` before installing it. Skills control what Copilot does, and a malicious skill could instruct it to run harmful commands or modify code in unexpected ways. ---