Opencode installation does not install plugin as documented
After running graphify install --platform opencode, and restarting opencode, the /graphify command shows up fine and /graphify . The command seems to parse and create the graphify-out directory with processed graph files.
However, when I ask the agent even the simplest questions about the code base, it does not utilize Graphify at all.
Per documentation, "OpenCode writes to AGENTS.md and also installs a tool.execute.before plugin (.opencode/plugins/graphify.js + opencode.json registration) that fires before bash tool calls and injects the graph reminder into tool output when the graph exists."
However, on my Mac, I do not see any evidence of plugins being installed either in ~/.config/opencode/plugins or {repo}/.opencode/plugins.
Implemented in v0.4.14.
pip install --upgrade graphifyy
It may work well for new installed v0.4.14 user; but old cache and config may pollute the new version. In my opencode setup, I am still facing this issue and how to do full reset wit v0.4.14? @safishamsi
To do a full reset:
- Uninstall the current setup:
graphify opencode uninstall
- Clear the cache and manifest (stale entries from old versions can cause confusion):
rm -rf graphify-out/cache graphify-out/.graphify_manifest.json
- Reinstall:
pip install --upgrade graphifyy
graphify opencode install
- Restart OpenCode and re-run
/graphify .in your project.
The plugin files should appear at .opencode/plugins/graphify.js and .opencode/opencode.json in your project root after step 3. If they are still missing after that, paste the output of graphify opencode install here and we can debug further.
To do a full reset:
- Uninstall the current setup:
graphify opencode uninstall 2. Clear the cache and manifest (stale entries from old versions can cause confusion):
rm -rf graphify-out/cache graphify-out/.graphify_manifest.json 3. Reinstall:
pip install --upgrade graphifyy graphify opencode install 4. Restart OpenCode and re-run
/graphify .in your project.The plugin files should appear at
.opencode/plugins/graphify.jsand.opencode/opencode.jsonin your project root after step 3. If they are still missing after that, paste the output ofgraphify opencode installhere and we can debug further.
After all of the work above. Now the commands is missing from opencode.
To do a full reset:
- Uninstall the current setup:
graphify opencode uninstall 2. Clear the cache and manifest (stale entries from old versions can cause confusion): rm -rf graphify-out/cache graphify-out/.graphify_manifest.json 3. Reinstall: pip install --upgrade graphifyy graphify opencode install 4. Restart OpenCode and re-run
/graphify .in your project. The plugin files should appear at.opencode/plugins/graphify.jsand.opencode/opencode.jsonin your project root after step 3. If they are still missing after that, paste the output ofgraphify opencode installhere and we can debug further.![]()
After all of the work above. Now the commands is missing from opencode.
As in today this is still the behavior. However, even though the commands are missing, it can be executed successfully.
yeah opencode behavior is very weird compared to ClaudeCode In CC it installs a skill instead of this weird plugin, why not do the same in opencode?
It seems like opencode is essentially not supported at all beyond the agent skill? The plugin simply provides a reminder to run graphify and it modifies AGENT.md to do the same. However, I see nothing for using opencode go as my backend for graph generation and it doesn't actually come with any tools, so I cant use it for question answering either.