Skip to content

Cheat sheet

GitHub Copilot CLI#

Describe the outcome, let Copilot plan it, steer while it works, and make it prove the result. Everything you need to keep a coding agent on track, in one place.

Init Planning Steering MCP Skills Custom agents Subagents Fleet & Tasks Rubber duck Chronicle
QR code linking to this cheat sheet
Scan to open
on your laptop
Definition

Vibe coding is a style of software development where you describe what you want in natural language and let an AI tool generate the code, focusing on the outcome rather than reading, writing, or fully understanding the code itself.

The toolkit

What you actually need at the keyboard#

Each card links into the matching section of the full cheat sheet.

Start here
Get running

Install, /login, trust the folder, then /init. Five minutes from nothing to an agent that knows your repo.

Ground it
Init

/init writes copilot-instructions.md so every agent in the repo starts with your build commands, architecture and conventions.

Highest value
Planning

Shift+Tab into plan mode. Copilot asks clarifying questions and waits for approval before touching code.

Stay in control
Steering

Just type while it's thinking — mid-turn input lands in the work already in flight. No need to wait for it to finish going the wrong way.

Reach further
MCP servers

The GitHub MCP server is built in. Add browsers, APIs, databases and docs with /mcp add — live immediately, no restart.

Repeatable
Skills

A SKILL.md folder loaded only when relevant, so a playbook doesn't burn context on every turn.

Specialists
Custom agents

Markdown profiles with their own prompt, tools and model. Describe the specialist you want, /agent writes the profile for you.

Own context
Subagents

Copilot hands work to explore, task, code-review and friends — each with its own context window, so a big search never crowds out your session.

Parallel
Fleet & Tasks

/fleet splits an approved plan across subagents — worth it only when the steps are genuinely independent. Watch them with /tasks.

Second opinion
Rubber duck

A critic running on a different model family, so it doesn't share the same blind spots. Read-only: it critiques, it never edits.

Sessions are data
Chronicle

/chronicle standup writes your status update. /chronicle improve banks what you learned back into the repo.

Recovery
When it goes wrong

Looping on a fix, edits you don't trust, a session that lost the thread — the two-strikes rule and how to get back to a known-good state.

Guardrails
Permissions & cost

Approval modes, --allow-tool, and why --allow-all-tools belongs in a container.

Take it with you#

A three-page A4 handout — everything above, condensed.

Grounded in the official docs

Every section links back to its source page on docs.github.com/copilot/how-tos/copilot-cli. The CLI ships fast — run /help and /changelog summarize if something here doesn't match what you see.