feat(skill): change skill path to skills/ #6065
Open
+44
−42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary
.opencode/skill/to.opencode/skills/(plural)..claude/skills/in both project and home directories.skills/directory.Context
In version 1.0.192, skills located in
.opencode/skill/(as previously documented) were failing to load for users with large skill libraries (~25 skills).Solution: Renaming the parent directory to
skills/resolved the issue.While the Agent Skills spec defines the
SKILL.mdfile, it does not strictly define the parent directory name. This PR standardizes onskills/to align with Claude-compatible conventions and ensures OpenCode looks in both.opencode/and.claude/locations. This fixes the documentation mismatch and the loading issue.tree
per example, this works as expected as tested in the current version of oc (1.0.192)
.opencode ├── agent ├── command └── skills ├── changelog │ ├── references │ │ └── changelog_sop.md │ └── SKILL.md ├── cli-gh │ ├── references │ │ └── help.md │ └── SKILL.md └── cli-chezmoi ├── references │ └── cli_reference.md ├── scripts │ └── apply_chezmoi.sh ├── assets └── SKILL.mdSession
https://opncd.ai/share/1XhiOijp
Crap, this share seems broken 😥