[bot] Add /worktree, /every, /after, model aliases, and agent session-scope note#169
Merged
Merged
Conversation
…pe note - Add /every, /after, /loop commands to Session table in Ch01 (v1.0.61+) - Add /worktree command to Code table in Ch01 (v1.0.61) - Add model family aliases tip (opus/sonnet/haiku/gpt/gemini) in Ch01 (v1.0.64-1) - Add agent mode session-scoped note to Ch04 (v1.0.63) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates beginner-facing course documentation to reflect recent GitHub Copilot CLI changes around session scheduling commands, model selection shortcuts, and agent/session behavior.
Changes:
- Adds
/everyand/afterscheduling commands (and/loopalias) to the Chapter 01 Session commands table. - Adds a “model family shortcuts” tip (e.g.,
opus,sonnet,haiku,gpt,gemini) to Chapter 01’s model switching section. - Adds a clarification note in Chapter 04 about agent behavior across sessions.
Show a summary per file
| File | Description |
|---|---|
| 01-setup-and-first-steps/README.md | Documents new scheduling commands and model alias shortcuts in the getting-started chapter. |
| 04-agents-custom-instructions/README.md | Adds a note clarifying agent/session behavior to reduce beginner confusion. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 3
Comment on lines
+462
to
+463
| | `/every <interval> <prompt>` | Schedule a prompt to run on a recurring interval (e.g., `/every 1h summarize new commits`). Use natural language for the interval. `/loop` is an alias for `/every`. | | ||
| | `/after <time> <prompt>` | Schedule a prompt to run once after a delay (e.g., `/after 30m run tests`). Use natural language for the time. | |
|
|
||
| > 💡 **Not sure which model to pick?** Select **`Auto`** from the model picker to let Copilot automatically choose the best available model for each session. This is a great default if you're just getting started and don't want to think about model selection. | ||
|
|
||
| > 💡 **Model family shortcuts**: You can also type a short family alias — like `opus`, `sonnet`, `haiku`, `gpt`, or `gemini` — directly in the `/model` picker instead of scrolling through the full list. Copilot will pick the best available model in that family for you. |
|
|
||
| > 💡 **Switching agents**: You can switch to a different agent at any time by using `/agent` or `--agent` again. To return to the standard Copilot CLI experience, use `/agent` and select **no agent**. | ||
|
|
||
| > 💡 **Agent mode is session-scoped**: The agent you select applies only to the current session. When you start a new session with `/new`, `/clear`, or by opening a fresh terminal, Copilot returns to its default mode — your agent selection does not carry over automatically. This means each session starts with a clean slate, which is a good habit to keep your work focused. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's new in the Copilot CLI (June 2026)
This PR updates course chapters 01 and 04 based on Copilot CLI releases from the past 7 days (v1.0.63 stable + v1.0.64-x pre-releases).
New features found
/worktreecommand — create a git worktree and switch into it/every,/afterscheduling commands;/loopaliasopus,sonnet,haiku,gpt,gemini)Sections updated
Chapter 01 — Setup and First Steps (
01-setup-and-first-steps/README.md)/worktree [name]to the Code commands table with a plain-language description/every <interval> <prompt>and/after <time> <prompt>(plus the/loopalias) to the Session commands table with examplesopus,sonnet,haiku,gpt,gemini)Chapter 04 — Agents and Custom Instructions (
04-agents-custom-instructions/README.md)/new,/clear, or a fresh terminal. This prevents a common beginner confusion where they expect the previous session's agent to still be active.Source announcements
/worktree,/every,/after,/settings, natural-language scheduling/everyand/aftercan schedule slash commands,/loopalias