diff --git a/content/manuals/ai/sandboxes/get-started.md b/content/manuals/ai/sandboxes/get-started.md index 6a807fc528e..00747477beb 100644 --- a/content/manuals/ai/sandboxes/get-started.md +++ b/content/manuals/ai/sandboxes/get-started.md @@ -199,7 +199,7 @@ directory without touching your main working tree. When the session ends, review what the agent did from the worktree: ```console -$ cd .sbx/-worktrees/my-feature +$ cd .sbx/claude-my-project-worktrees/my-feature $ git log $ git diff main ``` @@ -243,15 +243,19 @@ set and how to customize it. Sandboxes persist after the agent exits. To stop a sandbox without deleting it: ```console -$ sbx stop my-sandbox +$ sbx stop claude-my-project ``` +The sandbox name comes from the agent and workspace directory — see +[Reconnecting and naming](usage.md#reconnecting-and-naming) for details, or run +`sbx ls` to see the names of your existing sandboxes. + Installed packages, Docker images, and configuration changes are preserved across restarts. When you're done with a sandbox, remove it to reclaim disk space: ```console -$ sbx rm my-sandbox +$ sbx rm claude-my-project ``` Removing a sandbox deletes everything inside it — installed packages, Docker