Skip to content

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

Closed

Description

@ariane-emory

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

Activity

  1. github-actions commented on Jan 29, 2026

    @github-actions
    Contributor

    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.

  2. changed the title [-]Hidden agent slash/commands/plugins ought not be discovered.[/-] [+]Hidden agent slash/commands/plugins/Claude-style skills ought not be discovered.[/+] on Jan 29, 2026
  3. changed the title [-]Hidden agent slash/commands/plugins/Claude-style skills ought not be discovered.[/-] [+]Hidden agent slash/commands/plugins/Claude Code-style skills ought not be discovered.[/+] on Jan 29, 2026
  4. changed the title [-]Hidden agent slash/commands/plugins/Claude Code-style skills ought not be discovered.[/-] [+]Hidden agent slash/commands/plugins/Claude Code-style skills ought not be discoverable.[/+] on Jan 29, 2026
  5. changed the title [-]Hidden agent slash/commands/plugins/Claude Code-style skills ought not be discoverable.[/-] [+]Hidden agent commands/plugins/Claude Code-style skills ought not be discoverable.[/+] on Jan 29, 2026
  6. changed the title [-]Hidden agent commands/plugins/Claude Code-style skills ought not be discoverable.[/-] [+]Hidden agents/commands/plugins/Claude Code-style skills ought not be discoverable.[/+] on Jan 29, 2026
  7. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions