Skip to content

[FEATURE]: Add configurable skill paths #14370

@yg-codes

Description

@yg-codes

Problem

Currently, skill file locations are hardcoded to a fixed set of paths:

  • Project: .opencode/skills/, .claude/skills/, .agents/skills/
  • Global: ~/.config/opencode/skills/, ~/.claude/skills/, ~/.agents/skills/

Users cannot add custom paths for skill discovery, such as ~/.claude/plugins/marketplaces.

Proposed Solution

Add a configuration option in opencode.json to specify additional skill directories:

{
  "skills": {
    "paths": [
      "~/.claude/plugins/marketplaces",
      "~/shared-skills"
    ]
  }
}

Use Cases

  1. Plugin marketplaces: Users could maintain a separate directory for community-shared skills
  2. Team-shared skills: Organizations could point to a shared location for team-specific skills
  3. Skill development: Easier to develop and test skills in a separate directory before moving to final location

Current Workaround

Using symlinks, but this is manual and doesn't scale well for multiple directories.

Related


Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions