Common issues when installing or running @datum-cloud/opencode-plugins.
OpenCode discovers from these paths (first match wins):
- Project:
.opencode/{agents,commands,skills}/ - Global:
~/.config/opencode/{agents,commands,skills}/ - Claude-compat:
.claude/skills/(skills only)
Check:
postinstall.mjsran — look for the[opencode-plugins] installed N file(s) into ...line in the install output. Files land in~/.config/opencode/(or$OPENCODE_CONFIG_DIRif set).- Files actually present:
ls ~/.config/opencode/agents ~/.config/opencode/commands ~/.config/opencode/skills. - No name collisions: skill
namefrontmatter must equal the directory name and match^[a-z0-9]+(-[a-z0-9]+)*$. Runls ~/.config/opencode/skillsand confirm each dir name is lowercase-hyphenated. SKILL.mdis all-caps (notskill.md).
- Confirm the package is listed in
opencode.jsonpluginarray and OpenCode reinstalled it (opencodelogs plugin load at startup). - The hook only fires on
write/edittool calls. Edit a.goorkustomization.yamlfile and watch for aclient.app.logwarn entry. - Validator scripts must be executable and on the worktree:
chmod +x skills/<skill>/scripts/*.shand check the paths resolved insrc/auto-validate.tsmatch your install location.
The milo-activity skills shell out to an activity binary. Install and configure it as an MCP server separately (see the upstream activity docs). Skills will fail with command not found until it is on your PATH.
It does not — postinstall.mjs skips files that already exist. To force-refresh, delete the target file under ~/.config/opencode/ and reinstall, or rm -rf ~/.config/opencode/{agents,commands,skills} and re-run node node_modules/@datum-cloud/opencode-plugins/postinstall.mjs.
npm run typecheckRequires @opencode-ai/plugin types. If types are unresolved, run npm install (or bun install) so the dev dependency resolves.