๐ Copilot CLI Quick Start
Your friendly terminal tutor โ learn GitHub Copilot CLI by doing, not reading! ๐โจ
โก One Command. That's It.
Never used the CLI before? No problem. Follow these 3 steps:
1. Open your terminal
- ๐ Mac: Press
โ + Space, type Terminal, hit Enter
- ๐ช Windows: Press
Win + X, choose Terminal or PowerShell
- ๐ง Linux: Press
Ctrl + Alt + T
2. Paste this line and press Enter:
curl -fsSL https://raw.githubusercontent.com/DUBSOpenHub/copilot-cli-quickstart/main/quickstart.sh | bash
Already have the CLI? No worries โ this detects it and skips straight to adding the skill.
3. When Copilot opens, type: start tutorial
That's it โ you're learning! ๐
Requires an active Copilot subscription. Get one here โ
๐ค What Is This?
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! ๐ซถ
๐ฆ Installation
Prerequisites
Add the Skill
Option A: Personal Skill (works everywhere) โญ Recommended
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.
Option B: Project Skill (auto-discovered)
Clone the repo and start Copilot CLI from inside it:
git clone https://github.com/DUBSOpenHub/copilot-cli-quickstart.git
cd copilot-cli-quickstart
copilot
The skill at .github/skills/copilot-cli-quickstart/ is automatically discovered.
That's it! You're ready. ๐
๐ฎ Usage
๐ Tutorial Mode โ Learn Step by Step
The tutor asks if you're a Developer or Non-Developer, then walks you through the right lessons:
๐ Shared Lessons (Both Tracks)
| # |
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 |
๐งโ๐ป Developer Track
| # |
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 |
๐จ Non-Developer Track
| # |
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 |
โ Q&A Mode โ Just Ask!
> 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! ๐ก
๐ Why This Skill?
| 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 |
๐๏ธ Architecture
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
Loading
๐๏ธ Project Structure
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!
๐ Security
See SECURITY.md for our security policy and how to report vulnerabilities.
This repo has Dependabot alerts and automated security updates enabled. ๐ก๏ธ
๐ง Top Troubleshooting
๐จ Skill Add Issues
Symptom: Skill doesn't appear in /skills list or isn't activating.
Fixes:
- โ
Check skill location โ The
SKILL.md file must be in either ~/.copilot/skills/copilot-cli-quickstart/SKILL.md (personal) or .github/skills/copilot-cli-quickstart/SKILL.md (project, auto-discovered when you cd into the repo).
- โ
Reload skills โ Run
/skills reload in your Copilot CLI session after copying files.
- โ
Verify CLI version โ Run
copilot --version outside the CLI session. Update if needed: brew upgrade copilot-cli or npm update -g @github/copilot.
๐ Authentication / Subscription Issues
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 logout then copilot auth login outside 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.
๐ก๏ธ Permission Prompts Confusion
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! ๐ฎ
๐ File Mention @ Not Autocompleting
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.js or @./relative/file.js.
- โ
Check Copilot CLI version โ File mentions require Copilot CLI v1.5.0+. Run
copilot --version to check.
๐ช Windows Shell Gotchas
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.
๐ค Contributing
Got ideas to make this tutor even better? ๐จ See CONTRIBUTING.md for the full guide!
Quick ways to help:
See TESTING.md for conversation playbooks and QA checklists.
๐ License
MIT โ use it, share it, remix it! ๐ถ