Skip to content

Commit 31099db

Browse files
authored
Merge pull request #85 from github/skills-install-gh-cli
Updating instructions on how to install skills via `gh skill`
2 parents e779dec + a0962a1 commit 31099db

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

05-skills/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -560,22 +560,22 @@ Pre-made skills are also available from community repositories:
560560

561561
- **[Awesome Copilot](https://github.com/github/awesome-copilot)** - Official GitHub Copilot resources including skills documentation and examples
562562

563-
### Installing a Community Skill Manually
563+
### Installing a Community Skill with GitHub CLI
564564

565-
If you find a skill in a GitHub repository, copy its folder into your skills directory:
565+
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/)):
566566

567567
```bash
568-
# Clone the awesome-copilot repository
569-
git clone https://github.com/github/awesome-copilot.git /tmp/awesome-copilot
568+
# Browse and interactively select a skill from awesome-copilot
569+
gh skill install github/awesome-copilot
570570

571-
# Copy a specific skill to your project
572-
cp -r /tmp/awesome-copilot/skills/code-checklist .github/skills/
571+
# Or install a specific skill directly
572+
gh skill install github/awesome-copilot code-checklist
573573

574-
# Or for personal use across all projects
575-
cp -r /tmp/awesome-copilot/skills/code-checklist ~/.copilot/skills/
574+
# Install for personal use across all projects (user scope)
575+
gh skill install github/awesome-copilot code-checklist --scope user
576576
```
577577

578-
> ⚠️ **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.
578+
> ⚠️ **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.
579579
580580
---
581581

0 commit comments

Comments
 (0)