You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 01-setup-and-first-steps/README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -361,11 +361,11 @@ These commands work in interactive mode. **Start with just these six** - they co
361
361
362
362
| Command | What It Does | When to Use |
363
363
|---------|--------------|-------------|
364
-
|`/help`| Show all available commands | When you forget a command |
365
364
|`/clear`| Clear conversation and start fresh | When switching topics |
365
+
|`/help`| Show all available commands | When you forget a command |
366
+
|`/model`| Show or switch AI model | When you want to change the AI model |
366
367
|`/plan`| Plan your work out before coding | For more complex features |
367
368
|`/research`| Deep research using GitHub and web sources | When you need to investigate a topic before coding |
368
-
|`/model`| Show or switch AI model | When you want to change the AI model |
369
369
|`/exit`| End the session | When you're done |
370
370
371
371
That's it for getting started! As you become comfortable, you can explore additional commands.
@@ -381,20 +381,20 @@ That's it for getting started! As you become comfortable, you can explore additi
381
381
382
382
| Command | What It Does |
383
383
|---------|--------------|
384
-
|`/init`| Initialize Copilot instructions for your repository |
385
384
|`/agent`| Browse and select from available agents |
386
-
|`/skills`|Manage skills for enhanced capabilities|
385
+
|`/init`|Initialize Copilot instructions for your repository|
387
386
|`/mcp`| Manage MCP server configuration |
387
+
|`/skills`| Manage skills for enhanced capabilities |
388
388
389
389
> 💡 Agents are covered in [Chapter 04](../04-agents-custom-instructions/README.md), skills are covered in [Chapter 05](../05-skills/README.md), and MCP servers are covered in [Chapter 06](../06-mcp-servers/README.md).
390
390
391
391
### Models and Subagents
392
392
393
393
| Command | What It Does |
394
394
|---------|--------------|
395
-
|`/model`| Show or switch AI model |
396
395
|`/delegate`| Hand off task to Copilot coding agent on GitHub (agent in the cloud) |
397
396
|`/fleet`| Split a complex task into parallel subtasks for faster completion |
397
+
|`/model`| Show or switch AI model |
398
398
|`/tasks`| View background subagents and detached shell sessions |
399
399
400
400
### Code
@@ -403,41 +403,43 @@ That's it for getting started! As you become comfortable, you can explore additi
403
403
|---------|--------------|
404
404
|`/diff`| Review the changes made in the current directory |
405
405
|`/pr`| Operate on pull requests for the current branch |
406
-
|`/review`| Run the code-review agent to analyze changes |
407
406
|`/research`| Run deep research investigation using GitHub and web sources |
407
+
|`/review`| Run the code-review agent to analyze changes |
408
408
|`/terminal-setup`| Enable multiline input support (shift+enter and ctrl+enter) |
409
409
410
410
### Permissions
411
411
412
412
| Command | What It Does |
413
413
|---------|--------------|
414
-
|`/allow-all [on\|off\|show]`| Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
415
414
|`/add-dir <directory>`| Add a directory to allowed list |
416
-
|`/list-dirs`|Show all allowed directories|
415
+
|`/allow-all [on\|off\|show]`|Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status|
417
416
|`/cwd`, `/cd [directory]`| View or change working directory |
417
+
|`/list-dirs`| Show all allowed directories |
418
418
419
419
> ⚠️ **Use with caution**: `/allow-all` skips confirmation prompts. Great for trusted projects, but be careful with untrusted code.
420
420
421
421
### Session
422
422
423
423
| Command | What It Does |
424
424
|---------|--------------|
425
+
|`/clear`| Abandons the current session (no history saved) and starts a fresh conversation |
426
+
|`/compact`| Summarize conversation to reduce context usage |
427
+
|`/context`| Show context window token usage and visualization |
428
+
|`/new`| Ends the current session (saving it to history for search/resume) and starts a fresh conversation. |
425
429
|`/resume`| Switch to a different session (optionally specify session ID) |
426
430
|`/rename`| Rename the current session (omit the name to auto-generate one) |
427
431
|`/rewind`| Open a timeline picker to roll back to any earlier point in the conversation |
428
-
|`/context`| Show context window token usage and visualization |
429
432
|`/usage`| Display session usage metrics and statistics |
430
433
|`/session`| Show session info and workspace summary |
431
-
|`/compact`| Summarize conversation to reduce context usage |
432
434
|`/share`| Export session as markdown file or GitHub gist |
433
435
434
436
### Help and Feedback
435
437
436
438
| Command | What It Does |
437
439
|---------|--------------|
438
-
|`/help`| Show all available commands |
439
440
|`/changelog`| Display changelog for CLI versions |
0 commit comments