GitHub Copilot
Supervisor profile for the GitHub Copilot CLI.
grith exec --profile copilot -- gh copilot
The copilot profile fits GitHub Copilot CLI (gh copilot). It's a relatively
narrow surface — Copilot's main tools are explain/suggest, which interact mostly
with gh and don't routinely spawn other processes.
What it routinely allows
- Paths —
${PROJECT_DIR}/**,${HOME}/.config/gh/**,${HOME}/.cache/gh/**. - Commands —
gh ...(the GitHub CLI),git ..., common language toolchains. - Destinations —
api.github.com,*.githubusercontent.com,copilot-proxy.githubusercontent.com. - Exec roots — standard system bin +
ghlocation.
Capability set
read_project,write_project,read_home,write_home.shell— forghandgit.network— for the GitHub APIs.- No
execby default — Copilot doesn't typically spawn arbitrary tools.
Tuning
If you use gh extension to install community extensions that themselves spawn
processes, you may need to add exec:
[profiles.my-copilot]
extends = "copilot"
capabilities += ["exec"]
See also
Last updated: 2026-05-14Edit this page on GitHub →