[GH-ISSUE #73] Conflicts between planning-with-files and oh-my-opencode #44

Closed
opened 2026-03-03 18:50:14 +03:00 by kerem · 2 comments
Owner

Originally created by @MrCloth on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/OthmanAdi/planning-with-files/issues/73

When using Opencode and the oh-my-opencode plugin, even I use the superpowers to import the planning-with-files tool, it still forget the rules that the skill asked to follow and cannot update the three files correctly.

Originally created by @MrCloth on GitHub (Feb 6, 2026). Original GitHub issue: https://github.com/OthmanAdi/planning-with-files/issues/73 When using Opencode and the oh-my-opencode plugin, even I use the superpowers to import the planning-with-files tool, it still forget the rules that the skill asked to follow and cannot update the three files correctly.
kerem closed this issue 2026-03-03 18:50:14 +03:00
Author
Owner

@OthmanAdi commented on GitHub (Feb 6, 2026):

Hey @MrCloth, thanks for reporting this.

I found the root cause: the SKILL.md files for OpenCode (and other IDEs) were using CLAUDE_PLUGIN_ROOT — a Claude Code-specific environment variable that doesn't exist in OpenCode or oh-my-opencode.

What I fixed:

  • Replaced all Claude-specific path references with OpenCode-specific paths (~/.config/opencode/skills/planning-with-files/)
  • Updated the hook scripts to use OPENCODE_SKILL_ROOT as the fallback
  • Added a proper oh-my-opencode configuration guide in docs/opencode.md

Can you test?

  1. Pull the latest changes or re-clone the repo
  2. Copy the skill to your OpenCode skills directory:
    cp -r .opencode/skills/planning-with-files ~/.config/opencode/skills/
    
  3. If using oh-my-opencode, add to your config:
    {
      "skills": {
        "sources": [{ "path": "~/.config/opencode/skills/planning-with-files" }],
        "enable": ["planning-with-files"]
      }
    }
    
  4. Start a complex task and see if the agent now creates and updates the three planning files correctly

Let me know if this fixes it for you. If not, I'll dig deeper.

<!-- gh-comment-id:3860695157 --> @OthmanAdi commented on GitHub (Feb 6, 2026): Hey @MrCloth, thanks for reporting this. I found the root cause: the SKILL.md files for OpenCode (and other IDEs) were using `CLAUDE_PLUGIN_ROOT` — a Claude Code-specific environment variable that doesn't exist in OpenCode or oh-my-opencode. **What I fixed:** - Replaced all Claude-specific path references with OpenCode-specific paths (`~/.config/opencode/skills/planning-with-files/`) - Updated the hook scripts to use `OPENCODE_SKILL_ROOT` as the fallback - Added a proper oh-my-opencode configuration guide in [docs/opencode.md](https://github.com/OthmanAdi/planning-with-files/blob/master/docs/opencode.md) **Can you test?** 1. Pull the latest changes or re-clone the repo 2. Copy the skill to your OpenCode skills directory: ```bash cp -r .opencode/skills/planning-with-files ~/.config/opencode/skills/ ``` 3. If using oh-my-opencode, add to your config: ```json { "skills": { "sources": [{ "path": "~/.config/opencode/skills/planning-with-files" }], "enable": ["planning-with-files"] } } ``` 4. Start a complex task and see if the agent now creates and updates the three planning files correctly Let me know if this fixes it for you. If not, I'll dig deeper.
Author
Owner

@MrCloth commented on GitHub (Feb 8, 2026):

thanks so much for your careful answer! it helped a lot

<!-- gh-comment-id:3866484177 --> @MrCloth commented on GitHub (Feb 8, 2026): thanks so much for your careful answer! it helped a lot
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/planning-with-files#44
No description provided.