Official agent skill

CLI Mastery

by github in github/awesome-copilot

Interactive training for the GitHub Copilot CLI. An agent skill from github/awesome-copilot.

OfficialMITAuto-check passedAgent Workflows

Install CLI Mastery

skills CLI
$ npx skills add github/awesome-copilot --skill cli-mastery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install github/awesome-copilot cli-mastery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-mastery .claude/skills/cli-mastery && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-mastery
GitHub stars
40k
Used in
2 other repos
Token cost
~517 tokens
SKILL.md length
182 words
Files
11 (incl. references)
Skills in repo
417
Repo updated
First seen
Licence
MIT

At a glance

Interactive training for the GitHub Copilot CLI. An agent skill from github/awesome-copilot.

  • Tasks that involve Quizzes and assessments
  • SKILL.md covers Routing and Content and Behavior
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Hooks and plugins

What it does

CLI Mastery is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. 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.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `references/final-exam.md`, `references/module-1-slash-commands.md` and `references/module-2-keyboard-shortcuts.md`).

It sits in Agent Workflows, covering Quizzes and assessments and Hooks and plugins. It works with Model Context Protocol. The repository describes itself as: Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot. The licence is MIT.

When your agent uses it

  • Tasks that involve Quizzes and assessments
  • Tasks that involve Hooks and plugins

Example prompts

  • “cliexpert”
  • “/cli-mastery”

What it can do on your machine

Read from SKILL.md and the folder at commit 727ff2e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are sql).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Mastery loads about 517 tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 182 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~517
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from github/awesome-copilot at commit 727ff2e, republished under its MIT licence (© github). 182 words, ~517 tokens.

Download SKILL.mdSave it as .claude/skills/cli-mastery/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
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

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:

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. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (references) in skills/cli-mastery of github/awesome-copilot.

  • SKILL.md
  • references/final-exam.md
  • references/module-1-slash-commands.md
  • references/module-2-keyboard-shortcuts.md
  • references/module-3-modes.md
  • references/module-4-agents.md
  • references/module-5-skills.md
  • references/module-6-mcp.md
  • references/module-7-advanced.md
  • references/module-8-configuration.md
  • references/scenarios.md

Open the folder on GitHubat commit 727ff2e

Used in 2 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in github/awesome-copilot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

CLI Mastery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Mastery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Mastery this skillgithub/awesome-copilot40k2 repos~517Automated safety check: PassMIT
Claude Code Advanced Guide2025Emma/vibe-coding-cn23k1 repos~1.4kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official37k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
OpenpetsOpenPetsHQ/openpets1.3k—~2.1kAutomated safety check: PassMIT
Claude Automation Recommenderanthropics/claude-plugins-official37k3 repos~2.7kAutomated safety check: NotesApache-2.0

Similar skills

  • Claude Code Advanced Guide

    2025Emma/vibe-coding-cn

    A Chinese-language tutorial on advanced Claude Code use: its core tools, REPL, slash commands, workflows, permissions, memory, MCP, hooks and sub-agents.

    23k GitHub starsUsed in 1 repo~1.4k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    37k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Openpets

    OpenPetsHQ/openpets

    A skill your agent uses whenever the user wants to build, extend, debug, test, validate, locally load, package, or publish an OpenPets plugin; work with the OpenPets Plugin SDK v3, plugin manifest…

    1.3k GitHub stars~2.1k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • Claude Automation Recommender

    anthropics/claude-plugins-official

    Official

    Scans a codebase and suggests which Claude Code hooks, subagents, skills, plugins and MCP servers fit its stack, without changing any files.

    37k GitHub starsUsed in 3 repos~2.7k tokens
    Agent WorkflowsAuto-check: notes
  • Mistral Vibe Plugin Creator

    mistralai/mistral-vibe

    Official

    Shows how to build a Vibe plugin package in the Agent Plugins 1.0 format, with a plugin.json manifest and optional skills, MCP servers, hooks and other components.

    5.1k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from github/awesome-copilot

All 417 skills in this repo
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Draw.io Diagram Generator

    github/awesome-copilot

    Official

    Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.

    40k GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check passed
  • Credit Risk Data Cleaning

    github/awesome-copilot

    Official

    Cleans raw credit data and screens variables before loan modeling, dropping unstable, noisy or redundant features and writing an Excel report of every step.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Daily Focus Board

    github/awesome-copilot

    Official

    Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.

    40k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Python Pypi Package Builder

    github/awesome-copilot

    Official

    End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI.

    40k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about CLI Mastery

What does CLI Mastery do?

Interactive training for the GitHub Copilot CLI. An agent skill from github/awesome-copilot. CLI Mastery is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Interactive training for the GitHub Copilot CLI.

When should I use CLI Mastery?

CLI Mastery fits situations like: tasks that involve Quizzes and assessments; tasks that involve Hooks and plugins.

How do I install CLI Mastery in Claude Code?

Run `npx skills add github/awesome-copilot --skill cli-mastery -a claude-code`. Or copy the skill folder (skills/cli-mastery in github/awesome-copilot) into .claude/skills/cli-mastery in your project. Claude Code loads it when a task matches its description.

How do I install CLI Mastery in Codex?

Run `npx skills add github/awesome-copilot --skill cli-mastery -a codex`. Or copy the skill folder (skills/cli-mastery in github/awesome-copilot) into .agents/skills/cli-mastery in your project. Codex loads it when a task matches its description.

Can I use CLI Mastery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/awesome-copilot --skill cli-mastery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-mastery, .gemini/skills/cli-mastery, .github/skills/cli-mastery and .opencode/skills/cli-mastery in your project.

What does CLI Mastery need to run?

SKILL.md names no scripts, command-line tools or credentials: CLI Mastery is instructions for the agent only.

Does CLI Mastery access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is CLI Mastery safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CLI Mastery use?

CLI Mastery is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CLI Mastery use?

About 517 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.1k tokens, read only when the agent opens those files.

What are the alternatives to CLI Mastery?

Skills that share tags, products or a category with CLI Mastery: Claude Code Advanced Guide (2025Emma/vibe-coding-cn, 23k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 37k stars), Crush Configuration (charmbracelet/crush, 29k stars) and Openpets (OpenPetsHQ/openpets, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Mastery?

github (a GitHub organization, an official publisher) maintains it in github/awesome-copilot, which has 39,748 GitHub stars. The repository holds 417 skills in this directory. The repository was last updated on October 7, 2026.

Source: github/awesome-copilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.