-
Notifications
You must be signed in to change notification settings - Fork 153
Support OpenCode.ai skills directory during install #71
Copy link
Copy link
Closed
Labels
acceptedDeprecated: use status/accepted. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use status/accepted. Kept for issue history; will be removed in milestone 0.10.0.enhancementDeprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.
Milestone
Metadata
Metadata
Assignees
Labels
acceptedDeprecated: use status/accepted. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use status/accepted. Kept for issue history; will be removed in milestone 0.10.0.enhancementDeprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.
Summary
OpenCode.ai is an open-source AI coding agent with 80k+ GitHub stars that supports the AGENTS.md standard. However, it has its own skills discovery paths that APM doesn't currently target during
apm install.Current Behavior
When running
apm install, skills are placed in:.github/skills/→ VSCode/Copilot.claude/skills/→ Claude CodeOpenCode Skills Discovery
OpenCode looks for skills in these locations (docs):
.opencode/skills/<name>/SKILL.md(primary).claude/skills/<name>/SKILL.md(Claude-compatible)~/.config/opencode/skills/(global)~/.claude/skills/(global Claude-compatible)Partial Compatibility
OpenCode has Claude-compatible discovery, so skills installed to
.claude/skills/are already picked up. However, users who only use--target vscodeor don't have Claude tooling won't get OpenCode support.Proposed Solution
During
apm install, also output skills to.opencode/skills/<name>/SKILL.mdwhen:opencode.jsonexists in project), OR--target opencodeflag is used, OR.opencode/directory already existsThe SKILL.md format is identical to what APM already generates, so no transformation is needed—just an additional output path.
Alternative
Document that users should use
--target claudeor--target allto ensure OpenCode compatibility via the.claude/skills/path.References