Skip to content
Skillpedia
Documentation40k · #5050

cli-mastery

Has your agent learn to use the GitHub Copilot command line. It offers lessons, quizzes, and examples to master commands and shortcuts.

What it does

This is an interactive trainer for GitHub's Copilot CLI tool. It teaches you how to use Copilot's command-line features through lessons, quizzes, and challenges.

When to use it

  • ✓When you want to learn how to use the Copilot CLI.
  • ✓To test your knowledge of Copilot CLI commands.
  • ✓To practice with real-world Copilot CLI usage scenarios.

Example of what to ask your AI

“cliexpert”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/cli-mastery/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/cli-mastery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

When you start, it guides you through lessons and asks questions to check your understanding. It also offers practical challenges and a summary of all commands.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

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

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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:

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.

FAQ

What is Copilot CLI?

It's a tool that helps you use GitHub Copilot directly from your computer's command line.

What are 'slash commands'?

These are special commands that start with a forward slash (/) which you type for the Copilot CLI to perform specific tasks.

How does the training work?

It uses a points (XP) and leveling system to track your progress as you learn and complete lessons and quizzes.

Details

Original description by the author

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.

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#5050
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills