opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Support for agentskills.io Standard

Open LeoMartinDev opened this issue 3 weeks ago • 4 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Current OpenCode skill discovery is limited to fixed paths like .opencode/skill/<name>/SKILL.md and .claude/skills/, requiring skills to live in specific subdirectories . This lacks flexibility for broader standards. The agentskills.io protocol offers a standardized way to package reusable procedural knowledge and capabilities that agents can load on demand.

Example Implementation

# In any repo directory: ./skills/marketing/SKILL.md or ./src/tools/SKILL.md
# Agent prompts: "Use the marketing skill to generate a campaign"
# OpenCode lists: Available skills: marketing (./skills/marketing), git-release (./.opencode/skill/git-release)

LeoMartinDev avatar Jan 07 '26 14:01 LeoMartinDev

This issue might be a duplicate of existing issues. Please check:

  • #6266: Does opencode actually support finding skills at .claude/skills? (discusses configurability of skill discovery paths)
  • #6347: [FEATURE]: Plugin Hook for Registering Additional Config Directories (requests ability to register custom directories for skills and other resources)
  • #6171: Inconsistency in docs for where to install skills (discusses flexible skill installation paths)

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 07 '26 14:01 github-actions[bot]

@LeoMartinDev have you already taken a look at https://github.com/code-yeongyu/oh-my-opencode It's a plugin that offers this native support; it's an OpenCode plugin.

developerfred avatar Jan 07 '26 14:01 developerfred

@LeoMartinDev .skills/ doesnt appear to be part of the spec. Can you show me where it has that?

rekram1-node avatar Jan 07 '26 18:01 rekram1-node

.skills is an example path, it could be anywhere I guess as long as it's folder containing a SKILL.md file. Cursor recently started to support this https://cursor.com/docs/context/skills

LeoMartinDev avatar Jan 07 '26 19:01 LeoMartinDev