Generated banner for CLI Mastery
Generated logo for CLI Mastery

CLI Mastery

GitHubOfficialFirst committed by DUBSOpenHubDistributed by GitHub

  • Skill
  • Role or persona
  • Education and learning
  • MIT
  • No issues found

From 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.
— the description by DUBSOpenHub

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

CLI Mastery acts as an interactive tutor for the GitHub Copilot CLI. It provides a structured learning path covering slash commands, keyboard shortcuts, agent management, and configuration. The agent tracks user progress, XP, and proficiency levels, offering a gamified experience that includes lessons, quizzes, and practical scenario challenges to ensure users can effectively navigate and utilize the CLI's full feature set.

What it does

  • Provides structured, module-based lessons on Copilot CLI features.
  • Conducts interactive quizzes to test knowledge of commands and shortcuts.
  • Presents real-world scenario challenges to practice CLI usage.
  • Tracks user progress, XP, and skill levels from Newcomer to Wizard.
  • Offers a comprehensive final exam to validate mastery.
  • Provides on-demand reference summaries for specific CLI topics.

When to use it

  • When you are new to the GitHub Copilot CLI and want a guided learning path.
  • When you need to verify your knowledge of specific slash commands or configurations.
  • When you want to practice using the CLI in simulated, real-world scenarios.
  • When you are preparing for a proficiency assessment on Copilot CLI usage.

Advantages

  • Gamified learning experience with XP and level tracking.
  • Structured curriculum that breaks down complex CLI features into manageable modules.
  • Interactive assessment through quizzes and final exams.
  • Practical application via scenario-based challenges.

Usage examples

“cliexpert”
The agent initializes the training session, displays your current level and XP, and prompts you to begin the first module.
“quiz me on slash commands”
The agent generates a 5-question quiz using multiple-choice prompts to test your knowledge of specific CLI commands.
“challenge me with a scenario”
The agent presents a practical task or problem, requiring you to select the correct CLI approach to solve it.
“final exam”
The agent initiates a 10-question comprehensive exam to test your overall proficiency across all modules.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/github/cli-mastery/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip cli-mastery.zip -d .agents/skills

Documentation by DUBSOpenHub

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

TriggerAction
"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

references/module-3-modes.md

Module 3: Interaction Modes

Interactive Mode (default)

  • AI acts immediately on your prompts

  • Asks permission for risky operations

  • Best for: quick tasks, debugging, exploring code

  • 80% of your time will be here

Plan Mode (Shift+Tab or /plan)

  • AI creates a step-by-step plan FIRST

  • You review and approve before execution

  • Best for: complex refactoring, architecture changes, risky operations

  • Key insight: Use this when mistakes are expensive

Autopilot Mode (experimental, /experimental)

  • AI acts without asking for confirmation

  • Best for: trusted environments, long-running tasks

  • Use with caution — pair with /allow-all or --yolo

Mode Comparison

FeatureInteractivePlanAutopilot
SpeedFastSlowerFastest
SafetyMediumHighestLowest
ControlYou approve each actionYou approve the planFull AI autonomy
Best forDaily tasksComplex changesRepetitive/trusted work
SwitchDefaultShift+Tab or /plan/experimental (enables), then Shift+Tab

Teaching point: The right mode at the right time = 10x productivity.

Requirements and compatibility

Written for: GitHub Copilot

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of DUBSOpenHubDUBSOpenHub
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · skills/cli-mastery · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
DUBSOpenHub, ProfTrader

AutoGineer is not affiliated with or endorsed by DUBSOpenHub or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download cli-mastery.zip