Skip to content

๐Ÿš€ Interactive Copilot CLI tutor skill โ€” learn by doing. This is a Copilot CLI quickstart skill with an accompanying agent to run/teach it. (Built during Camp AIR)

License

Notifications You must be signed in to change notification settings

DUBSOpenHub/copilot-cli-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿš€ Copilot CLI Quick Start

Your friendly terminal tutor โ€” learn GitHub Copilot CLI by doing, not reading! ๐Ÿ™โœจ

Screenshot 2026-02-11 at 10 34 58โ€ฏAM

GitHub License: MIT Security Policy


๐Ÿค” 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

> start tutorial

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!

> 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! ๐Ÿ’ก


๐ŸŒŸ 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! ๐ŸŽถ


๐Ÿ™ Built with Love

Made with ๐Ÿ’œ by DUBSOpenHub to help more people discover the joy of GitHub Copilot CLI.

Happy learning! ๐Ÿš€โœจ

About

๐Ÿš€ Interactive Copilot CLI tutor skill โ€” learn by doing. This is a Copilot CLI quickstart skill with an accompanying agent to run/teach it. (Built during Camp AIR)

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published