Skip to content

Referencing opencode file path #22

@aeiplatform

Description

@aeiplatform

While using your plugin with opencode to fix the Claude permission error.

I have references in my subagents and AGENTS.md
But you have replaced those path:

→ Read .config/Claude/context/tech/spring-boot-4-java-25.md 
Error: ENOENT: no such file or directory, scandir '/home/tomak/.config/Claude/context/tech

The reference:

- [spring-boot-4-java-25.md](~/.config/opencode/context/tech/spring-boot-4-java-25.md) - Spring Boot 4.x patterns

Seems like the Claude Code requires only thing like:

  "mode": {
    "plan": {
      "prompt": "You are Claude Code, Anthropic's official CLI for Claude."
    },
    "build": {
      "prompt": "You are Claude Code, Anthropic's official CLI for Claude."
    }
  },

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