Study FAQ
What should I review before trusting a third-party Copilot CLI skill?
Also asked as 2
- Why does a Copilot CLI skill with allowed-tools need a security review?
- How can I assess a downloaded Copilot CLI skill before using it?
Answer
Review the complete skill directory before adding or invoking it: SKILL.md, referenced scripts, examples and other resources. Determine what it reads, changes, connects to and requires, including credentials and instructions that expand the intended task. A familiar name or distribution site does not establish those effects.
Pay particular attention to allowed-tools. In Copilot CLI this field can automatically allow listed tools while the skill is active. Pre-approving shell or bash removes command confirmation and can allow malicious skill content or injected instructions to execute arbitrary commands. Omit such pre-approval when you have not reviewed and fully trusted the package and scripts.
Also inspect the actual session permissions; prose such as “draft only” does not enforce access control. Confirm the loaded package's location, especially when duplicate names exist. A task that only needs reading and drafting may need no scripts at all.
Evaluate the reviewed package on bounded, non-sensitive inputs and compare its result with known requirements. Repeat the review when instructions or resources change, recording the package version alongside observed behavior. Discovery proves availability, not trustworthiness or correctness.
References: Adding agent skills for GitHub Copilot CLI - GitHub Docs, GitHub Copilot CLI command reference - GitHub Docs.
Full explanation
GH-700: Create and Use Trusted Copilot CLI Skills
Study guide · GH-700
Read the full explanation