You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Config dir AGENTS.md conflates global and repo-specific rules #11639
The problem is everything in ~/.config/opencode/AGENTS.md gets loaded globally, so any instructions I give agents that work on my OpenCode configuration repo (for creating skills, updating OpenCode configuration, etc.) also supposedly shows up for any project I'm working on with OpenCode.
Suggestion
A convention to use a different file for "repo-specific" stuff when the config dir is itself a repo.
For example, for the actual OpenCode config repo, the regular AGENTS.md will be used, while the global preferences file will have a different name, like USER-AGENTS.md / AGENTS.user.mdGLOBAL-AGENTS.md / AGENTS.global.md, or something along these lines.
Activity
github-actions commentedon Feb 1, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
github-actions commentedon Apr 3, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.