opencode icon indicating copy to clipboard operation
opencode copied to clipboard

skill can't find scripts path

Open sunjiawe opened this issue 1 week ago • 1 comments

Description

I only use the following relative paths relative to the skill's directory in the Claude code skill declaration, and Claude skills can execute scripts correctly.

uv run scripts/tasks.py list

However, using opencode does not execute the command correctly; it thinks the script does not exist. I have a solution: change the relative path to be relative to the project root directory, but I think this is not friendly for skill portability.

Plugins

No response

OpenCode version

1.1.1

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

sunjiawe avatar Jan 05 '26 02:01 sunjiawe