Console version of OpenCode incorrectly flags directory as invalid, unlike desktop version #8874

Open
opened 2026-02-16 18:11:04 -05:00 by yindo · 2 comments
Owner

Originally created by @Programmercito on GitHub (Feb 8, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When running the console version of OpenCode (same version as the desktop app), the following error occurs:

❯ opencode Directory "skills" in C:\Users\hered\codes\personal\.opencode is not valid. Rename the directory to "skill" or remove it. This is a common typo.

However, in the updated desktop version, this error does not appear. The desktop app correctly recognizes the directory and provides the expected response when listing installed skills. This inconsistency between console and desktop versions suggests a bug in the console build’s directory validation logic.

Plugins

No response

OpenCode version

1.1.53

Steps to reproduce

opencode . or opencode in console in the project with skills installed with npx skills of vercel

Screenshot and/or share link

No response

Operating System

No response

Terminal

windows terminal

Originally created by @Programmercito on GitHub (Feb 8, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When running the console version of OpenCode (same version as the desktop app), the following error occurs: `❯ opencode Directory "skills" in C:\Users\hered\codes\personal\.opencode is not valid. Rename the directory to "skill" or remove it. This is a common typo.` However, in the updated desktop version, this error does not appear. The desktop app correctly recognizes the directory and provides the expected response when listing installed skills. This inconsistency between console and desktop versions suggests a bug in the console build’s directory validation logic. ### Plugins _No response_ ### OpenCode version 1.1.53 ### Steps to reproduce opencode . or opencode in console in the project with skills installed with npx skills of vercel ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal windows terminal
yindo added the windowsbug labels 2026-02-16 18:11:04 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 8, 2026):

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

  • #9819: Docs: Skill path mismatch - 'skills' (plural) vs 'skill' (singular) - documents the exact issue where the console expects 'skill/' (singular) directory but some users place skills in 'skills/' (plural)
  • #12741: Opencode not auto-detecting skills located in ~/.agents/skills/** - similar auto-detection issue with skills directories

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

@github-actions[bot] commented on GitHub (Feb 8, 2026): This issue might be a duplicate of existing issues. Please check: - #9819: Docs: Skill path mismatch - 'skills' (plural) vs 'skill' (singular) - documents the exact issue where the console expects 'skill/' (singular) directory but some users place skills in 'skills/' (plural) - #12741: Opencode not auto-detecting skills located in `~/.agents/skills/**` - similar auto-detection issue with skills directories Feel free to ignore if none of these address your specific case.
Author
Owner

@Programmercito commented on GitHub (Feb 8, 2026):

The cases detected by Actions are not really due to specifying vs . In fact, support for installed skills using the Vercel tool already works correctly in the desktop version, but not in the console version. I just wanted to clarify whether, for the console version, we are expected to rename the directory in order to use it, or if this is something that could be aligned with the desktop behavior in the future.

@Programmercito commented on GitHub (Feb 8, 2026): The cases detected by Actions are not really due to specifying vs . In fact, support for installed skills using the Vercel tool already works correctly in the desktop version, but not in the console version. I just wanted to clarify whether, for the console version, we are expected to rename the directory in order to use it, or if this is something that could be aligned with the desktop behavior in the future.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8874