Skip to content

Opencode installation does not install plugin as documented #356

Closed

Description

@timothyclin

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.

Activity

  1. safishamsi commented on Apr 14, 2026

    @safishamsi
    Member

    Implemented in v0.4.14.

    pip install --upgrade graphifyy
  2. allanchan339 commented on Apr 16, 2026

    @allanchan339

    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

  3. safishamsi commented on Apr 16, 2026

    @safishamsi
    Member

    To do a full reset:

    1. Uninstall the current setup:
    graphify opencode uninstall
    1. Clear the cache and manifest (stale entries from old versions can cause confusion):
    rm -rf graphify-out/cache graphify-out/.graphify_manifest.json
    1. Reinstall:
    pip install --upgrade graphifyy
    graphify opencode install
    1. 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.

  4. allanchan339 commented on Apr 16, 2026

    @allanchan339

    To do a full reset:

    1. 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.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.

    Image

    After all of the work above. Now the commands is missing from opencode.

  5. louie337 commented on May 3, 2026

    @louie337

    To do a full reset:

    1. 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.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.

    Image

    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.

  6. jeroenev commented on May 4, 2026

    @jeroenev

    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?

  7. croots commented on Jun 6, 2026

    @croots

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions