Your friendly terminal tutor โ learn GitHub Copilot CLI by doing, not reading! ๐โจ
Copilot CLI Quick Start is a Copilot CLI skill that teaches you how to use GitHub Copilot CLI โ interactively, right inside your terminal. No docs to read. No videos to watch. Just you and a friendly AI tutor that walks you through everything step by step. ๐
It features two learning tracks so everyone can learn at their own pace:
- ๐งโ๐ป Developer Track โ terminal shortcuts, file mentions, custom instructions, MCP, and more
- ๐จ Non-Developer Track โ writing, task planning, understanding code, and getting summaries
Designed for absolute beginners. Even if you've never touched a terminal, we've got you! ๐ซถ
- GitHub Copilot CLI installed (
brew install copilot-cliornpm install -g @github/copilot) - An active Copilot subscription
Clone the repo and copy the skill to your personal skills directory:
git clone https://github.com/DUBSOpenHub/copilot-cli-quickstart.git
mkdir -p ~/.copilot/skills
cp -r copilot-cli-quickstart/.github/skills/copilot-cli-quickstart ~/.copilot/skills/Then in a Copilot CLI session, run /skills reload to pick it up.
Clone the repo and start Copilot CLI from inside it:
git clone https://github.com/DUBSOpenHub/copilot-cli-quickstart.git
cd copilot-cli-quickstart
copilotThe skill at .github/skills/copilot-cli-quickstart/ is automatically discovered.
That's it! You're ready. ๐
> start tutorial
The tutor asks if you're a Developer or Non-Developer, then walks you through the right lessons:
| # | Lesson | What You'll Learn |
|---|---|---|
| ๐ S1 | Welcome & Verify | Orientation, confirm CLI is working |
| ๐ฌ S2 | Your First Prompt | Talk to Copilot in plain English |
| ๐ฎ S3 | The Permission Model | YOU are always in control |
| # | Lesson | What You'll Learn |
|---|---|---|
| ๐๏ธ D1 | Slash Commands & Modes | / powers, Shift+Tab, ! shortcut |
| ๐ D2 | File Mentions with @ | Point Copilot at specific files |
| ๐ D3 | Planning with /plan | Break tasks into steps before coding |
| โ๏ธ D4 | Custom Instructions | Make Copilot work YOUR way |
| ๐ D5 | Advanced | MCP servers, skills, models |
| # | Lesson | What You'll Learn |
|---|---|---|
| ๐ N1 | Writing & Editing | Use Copilot as your writing assistant |
| ๐ N2 | Task Planning | Break down projects with /plan |
| ๐ N3 | Understanding Code | Read code without writing it |
| ๐ N4 | Summaries & Extraction | Get key info from any document |
> what does /compact do?
> how do I switch models?
> what's the difference between plan mode and interactive mode?
Ask anything about Copilot CLI and get a clear, beginner-friendly answer with examples! ๐ก
| Without this skill | With this skill |
|---|---|
| ๐ Read long docs | ๐ฎ Learn by doing |
| ๐ฐ Intimidating terminal | ๐ Fun and friendly |
| ๐คท "Where do I start?" | ๐ Guided step by step |
| ๐ค One-size-fits-all | ๐ค๏ธ Dev & Non-Dev tracks |
| ๐ Take notes | ๐ง Progress tracked for you |
| ๐ Solo learning | ๐ค Interactive exercises |
flowchart TD
USER["๐ค User"] --> SKILL["๐ง SKILL.md<br/>Lesson content & rules"]
SKILL --> AGENT["๐ค agent.md<br/>Persona & tool config"]
AGENT --> SQL["๐๏ธ SQL<br/>Progress tracking"]
AGENT --> DOCS["๐ fetch_docs<br/>Live documentation"]
AGENT --> ASK["๐ ask_user<br/>Interactive exercises"]
PRD["๐ PRD<br/>Design & diagrams"] -.-> SKILL
CAT["๐ฆ catalog.yml<br/>Metadata"] -.-> SKILL
copilot-cli-quickstart/
โโโ .github/
โ โโโ CODEOWNERS โ ๐ Code ownership rules
โ โโโ ISSUE_TEMPLATE/ โ ๐ Bug, feature, & lesson templates
โ โโโ PULL_REQUEST_TEMPLATE.md โ ๐ PR checklist
โ โโโ dependabot.yml โ ๐ค Automated dependency updates
โ โโโ skills/
โ โโโ copilot-cli-quickstart/
โ โโโ SKILL.md โ ๐ง Skill file (required path for /skills add)
โโโ agents/
โ โโโ copilot-cli-quickstart.agent.md โ ๐ค Agent config
โ โโโ copilot-cli-quickstart.md โ ๐ PRD (Product Requirements Doc)
โโโ skills/
โ โโโ copilot-cli-quickstart/
โ โโโ SKILL.md โ ๐ง The brain โ canonical skill source
โ โโโ catalog.yml โ ๐ Camp Air catalog metadata
โโโ .gitignore
โโโ CHANGELOG.md โ ๐ Version history
โโโ CODE_OF_CONDUCT.md โ ๐ค Contributor Covenant
โโโ CONTRIBUTING.md โ ๐ ๏ธ How to contribute
โโโ LICENSE โ ๐ MIT
โโโ SECURITY.md โ ๐ Security policy
โโโ TESTING.md โ ๐งช Conversation playbooks & QA
โโโ README.md โ ๐ You are here!
See SECURITY.md for our security policy and how to report vulnerabilities.
This repo has Dependabot alerts and automated security updates enabled. ๐ก๏ธ
Symptom: Skill doesn't appear in /skills list or isn't activating.
Fixes:
- โ
Check skill location โ The
SKILL.mdfile must be in either~/.copilot/skills/copilot-cli-quickstart/SKILL.md(personal) or.github/skills/copilot-cli-quickstart/SKILL.md(project, auto-discovered when youcdinto the repo). - โ
Reload skills โ Run
/skills reloadin your Copilot CLI session after copying files. - โ
Verify CLI version โ Run
copilot --versionoutside the CLI session. Update if needed:brew upgrade copilot-cliornpm update -g @github/copilot.
Symptom: "Copilot not enabled" or authentication errors when trying to use the CLI.
Fixes:
- โ Verify subscription โ Check github.com/settings/copilot to confirm you have an active Copilot subscription (Individual, Business, or Enterprise).
- โ
Re-authenticate โ Run
copilot auth logoutthencopilot auth loginoutside the CLI session. Follow the browser login flow. - โ Check permissions โ For organizations, confirm your org admin has enabled Copilot for your account. Check with your GitHub admin if unsure.
Symptom: Copilot keeps asking "Allow", "Deny", or "Allow for session" and I'm not sure which to choose.
Explanation:
- โ Allow โ Copilot performs this action once, then asks again next time.
- โ Deny โ Copilot won't do this action. Totally safe! Nothing bad happens if you deny.
- ๐ Allow for session โ Copilot can do this type of action for the rest of this session without asking again. Use this to speed up repetitive tasks (e.g., if it's creating multiple files).
Pro tip: When learning, use "Allow" (not "Allow for session") so you see what Copilot does each time. You can always deny โ Copilot respects your choice! ๐ฎ
Symptom: Typing @ doesn't show files or autocomplete doesn't work.
Fixes:
- โ
Be in a directory with files โ File mentions (
@filename) only work when you're in a directory that contains files. Navigate to a project folder first:cd ~/my-project. - โ
Use full paths if needed โ If autocomplete isn't working, type the full path:
@/path/to/file.jsor@./relative/file.js. - โ
Check Copilot CLI version โ File mentions require Copilot CLI v1.5.0+. Run
copilot --versionto check.
Symptom: Commands don't work as expected on Windows.
Fixes:
- โ Use PowerShell or Windows Terminal โ Copilot CLI works best with PowerShell 7+ or Windows Terminal (not legacy cmd.exe).
- โ
Path separators โ Use forward slashes
/or escape backslashes\\in paths. Copilot CLI normalizes paths, but Windows tools may be picky. - โ Run as user (not admin) โ Run Copilot CLI as your regular user. Admin mode can cause permission issues with Git and npm.
Got ideas to make this tutor even better? ๐จ See CONTRIBUTING.md for the full guide!
Quick ways to help:
- ๐ Report a bug
- ๐ก Suggest a feature
- ๐ Propose a lesson
- โ๏ธ Fix a typo โ just open a PR!
See TESTING.md for conversation playbooks and QA checklists.
MIT โ use it, share it, remix it! ๐ถ
Made with ๐ by DUBSOpenHub to help more people discover the joy of GitHub Copilot CLI.
Happy learning! ๐โจ