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
Does opencode actually support finding skills at .claude/skills? #6266
I was looking for where in the code the search in .claude/skills is being enabled, but the only reference I found to the claude directory is this commented out test which makes me think opencode isn't actually looking in .claude/skills folders?
What I'm actually interested is in being able to configure the directory where opencode looks. (e.g. making it .agent/skill rather than .opencode/skill), but that doesn't seem to be possible at the moment?
This is partially addressed by PR #6539 which adds skills.path config for custom directories.
The PR adds custom paths alongside defaults (additive). If you need to disable/replace default paths entirely, that would be a separate feature request.
Activity
github-actions commentedon Dec 27, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if these don't address your specific case.
anntnzrb commentedon Dec 31, 2025
This is partially addressed by PR #6539 which adds
skills.pathconfig for custom directories.The PR adds custom paths alongside defaults (additive). If you need to disable/replace default paths entirely, that would be a separate feature request.
rekram1-node commentedon Dec 31, 2025
It does read claude skills, for the project and global yep
rekram1-node commentedon Dec 31, 2025
If u wanna add custom dirs, I recommend using:
OPENCODE_CONFIG_DIRrekram1-node commentedon Dec 31, 2025
We could update it to support comma separated values or something but rn thats the cleanest solution I think, cc @anntnzrb
anntnzrb commentedon Dec 31, 2025
#6539 - see usage examples
rekram1-node commentedon Dec 31, 2025
Yeah I was saying instead of adding new configs fields we can just improve the already supported env var that handles this stuff already
anntnzrb commentedon Dec 31, 2025
Hey @rekram1-node, following up on your suggestion to enhance
OPENCODE_CONFIG_DIRwith comma-separated values.Here's what I'm proposing:
Usage
Expected Directory Structure
Each path should follow the standard
.opencode/structure:Plural forms also work (
agents/,commands/,skills/,plugins/).Questions
path.delimiter(:on Unix,;on Windows)?Let me know if this aligns with your vision before I proceed with the implementation.
rekram1-node commentedon Jan 18, 2026
Yes that works