Complete guide for using the Core Engineering plugin with OpenCode.ai.
Tell OpenCode:
Clone https://github.com/Moonsong-Labs/knowledge-work-plugins to ~/.config/opencode/knowledge-work-plugins, then symlink ~/.config/opencode/knowledge-work-plugins/core-engineering/skills to ~/.config/opencode/skills/core-engineering, then restart opencode.
- OpenCode.ai installed
- Git installed
# 1. Clone the repository (or update existing)
if [ -d ~/.config/opencode/knowledge-work-plugins ]; then
cd ~/.config/opencode/knowledge-work-plugins && git pull
else
git clone https://github.com/Moonsong-Labs/knowledge-work-plugins.git ~/.config/opencode/knowledge-work-plugins
fi
# 2. Create skills directory
mkdir -p ~/.config/opencode/skills
# 3. Remove old symlink if it exists
rm -rf ~/.config/opencode/skills/core-engineering
# 4. Create symlink
ln -s ~/.config/opencode/knowledge-work-plugins/core-engineering/skills ~/.config/opencode/skills/core-engineering
# 5. Restart OpenCodels -l ~/.config/opencode/skills/core-engineeringShould show a symlink pointing to the skills directory.
Use OpenCode's native skill tool to list all available skills:
use skill tool to list skills
Use OpenCode's native skill tool to load a specific skill:
use skill tool to load core-engineering/brainstorming
Create your own skills in ~/.config/opencode/skills/:
mkdir -p ~/.config/opencode/skills/my-skillCreate ~/.config/opencode/skills/my-skill/SKILL.md:
---
name: my-skill
description: Use when [condition] - [what it does]
---
# My Skill
[Your skill content here]Create project-specific skills in .opencode/skills/ within your project.
OpenCode discovers skills from these locations (in priority order):
- Project skills (
.opencode/skills/) - Highest priority - Personal skills (
~/.config/opencode/skills/) - Plugin skills (
~/.config/opencode/skills/core-engineering/) - via symlink
Skills written for Claude Code are adapted for OpenCode:
TodoWrite→update_planTaskwith subagents → OpenCode's@mentionsystemSkilltool → OpenCode's nativeskilltool- File operations → Native OpenCode tools
cd ~/.config/opencode/knowledge-work-plugins && git pullRestart OpenCode to load the updates.
- Verify skills symlink:
ls -l ~/.config/opencode/skills/core-engineering - Use OpenCode's
skilltool to list available skills - Check skill structure: each skill needs a
SKILL.mdfile with valid frontmatter
rm ~/.config/opencode/skills/core-engineeringOptionally delete the clone: rm -rf ~/.config/opencode/knowledge-work-plugins
- Report issues: https://github.com/Moonsong-Labs/knowledge-work-plugins/issues
- Main documentation: https://github.com/Moonsong-Labs/knowledge-work-plugins
- OpenCode docs: https://opencode.ai/docs/