From 9e6a05c68504c7afdac9a2d81ab9d26a40f312bf Mon Sep 17 00:00:00 2001 From: Dan Wahlin Date: Thu, 9 Apr 2026 05:05:41 -0700 Subject: [PATCH] docs(ch01): add /yolo slash command to permissions reference Document /yolo as an interactive alias for /allow-all on, introduced in Copilot CLI v1.0.20. Key behavior: - /yolo and --yolo now behave identically - /yolo state persists across /restart Updates: - Chapter 01 slash commands table: add /yolo entry under Permissions - Appendix additional-context.md: add /yolo example in Inside a Session Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- 01-setup-and-first-steps/README.md | 3 ++- appendices/additional-context.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/01-setup-and-first-steps/README.md b/01-setup-and-first-steps/README.md index ac39edd..ffce020 100644 --- a/01-setup-and-first-steps/README.md +++ b/01-setup-and-first-steps/README.md @@ -413,10 +413,11 @@ That's it for getting started! As you become comfortable, you can explore additi |---------|--------------| | `/add-dir ` | Add a directory to allowed list | | `/allow-all [on|off|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status | +| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts. State persists across `/restart`. | | `/cwd`, `/cd [directory]` | View or change working directory | | `/list-dirs` | Show all allowed directories | -> ⚠️ **Use with caution**: `/allow-all` skips confirmation prompts. Great for trusted projects, but be careful with untrusted code. +> ⚠️ **Use with caution**: `/allow-all` and `/yolo` skip confirmation prompts. Great for trusted projects, but be careful with untrusted code. ### Session diff --git a/appendices/additional-context.md b/appendices/additional-context.md index 6d22a10..f1dbd48 100644 --- a/appendices/additional-context.md +++ b/appendices/additional-context.md @@ -111,6 +111,10 @@ copilot > /list-dirs # See all allowed directories + +> /yolo +# Quick alias for /allow-all on — auto-approves all permission prompts +# This state also persists across /restart, so you won't need to re-enable it ``` ### For Automation