Hidden agents/commands/plugins/Claude Code-style skills ought not be discoverable. #7937

Open
opened 2026-02-16 18:08:43 -05:00 by yindo · 1 comment
Owner

Originally created by @ariane-emory on GitHub (Jan 29, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Currently, there exists a small discrepancy in how agent, commands, plugins, and skills are discovered:

Agents: may be hidden (may have names beginning with . and still be discoverable)
Commands: may be hidden
Plugins: may be hidden
Claude Code-style skills: may be hidden.
OpenCode-style Skills: may NOT be hidden

  1. This discrepancy is not necessary and could lead to user confusion.
  2. There's no particular upside to allowing these objects to be hidden files.
  3. It would in fact be more useful if they were not found if they were hidden files, since it would allow you to quickly rename a file to add a . character if you wanted to temporarily disable it, which would be at times quite convenient.

Plugins

None

OpenCode version

1.1.40

Steps to reproduce

Sample procedure for a command:

  1. Rename one of your commands so that it begins with a /. character.
  2. Start OpenCode.
  3. Begin typing /..
  4. Observe that your hidden command appears as an auto completion.

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Originally created by @ariane-emory on GitHub (Jan 29, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Currently, there exists a small discrepancy in how agent, commands, plugins, and skills are discovered: Agents: may be hidden (may have names beginning with `.` and still be discoverable) Commands: may be hidden Plugins: may be hidden Claude Code-style skills: may be hidden. OpenCode-style Skills: may NOT be hidden 1. This discrepancy is not necessary and could lead to user confusion. 2. There's no particular upside to allowing these objects to be hidden files. 3. It would in fact be more useful if they were not found if they were hidden files, since it would allow you to quickly rename a file to add a `.` character if you wanted to temporarily disable it, which would be at times quite convenient. ### Plugins None ### OpenCode version 1.1.40 ### Steps to reproduce Sample procedure for a command: 1. Rename one of your commands so that it begins with a `/.` character. 2. Start OpenCode. 3. Begin typing `/.`. 4. Observe that your hidden command appears as an auto completion. ### Screenshot and/or share link <img width="781" height="444" alt="Image" src="https://github.com/user-attachments/assets/75cafe34-cc8d-4a47-8a71-6beefedead08" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:08:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2026):

Thanks for reporting this issue! I searched through existing issues and did not find any clear duplicates. This appears to be a unique issue about the inconsistency in hidden file discovery behavior across agents, commands, plugins, and skills.

The issue is well documented and clearly explains:

  1. The inconsistency (skills can't be hidden, but agents/commands/plugins can)
  2. The problematic behavior (hidden items still appear in autocomplete)
  3. The desired use case (renaming files with dot prefix to temporarily disable them)

This will be helpful for the team to address.

@github-actions[bot] commented on GitHub (Jan 29, 2026): Thanks for reporting this issue! I searched through existing issues and did not find any clear duplicates. This appears to be a unique issue about the inconsistency in hidden file discovery behavior across agents, commands, plugins, and skills. The issue is well documented and clearly explains: 1. The inconsistency (skills can't be hidden, but agents/commands/plugins can) 2. The problematic behavior (hidden items still appear in autocomplete) 3. The desired use case (renaming files with dot prefix to temporarily disable them) This will be helpful for the team to address.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7937