grith.aidocs

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/**.
  • Commandsgh ... (the GitHub CLI), git ..., common language toolchains.
  • Destinationsapi.github.com, *.githubusercontent.com, copilot-proxy.githubusercontent.com.
  • Exec roots — standard system bin + gh location.

Capability set

  • read_project, write_project, read_home, write_home.
  • shell — for gh and git.
  • network — for the GitHub APIs.
  • No exec by 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 →
© 2026 grith. All rights reserved.