> **cli-mastery** — skill 73 of 200 in [github/awesome-copilot](https://skillsdocs.com/github/awesome-copilot).
>
> Book (all skills, one file): https://skillsdocs.com/github/awesome-copilot.md
> Machine manifest: https://skillsdocs.com/github/awesome-copilot/.well-known/agent-skills/index.json
> Install the book: `npx skills add github/awesome-copilot`
> Upstream: https://github.com/github/awesome-copilot/blob/main/skills/cli-mastery/SKILL.md @ `main`
> Raw bytes, no header: https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/SKILL.md
> Base for relative paths: https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/
> Licence: MIT — https://spdx.org/licenses/MIT.html
>
> Bundled files (10), referenced from this skill's directory:
>   - `references/final-exam.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/final-exam.md
>   - `references/module-1-slash-commands.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-1-slash-commands.md
>   - `references/module-2-keyboard-shortcuts.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-2-keyboard-shortcuts.md
>   - `references/module-3-modes.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-3-modes.md
>   - `references/module-4-agents.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-4-agents.md
>   - `references/module-5-skills.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-5-skills.md
>   - `references/module-6-mcp.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-6-mcp.md
>   - `references/module-7-advanced.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-7-advanced.md
>   - `references/module-8-configuration.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/module-8-configuration.md
>   - `references/scenarios.md` — https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/references/scenarios.md
>
> Content © its authors, served unmodified. Takedown: https://github.com/DreambaseAI/skillsdocs/issues/new?labels=takedown&title=Takedown+request

<!-- Verbatim upstream SKILL.md follows, YAML frontmatter included. -->

---
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.
