Skip to main content
skill GitHub Copilot official · GitHub

cli-mastery — GitHub Copilot CLI skill: lessons and setup

Learn GitHub Copilot CLI through guided lessons, quizzes, and scenario challenges. Use it to study commands, modes, agents, MCP, and configuration.

Install into GitHub Copilot · Skills CLI (Vercel) All methods and platforms ↓
npx skills add github/awesome-copilot --skill cli-mastery
Open on GitHub

What cli-mastery does

Say “cliexpert” to start a lesson. The skill guides you through modules, quizzes you with selectable answers, and opens scenario challenges for practice. Specific CLI questions get direct answers.

Reference material covers slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Progress is stored in SQLite tables; lessons, correct answers, and scenarios award XP, which determines your level. A final exam is also included.

Install it when you want a structured way to learn Copilot CLI. It is not intended for general coding or IDE-only questions.

What it helps with

  • Learn GitHub Copilot CLI slash commands
  • Check your knowledge of modes and shortcuts
  • Practice CLI tasks with scenario challenges
  • Prepare for the final exam

Example prompts for the agent

  • cliexpert
  • Quiz me on slash commands
  • Give me a Copilot CLI scenario challenge

How to install cli-mastery

1Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill cli-mastery

2GitHub CLI

gh skill install github/awesome-copilot cli-mastery

3Manually: put the files in place

.github/skills/cli-mastery/SKILL.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

Questions about cli-mastery

How do I install cli-mastery in GitHub Copilot?

Run npx skills add github/awesome-copilot --skill cli-mastery. You can also use gh skill install github/awesome-copilot cli-mastery.

What does cli-mastery do?

It teaches GitHub Copilot CLI through lessons, quizzes, and scenario challenges. It tracks progress with XP and levels.

How do I start a lesson with cli-mastery?

Say cliexpert. Ask to be quizzed with “quiz me,” or request a practice scenario with “scenario” or “challenge.”

Source text

SKILL.md · MIT
---
name: cli-mastery
description: 'Interactive training for the GitHub Copilot CLI. Guided lessons, quizzes, scenario challenges, and a full reference covering slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Say "cliexpert" to start.'
metadata:
  version: 1.2.0
license: MIT
---

# Copilot 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:
```sql
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.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor