[FEATURE]: ability for skills to read references and execute scripts #3769

Open
opened 2026-02-16 17:41:25 -05:00 by yindo · 1 comment
Owner

Originally created by @airtonix on GitHub (Dec 22, 2025).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

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

Describe the enhancement you want to request

Skills spec lists these three main components:

  • name
  • description
  • the skill prompt

It also lists these extra components that (I feel) make skills a serious alternative to mcp and tools:

  • scripts
  • references
something/
  SKILL.md
  references/
    something-guidelines.md
    example-form.pdf
    templates/
      new-file-template.txt
  scripts/
    some-useful-abstraction.sh

What's the vision for skills to read and execute these last two?

is it:

a) just let Bash(../../../../../home/myuser/.config/opencode/skill/something/scripts/some-useful-abstraction.sh) ? and let the permissions come out in the wash?
b) provide a separate SkillExec(skillname, relative_script_path, ...args) and SkillReference(skillname, relative_reference_path, ...ripgrep_args)

Originally created by @airtonix on GitHub (Dec 22, 2025). Originally assigned to: @thdxr on GitHub. ### 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 Skills spec lists these three main components: - name - description - the skill prompt It also lists these extra components that (I feel) make skills a serious alternative to mcp and tools: - scripts - references ```sh something/ SKILL.md references/ something-guidelines.md example-form.pdf templates/ new-file-template.txt scripts/ some-useful-abstraction.sh ``` What's the vision for skills to read and execute these last two? is it: a) just let `Bash(../../../../../home/myuser/.config/opencode/skill/something/scripts/some-useful-abstraction.sh)` ? and let the permissions come out in the wash? b) provide a separate `SkillExec(skillname, relative_script_path, ...args)` and `SkillReference(skillname, relative_reference_path, ...ripgrep_args)`
yindo added the discussion label 2026-02-16 17:41:25 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 22, 2025):

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

  • #3235: Support for "Skills" - The foundational issue requesting skills feature, which includes discussion about how skills should work and load

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

@github-actions[bot] commented on GitHub (Dec 22, 2025): This issue might be a duplicate of existing issues. Please check: - #3235: Support for "Skills" - The foundational issue requesting skills feature, which includes discussion about how skills should work and load Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3769