Provides interactive training, quizzes, and scenario challenges to master GitHub Copilot CLI commands, modes, and configurations.
- GitHub stars
- 41,038
- Files
- 11
- Last commit
- Nov 11, 2026
- License
- MIT
- Allowed tools
- —
What does the cli-mastery skill do?
cli-mastery provides interactive training, quizzes, and scenario challenges to master GitHub Copilot CLI commands, modes, and configurations.
Summary generated from the skill's SKILL.md.
About the cli-mastery skill
Learning the intricacies of GitHub Copilot CLI commands and configurations is possible through this interactive training tool. Developers use it to progress through guided lessons, quizzes, and scenario challenges designed to build expertise in slash commands, shortcuts, modes, agents, and MCP settings. An agent should load this skill when a user requests to be taught the CLI, asks for a cheat sheet, or wants to take a final exam.
The system tracks user progress using a SQL database to manage XP and levels ranging from Newcomer to Wizard. It relies on the view tool to read reference modules and scenarios from the local directory and uses the ask_user tool to present multiple-choice questions. The training is structured around eight modules and specific scenario files, providing a gamified way to master command-line productivity without needing to rely on general coding assistance.
What an agent can do with it
- 1Guided CLI instructionA developer can ask the agent to teach them how to use the GitHub Copilot CLI from scratch.
- 2Knowledge testing via quizzesUsers can request quizzes specifically focused on slash commands to verify their understanding.
- 3Comprehensive final assessmentOnce training is complete, a user can take a final exam to prove their mastery.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the cli-mastery skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the cli-mastery skill in Claude Code
~/.claude/skills/cli-mastery/SKILL.md
$ npx degit github/awesome-copilot/skills/cli-mastery ~/.claude/skills/cli-masteryInstall the cli-mastery skill in Claude Code (project)
.claude/skills/cli-mastery/SKILL.md
$ npx degit github/awesome-copilot/skills/cli-mastery .claude/skills/cli-masteryInstall the cli-mastery skill in Codex
~/.agents/skills/cli-mastery/SKILL.md
$ npx degit github/awesome-copilot/skills/cli-mastery ~/.agents/skills/cli-masteryInstall the cli-mastery skill in Gemini CLI
~/.gemini/skills/cli-mastery/SKILL.md
$ npx degit github/awesome-copilot/skills/cli-mastery ~/.gemini/skills/cli-masteryInstall the cli-mastery skill in Claude.ai
npx degit github/awesome-copilot/skills/cli-mastery cli-mastery && zip -r cli-mastery.zip cli-mastery # claude.ai → Customize → Skills → + → Create skill → Upload a skill → cli-mastery.zip
Automated checks
Ran Nov 15, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work · What to fix for more points
- Source repository linked and reachablegithub/awesome-copilot/skills/cli-mastery is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/cli-maste ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/cli-maste ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/cli-maste ↗Pass
- SKILL.md follows the Agent Skills formatthe description does not say when to use the skillgithub.com/github/awesome-copilot/blob/HEAD/skills/cli-maste ↗Finding
SKILL.md
View on GitHubCopilot CLI Mastery
UTILITY SKILL — interactive Copilot CLI trainer.
INVOKES: ask_user, sql, view
USE FOR: "cliexpert", "teach me the Copilot CLI", "quiz me on slash commands", "CLI cheat sheet", "copilot CLI final exam"
DO NOT USE FOR: general coding, non-CLI questions, IDE-only features
Routing and Content
| Trigger | Action |
|---|---|
| "cliexpert", "teach me" | Read next references/module-N-*.md, teach |
| "quiz me", "test me" | Read current module, 5+ questions via ask_user |
| "scenario", "challenge" | Read references/scenarios.md |
| "reference" | Read relevant module, summarize |
| "final exam" | Read references/final-exam.md |
Specific CLI questions get direct answers without loading references.
Reference files in references/ dir. Read on demand with view.
Behavior
On first interaction, initialize progress tracking:
CREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);
CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));
INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');
XP: lesson +20, correct +15, perfect quiz +50, scenario +30. Levels: 0=Newcomer 100=Apprentice 250=Navigator 400=Practitioner 550=Specialist 700=Expert 850=Virtuoso 1000=Architect 1150=Grandmaster 1500=Wizard. Max XP from all content: 1600 (8 modules × 145 + 8 scenarios × 30 + final exam 200).
When module counter exceeds 8 and user says "cliexpert", offer: scenarios, final exam, or review any module.
Rules: ask_user with choices for ALL quizzes/scenarios. Show XP after correct answers. One concept at a time; offer quiz or review after each lesson.
Files in this skill
11cli-mastery skill questions
How do I install the cli-mastery skill in Claude Code?
Run npx degit github/awesome-copilot/skills/cli-mastery ~/.claude/skills/cli-mastery. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the cli-mastery skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
How do I start the training?
You can start the interactive training by saying 'cliexpert'.
What topics are covered in the training?
The training covers slash commands, shortcuts, modes, agents, skills, MCP, and configuration.
Does the skill include practical challenges?
Yes, it includes scenario challenges and a final exam to test your knowledge.