Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently AGENTS.md is project-specific (created by /init per project). There's no way to set default instructions that apply to all sessions/projects globally.
Proposed solutions (any of these):
(1) Global AGENTS.md - Load instructions from ~/.config/opencode/AGENTS.md for all sessions
(2) Agent default system prompt - Allow setting default system prompt in global config
(3) Startup hook/initialization - Run initialization script on every new session
This would let users set preferences once (like "show code in conversation") that apply everywhere without repeating at each session.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently AGENTS.md is project-specific (created by /init per project). There's no way to set default instructions that apply to all sessions/projects globally.
Proposed solutions (any of these):
(1) Global AGENTS.md - Load instructions from ~/.config/opencode/AGENTS.md for all sessions
(2) Agent default system prompt - Allow setting default system prompt in global config
(3) Startup hook/initialization - Run initialization script on every new session
This would let users set preferences once (like "show code in conversation") that apply everywhere without repeating at each session.