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]: Add a switch to disable automatic skill directory discovery #15396
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
OpenCode currently auto-loads skills from several directories, including project and global locations (.opencode/skills, ~/.config/opencode/skills, .claude/skills, ~/.claude/skills, .agents/skills, and ~/.agents/skills).
I use OpenCode alongside other tools and need stricter control over what gets loaded. Please add a single config/env option that disables directory-based skill auto-discovery, so skills are only loaded when explicitly configured.
Activity
howmanysmall commentedon Feb 27, 2026
Just saw the other issue had a resolution in the comments, whoops.
For anyone seeing this, you can do
direnvwithexport OPENCODE_DISABLE_CLAUDE_CODE_SKILLS=trueto avoid having to call that every single time.