Skip to content

Commit 58d6d7d

Browse files
authored
Update README with command descriptions and fixes
1 parent 75a88f7 commit 58d6d7d

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

01-setup-and-first-steps/README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,11 @@ These commands work in interactive mode. **Start with just these six** - they co
361361

362362
| Command | What It Does | When to Use |
363363
|---------|--------------|-------------|
364-
| `/help` | Show all available commands | When you forget a command |
365364
| `/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 |
366367
| `/plan` | Plan your work out before coding | For more complex features |
367368
| `/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 |
369369
| `/exit` | End the session | When you're done |
370370

371371
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
381381

382382
| Command | What It Does |
383383
|---------|--------------|
384-
| `/init` | Initialize Copilot instructions for your repository |
385384
| `/agent` | Browse and select from available agents |
386-
| `/skills` | Manage skills for enhanced capabilities |
385+
| `/init` | Initialize Copilot instructions for your repository |
387386
| `/mcp` | Manage MCP server configuration |
387+
| `/skills` | Manage skills for enhanced capabilities |
388388

389389
> 💡 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).
390390
391391
### Models and Subagents
392392

393393
| Command | What It Does |
394394
|---------|--------------|
395-
| `/model` | Show or switch AI model |
396395
| `/delegate` | Hand off task to Copilot coding agent on GitHub (agent in the cloud) |
397396
| `/fleet` | Split a complex task into parallel subtasks for faster completion |
397+
| `/model` | Show or switch AI model |
398398
| `/tasks` | View background subagents and detached shell sessions |
399399

400400
### Code
@@ -403,41 +403,43 @@ That's it for getting started! As you become comfortable, you can explore additi
403403
|---------|--------------|
404404
| `/diff` | Review the changes made in the current directory |
405405
| `/pr` | Operate on pull requests for the current branch |
406-
| `/review` | Run the code-review agent to analyze changes |
407406
| `/research` | Run deep research investigation using GitHub and web sources |
407+
| `/review` | Run the code-review agent to analyze changes |
408408
| `/terminal-setup` | Enable multiline input support (shift+enter and ctrl+enter) |
409409

410410
### Permissions
411411

412412
| Command | What It Does |
413413
|---------|--------------|
414-
| `/allow-all [on\|off\|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
415414
| `/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 |
417416
| `/cwd`, `/cd [directory]` | View or change working directory |
417+
| `/list-dirs` | Show all allowed directories |
418418

419419
> ⚠️ **Use with caution**: `/allow-all` skips confirmation prompts. Great for trusted projects, but be careful with untrusted code.
420420
421421
### Session
422422

423423
| Command | What It Does |
424424
|---------|--------------|
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. |
425429
| `/resume` | Switch to a different session (optionally specify session ID) |
426430
| `/rename` | Rename the current session (omit the name to auto-generate one) |
427431
| `/rewind` | Open a timeline picker to roll back to any earlier point in the conversation |
428-
| `/context` | Show context window token usage and visualization |
429432
| `/usage` | Display session usage metrics and statistics |
430433
| `/session` | Show session info and workspace summary |
431-
| `/compact` | Summarize conversation to reduce context usage |
432434
| `/share` | Export session as markdown file or GitHub gist |
433435

434436
### Help and Feedback
435437

436438
| Command | What It Does |
437439
|---------|--------------|
438-
| `/help` | Show all available commands |
439440
| `/changelog` | Display changelog for CLI versions |
440441
| `/feedback` | Submit feedback to GitHub |
442+
| `/help` | Show all available commands |
441443
| `/theme` | View or set terminal theme |
442444

443445
### Quick Shell Commands

0 commit comments

Comments
 (0)