Skip to content

OpenCode integration uses invalid general-purpose agent and blocks on large corpus prompt #825

Closed

Description

@zchangming

Summary

When using Graphify with OpenCode, the installed SKILL.md appears to contain instructions that are not fully compatible with OpenCode.

There are two related issues:

  1. The skill instructs the model to use subagent_type="general-purpose", but OpenCode does not have a general-purpose subagent type.
  2. For large repositories, the skill stops and asks the user to choose a subfolder instead of continuing with a deterministic OpenCode-compatible policy.

This makes /graphify . fail or become interactive in OpenCode environments, especially in offline/self-hosted model setups.

Environment

  • Platform: OpenCode
  • Graphify version: latest available version
  • Install command:
graphify install --platform opencode
Issue 1: Invalid OpenCode subagent type
In OpenCode, this fails with:

Task Extract chunk 1 of 26
Error: Unknown agent type: general-purpose is not a valid agent type

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