Skip to content

[FEATURE]: Support commands in .agents/commands #27972

Closed as not planned
Closed as not planned

Description

@Arcadi4

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

Add command discovery for .agents/commands/**/*.md, matching the existing .agents/skills convention.

opencode already discovers reusable skills from .agents/skills, but slash command markdown is only discovered from .opencode/command(s). This makes it harder to keep agent-related commands and skills together in shared dotfile/project setups.

This is related to #14240, but intentionally narrower: support the .agents/commands convention without adding a general configurable path system.

Activity

  1. changed the title [-]Support commands in .agents/commands[/-] [+][FEATURE]: Support commands in .agents/commands[/+] on May 17, 2026
  2. github-actions commented on May 17, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines. We'll take a look.

  3. mugnimaestra commented on Jun 3, 2026

    @mugnimaestra
    Contributor

    I have opened #30629 which implements this by adding command discovery from .agents/commands/ and .claude/commands/ (mirroring the existing skill discovery paths), plus a commands.paths config field for custom folders. Would appreciate feedback on the approach.

  4. github-actions commented on Aug 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions