CLI Mastery
GitHubOfficialFirst committed by DUBSOpenHubDistributed by GitHub
- Skill
- Role or persona
- Education and learning
- MIT
- No issues found
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
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/cli-mastery/downloadUnzip 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
| 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.
Files
- ATTRIBUTION.mdAdded by AutoGineer818 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md2.0 KiB
- references/final-exam.md1.3 KiB
- references/module-1-slash-commands.md3.6 KiB
- references/module-2-keyboard-shortcuts.md1.4 KiB
- references/module-3-modes.md1.1 KiB
- references/module-4-agents.md1.4 KiB
- references/module-5-skills.md1.1 KiB
- references/module-6-mcp.md1.4 KiB
- references/module-7-advanced.md1.6 KiB
- references/module-8-configuration.md1.3 KiB
- references/scenarios.md1.9 KiB
references/module-6-mcp.md
Module 6: MCP Integration
What is MCP?
Model Context Protocol — a standard for connecting AI to external tools
Think of it as "USB ports for AI" — plug in any compatible tool
The GitHub MCP server is built-in (search repos, issues, PRs, actions)
Key commands
| Command | What it does |
|---|---|
/mcp | List connected MCP servers |
/mcp add <name> <command> | Add a new MCP server |
Popular MCP servers
@modelcontextprotocol/server-postgres— Query PostgreSQL databases@modelcontextprotocol/server-sqlite— Query SQLite databases@modelcontextprotocol/server-filesystem— Access local files with permissions@modelcontextprotocol/server-memory— Persistent knowledge graph@modelcontextprotocol/server-puppeteer— Browser automation
Configuration
| Level | File |
|---|---|
| User | ~/.copilot/mcp-config.json |
| Project | .github/mcp-config.json |
Config file format
{
"mcpServers": {
"my-server": {
"command": "npx",
"args": ["@modelcontextprotocol/server-postgres", "{{env.DATABASE_URL}}"],
"env": { "NODE_ENV": "development" }
}
}
}Security best practices
Never put credentials directly in config files
Use environment variable references:
{{env.SECRET}}Review MCP server source before using
Only connect servers you actually need
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
DUBSOpenHub
- 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