Skip to content

career-ops skill user_invocable + arguments fields don't register slash command #39005

Closed as not planned

Description

@andrefs

The career-ops skill at .opencode/skills/career-ops/SKILL.md includes user_invocable: true and arguments: mode in its frontmatter, suggesting those fields should auto-register the skill as a /career-ops slash command:

name: career-ops
arguments: mode
user_invocable: true
user-invocable: true
argument-hint: "[scan | deep | pdf | ...]"

However, opencode does not recognize these fields — its skill schema only supports name, description, license, compatibility, and metadata. Skills are loaded only via the skill() tool and never auto-register as slash commands. The only way to create a slash command is via a .opencode/commands/*.md file.

The existing commands (career-ops-interview-prep.md, career-ops-interview-intel.md) follow the correct pattern — they are .opencode/commands/*.md files that call skill({ name: "career-ops" }). But the main /career-ops command file is missing.

Two possible paths:

  1. (career-ops side, mostly already fixed) Create .opencode/commands/career-ops.md that accepts $ARGUMENTS and loads the skill, following the pattern of the existing sub-commands.
  2. (opencode side) Either document that user_invocable, arguments, user-invocable, and argument-hint are not supported fields in the skill schema — or implement them if that was the intention.

Happy to open a PR for the documentation side if that is the preferred fix.

Activity

  1. andrefs commented on Jul 26, 2026

    @andrefs
    Author

    Apologies — this is not an opencode issue. The user_invocable fields are from Claude Code's skill spec (career-ops targets multiple CLIs). The real fix is creating .opencode/commands/career-ops.md in the career-ops repo. Closing.

  2. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

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

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