GitHub Copilot CLI
GitHub Copilot from the command line, running in yolo mode behind the sandbox.
What is GitHub Copilot CLI?
GitHub Copilot CLI is GitHub's command-line Copilot agent. It signs in via `gh` or its own flow and stores config, MCP setup, and session history under `~/.copilot/`.
GitHub Copilot CLI + Watchfire
Watchfire gives each Copilot session its own `COPILOT_HOME`, symlinks your real `~/.copilot/{config.json,mcp-config.json,session-store.db}` into it, and points Copilot at a Watchfire-generated `AGENTS.md` via `COPILOT_CUSTOM_INSTRUCTIONS_DIRS`. Sessions run in yolo mode (`--allow-all`) — the Watchfire sandbox is the boundary, not Copilot's prompt gate.
- Sessions run in yolo mode — Watchfire sandbox is the boundary
- Symlinks `~/.copilot/{config.json,mcp-config.json,session-store.db}` into the session home
- Uses `COPILOT_CUSTOM_INSTRUCTIONS_DIRS` to load the per-session `AGENTS.md`
Setup
Install Watchfire and initialise a project that defaults to GitHub Copilot CLI. Make sure the agent CLI itself is installed and signed in first.
watchfire init --agent copilotGet started with Watchfire
Install in seconds. Define tasks. Let agents ship code for you.
Download for macOSAvailable for macOS, Linux, and Windows
# Install via Homebrew (macOS)brew tap watchfire-io/tapbrew install --cask watchfire-io/tap/watchfire# Set up your project and gowatchfire initwatchfire task add "Build the login page"watchfire start --allIncludes GUI, CLI, and daemon. Also available via Homebrew.