Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. GH-700/
  4. GH-700 Learning Path/
  5. Study FAQs/
  6. How do I create and invoke a reusable skill in GitHub Copilot CLI?

Study FAQ

How do I create and invoke a reusable skill in GitHub Copilot CLI?

Exam · GH-700Knowledge domain · Design and implement agentic workflows and automations (25–30%)Updated Nov 19, 2026
Also asked as 2
  • How can I add a repository skill to Copilot CLI and confirm the right package is used?
  • What files and commands are needed to use a new Copilot CLI skill?

Answer

Create a directory for the procedure with a file named exactly SKILL.md, place it in a supported Copilot CLI discovery location, and confirm that the CLI loads the intended package. Use a skill for a recurring task with stable inputs and outputs; it supplies guidance and optional resources, not missing tools.

For a repository skill, create .github/skills/release-brief/SKILL.md. A personal alternative is ~/.copilot/skills/release-brief/SKILL.md, which applies across projects. A minimal file is:

---
name: release-brief
description: Draft release briefings from supplied approved records, preserving missing decisions.
---
Use only the supplied records for this release.
Report confirmed changes, unresolved decisions and evidence gaps.
Keep proposed dates separate from approved commitments.
Do not invent owners, approvals or availability, or publish the briefing.
Check each factual claim against its source record.

In an interactive CLI session, run /skills reload after adding the package, /skills list to inspect available skills, and /skills info release-brief to check details and location. Duplicate names follow discovery priority, so verify the loaded path rather than trusting the name alone.

Invoke it with a prompt such as “Use the /release-brief skill with these supplied records.” Copilot can also choose skills based on their descriptions. Start with non-sensitive sample records containing a confirmed item, a proposed date and a missing owner. Verify that the result preserves those distinctions.

If the skill is absent, inspect path, filename, name and loaded location. If it is loaded but the procedure fails, inspect instructions and inputs. An unavailable tool requires a separate integration fix.

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 →
← Back to GH-700 FAQsView learning path →

Related questions

Do periodic Copilot cloud automation credit limits stop a run already in progress? →How do personal and shared Copilot cloud automations differ? →How should I scope GitHub Actions secrets for Copilot-assisted business workflows? →Why can a Copilot custom agent fail to search the web even when its prompt asks it to? →How do I create a repository custom agent that only reads and searches evidence? →How do I add an MCP server to Copilot CLI with only the tools my task needs? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.