planning-with-files works with OpenCode as a personal or project skill.
See docs/installation.md for detailed installation instructions.
mkdir -p ~/.config/opencode/skills
cd ~/.config/opencode/skills
git clone https://github.com/OthmanAdi/planning-with-files.gitmkdir -p .opencode/skills
cd .opencode/skills
git clone https://github.com/OthmanAdi/planning-with-files.gitIf you have obra/superpowers OpenCode plugin:
Use the use_skill tool with skill_name: "planning-with-files"
Manually read the skill file when starting complex tasks:
cat ~/.config/opencode/skills/planning-with-files/planning-with-files/SKILL.mdoh-my-opencode has Claude Code compatibility for skills. To use planning-with-files with oh-my-opencode:
mkdir -p ~/.config/opencode/skills/planning-with-files
cp -r .opencode/skills/planning-with-files/* ~/.config/opencode/skills/planning-with-files/Add the skill to your ~/.config/opencode/oh-my-opencode.json (or .opencode/oh-my-opencode.json for project-level):
{
"skills": {
"sources": [
{ "path": "~/.config/opencode/skills/planning-with-files", "recursive": false }
],
"enable": ["planning-with-files"]
},
"disabled_skills": []
}Ask the agent: "Do you have access to the planning-with-files skill? Can you create task_plan.md?"
If the agent forgets the planning rules:
- Check skill is loaded: The skill should appear in oh-my-opencode's recognized skills
- Explicit invocation: Tell the agent "Use the planning-with-files skill for this task"
- Check for conflicts: If using superpowers plugin alongside oh-my-opencode, choose one method:
- Use oh-my-opencode's native skill loading (recommended)
- OR use superpowers'
use_skilltool, but not both
The session-catchup.py script currently has limited support for OpenCode due to different session storage formats:
- Claude Code: Uses
.jsonlfiles at~/.claude/projects/ - OpenCode: Uses
.jsonfiles at~/.local/share/opencode/storage/session/
When you run /clear in OpenCode, session catchup will detect OpenCode and show a message. Workaround: Manually read task_plan.md, progress.md, and findings.md to catch up after clearing context.
Full OpenCode session parsing support is planned for a future release.
Global:
ls -la ~/.config/opencode/skills/planning-with-files/planning-with-files/SKILL.mdProject:
ls -la .opencode/skills/planning-with-files/planning-with-files/SKILL.md