-
Notifications
You must be signed in to change notification settings - Fork 473
Add full OpenCode-compatible compound-engineering configs #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d02f2f6 to
7b09d24
Compare
7b09d24 to
e302f88
Compare
Port all compound-engineering agents, commands, and skills to OpenCode-compatible format. Contents: - 27 agents (design, docs, research, review, workflow) - 23 commands (slash commands for various workflows) - 14 skills (specialized knowledge and tool integrations) OpenCode uses a different schema for the `tools` field: - Claude Code: comma-separated string - OpenCode: record/object format This allows OpenCode users to use compound-engineering without manual conversion. Installation: cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ cp opencode/commands/* ~/.config/opencode/command/ cp -r opencode/skills/* ~/.config/opencode/skill/ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
e302f88 to
83562f2
Compare
|
Thanks! I'll take a look if there is a more programmatic way maybe in the builds tep. IS this wokring well for you in opencode? |
gregoryfm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small typo in the folder names.
|
|
||
| ```bash | ||
| # Copy agents | ||
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ | |
| cp -r opencode/agents/* ~/.config/opencode/agents/compound-engineering/ |
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ | ||
|
|
||
| # Copy commands | ||
| cp opencode/commands/* ~/.config/opencode/command/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp opencode/commands/* ~/.config/opencode/command/ | |
| cp opencode/commands/* ~/.config/opencode/commands/ |
| cp opencode/commands/* ~/.config/opencode/command/ | ||
|
|
||
| # Copy skills | ||
| cp -r opencode/skills/* ~/.config/opencode/skill/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp -r opencode/skills/* ~/.config/opencode/skill/ | |
| cp -r opencode/skills/* ~/.config/opencode/skills/ |
| cp opencode/commands/* ~/.config/opencode/command/ | ||
|
|
||
| # Copy skills | ||
| cp -r opencode/skills/* ~/.config/opencode/skill/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp -r opencode/skills/* ~/.config/opencode/skill/ | |
| cp -r opencode/skills/* ~/.config/opencode/skills/ |
|
|
||
| ```bash | ||
| # Copy agents | ||
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ | |
| cp -r opencode/agents/* ~/.config/opencode/agents/compound-engineering/ |
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ | ||
|
|
||
| # Copy commands | ||
| cp opencode/commands/* ~/.config/opencode/command/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp opencode/commands/* ~/.config/opencode/command/ | |
| cp opencode/commands/* ~/.config/opencode/commands/ |
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ && \ | ||
| cp opencode/commands/* ~/.config/opencode/command/ && \ | ||
| cp -r opencode/skills/* ~/.config/opencode/skill/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cp -r opencode/agents/* ~/.config/opencode/agent/compound-engineering/ && \ | |
| cp opencode/commands/* ~/.config/opencode/command/ && \ | |
| cp -r opencode/skills/* ~/.config/opencode/skill/ | |
| cp -r opencode/agents/* ~/.config/opencode/agents/compound-engineering/ && \ | |
| cp opencode/commands/* ~/.config/opencode/commands/ && \ | |
| cp -r opencode/skills/* ~/.config/opencode/skills/ |
yes it's working remarkably well. something to note however is, since opencode let's u switch between agents (plan/build/etc); you'll end up with a long list of agents once you've installed this plugin since it comes with a bunch of agents that it calls internally for specific work modes. It's more of a DX issue since it doesnt really change the functionality much @kieranklaassen |
|
Hi @gregoryfm |
|
@kunal70006 how do I use this in opencode? should i see /workflow:.... for example? |
|
working on this one! I want to see if we can make it more programmatic |
@georgkreimer what ive found to work the best is switching to plan mode, then /compound-engineering-workflows-plan and spec out a plan for whatever you wanna start working on, then u can take it from there. |
please feel free to ask for help, i'd be more than happy to collaborate on this project, thanks for all your work so far! |
yea, seems to work. just the slash commands turn out pretty long |
|
Native opencode support now https://x.com/kieranklaassen/status/2014142952038343080?s=20 Let me know how it works for you. Appreciate your work here |
Summary
Port all compound-engineering agents, commands, and skills to OpenCode-compatible format.
Contents:
Problem
OpenCode uses a different schema for the
toolsfield than Claude Code:tools: Read, Edit, Bash)tools:\n Bash: false)This causes validation errors when using compound-engineering agents with OpenCode:
Solution
Add a new
opencode/directory with all configs ported to OpenCode-compatible format, leaving the original Claude Code configs untouched.Structure:
Installation for OpenCode users
Test plan
🤖 Generated with Claude Code