Skip to content

fix: correct opencode skills installation paths#8

Open
brooksy4503 wants to merge 1 commit into
iannuttall:mainfrom
brooksy4503:fix/opencode-skills-path
Open

fix: correct opencode skills installation paths#8
brooksy4503 wants to merge 1 commit into
iannuttall:mainfrom
brooksy4503:fix/opencode-skills-path

Conversation

@brooksy4503
Copy link
Copy Markdown
Contributor

Summary

  • Fixed opencode skills installation paths to match the official opencode specification
  • Changed global path from ~/.local/share/opencode/skills to ~/.config/opencode/skill
  • Changed local path from .opencode/skills to .opencode/skill

Issue

The current implementation installs opencode skills to incorrect locations:

  • Global: ~/.local/share/opencode/skills (incorrect)
  • Local: .opencode/skills (incorrect)

According to opencode.ai/docs/skills/, the correct paths are:

  • Global: ~/.config/opencode/skill/<name>/SKILL.md
  • Local: .opencode/skill/<name>/SKILL.md

Note the use of skill (singular) instead of skills (plural).

Changes

File: bin/ralph:239-240

  • Updated opencode global path to use ~/.config/opencode/skill
  • Updated opencode local path to use .opencode/skill

Testing

  • All existing tests pass
  • Verified the fix by reinstalling ralph globally from this branch

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant