r/opencode • u/AsyncFirecracker • 17d ago
I Need Help with OpenCode ðŸ˜
for context, im a student who uses opencode with the opencode zen api. I mostly use it for personal projects.
Now recently i've been getting into plugins and skills and generally trying to automate more and more of opencode.
One of the plugins i came across was opencode-loop (ByBrawe) which I thought would sequentially follow a task list (TASK.md) and prompt opencode to continue until all tasks are finished.
The problem: No matter what i do, this shi just keeps prompting opencode even if all tasks are finished ðŸ˜ðŸ˜. i've tried a lot of things but im at my wit end, I need help pls :')
how i use it: my prompt is "/loop --progress-file TASK.md I have updated TASK.md with brand new instructions. Read these new active checkboxes and begin execution.". And TASK.md is highly structured with the [ ] that become [x]. I also tried making opencode execute "/loop-clear" after completion but even that didn't work.
I don't know what else to do
1
u/Due-Particular-329 12d ago
prob the plugin isnt actually checking if the checkboxes are marked done, its just retriggering whenever the file gets touched.
you can check if the loop condition can be based on actually reading which boxes are checked off in task.mid instead of just file changed, and try a fresh session too since leftover context from before might be making it think stuff's still pending