GHC Always Agent is an OpenCode plugin that intercepts GitHub Copilot API requests and sets the x-initiator: agent header (instead of the default user), enabling agent-tier capabilities on every request automatically.
Key Features
- Automatic header injection — sets
x-initiator: agenton all Copilot Chat requests - Seamless integration via OpenCode
chat.headershook - Zero config — install the plugin and it just works
- Minimal overhead — lightweight hook with no background processes
- MIT licensed — open source and free to use
Tech Stack
- Language: Shell
- Integration: OpenCode Plugin API,
chat.headershook - Target: GitHub Copilot Chat API
- Distribution: OpenCode plugin (add to config plugins array)