Skip to content

Docs: Skill path mismatch - 'skills' (plural) vs 'skill' (singular) #9819

Description

@bjesuiter

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

  1. Create a skill at ~/.config/opencode/skills/my-skill/SKILL.md (plural, as documented)
  2. Restart opencode
  3. Skill is not found
  4. Move to ~/.config/opencode/skill/my-skill/SKILL.md (singular)
  5. Restart opencode
  6. 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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions