Summary
The documentation specifies skill paths with plural skills/, but opencode actually loads from singular skill/.
Loading from skills/ does NOT WORK right now!
The agent says when using the skills tool, my skills don't show up when I place them in skills/, but they DO show up when placed at skill/
Documentation Says
From the docs :
Global config: ~/.config/opencode/skills/<name>/SKILL.md
Link to the Docs: https://opencode.ai/docs/skills/#:~:text=Troubleshoot%20loading-,Agent%20Skills,-Define%20reusable%20behavior
Actual Behavior
Skills only load from:
~/.config/opencode/skill/<name>/SKILL.md
Steps to Reproduce
- Create a skill at
~/.config/opencode/skills/my-skill/SKILL.md (plural, as documented)
- Restart opencode
- Skill is not found
- Move to
~/.config/opencode/skill/my-skill/SKILL.md (singular)
- Restart opencode
- Skill is found
Expected Behavior
Either:
- Update docs to reflect actual path (
skill/ singular), OR
- Update code to match docs (
skills/ plural), OR
- Support both paths
Environment
- macOS
- opencode (latest as of 2025-01-21)
Summary
The documentation specifies skill paths with plural
skills/, but opencode actually loads from singularskill/.Loading from skills/ does NOT WORK right now!
The agent says when using the skills tool, my skills don't show up when I place them in skills/, but they DO show up when placed at skill/
Documentation Says
From the docs :
Link to the Docs: https://opencode.ai/docs/skills/#:~:text=Troubleshoot%20loading-,Agent%20Skills,-Define%20reusable%20behavior
Actual Behavior
Skills only load from:
Steps to Reproduce
~/.config/opencode/skills/my-skill/SKILL.md(plural, as documented)~/.config/opencode/skill/my-skill/SKILL.md(singular)Expected Behavior
Either:
skill/singular), ORskills/plural), OREnvironment