Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.58 KB

opencode.md

File metadata and controls

69 lines (50 loc) · 1.58 KB

OpenCode adapter

Discovery

Native OpenCode locations:

# project-local
.opencode/skills/pair-programming/

# user-level
~/.config/opencode/skills/pair-programming/

OpenCode also discovers compatible definitions from:

.agents/skills/pair-programming/
.claude/skills/pair-programming/

Therefore a repository-local Codex installation in .agents/skills/ can also be visible to OpenCode without a second copy. Use the native .opencode/skills/ path when OpenCode is the intended owner of the installation or when you want OpenCode-specific precedence.

Slash catalog

The canonical SKILL.md includes:

metadata:
  opencode/slash: "true"

This explicitly exposes the skill in OpenCode's slash-command catalog while keeping the same portable skill body for the other hosts.

The skill ID is pair-programming, matching the directory name and canonical lowercase kebab-case name.

Invocation

/pair-programming plan add capability registry
/pair-programming next
/pair-programming review
/pair-programming hint step 2
/pair-programming take tests
/pair-programming status
/pair-programming dashboard

OpenCode can also load it automatically through the native skill tool when its description matches the task.

Install

bash scripts/install.sh opencode
bash scripts/install.sh opencode --scope user
.\scripts\install.ps1 opencode
.\scripts\install.ps1 opencode -Scope user

If the skill is not visible, check the selected agent's skill permission, source precedence, and whether another source defines the same ID later.