context7 icon indicating copy to clipboard operation
context7 copied to clipboard

Feature Request: Add native OpenCode directory option for ctx7 skills install

Open Drevil5656 opened this issue 6 months ago • 2 comments

Current Behavior

Today, ctx7 skills install supports OpenCode via the "universal agents" option, which installs skills under .agents/skills/. OpenCode does pick these up, which works fine.

Proposed Enhancement

Add a dedicated OpenCode installation target that can write directly to OpenCode's native skill directories:

  • Global: $HOME/.config/opencode/skills/
  • Project-based: ./.opencode/skills/

When the user selects the OpenCode option, a second prompt would ask whether to install globally or project-based.

Why This Helps

While .agents/skills/ works, installing directly to OpenCode's native directories means:

  • Skills show up alongside other opencode-native skills
  • No mixing of .agents/ and .opencode/ conventions in the same project
  • Users who exclusively use OpenCode can keep everything in one place

Drevil5656 avatar May 22 '26 10:05 Drevil5656

Hey @Drevil5656, we try to provide as simple setup experience as possible. We also aim to use .agents as much as possible, because it's where things are going towards. Since this doesn't create any problems or issues, we will keep it in the .agents for the timebeing. Thanks for the suggestion. I will update this issue if things change.

fahreddinozcan avatar May 22 '26 14:05 fahreddinozcan

If I'll implement it myself, will the PR be welcomed?

Edit: nmv, I'll just migrate my whole setup from ~/.config/opencode to ~/.agents lol. I have implemented this feature and then it hit me that it's really not needed. idk, I think I was tired or something. Sorry for the disturbance 😅.

Drevil5656 avatar May 22 '26 14:05 Drevil5656