r/opencode 1d ago

How to stop random prompt injections

Hey, I switched from MimoCode to OpenCode, and whenever I automate some tasks like scraping websites etc and creating emails, it keeps messing up pls help this lwk didnt happen in mimocode but im outta my mimo subscription so i use opencode's free models lololol lmk

0 Upvotes

2 comments sorted by

4

u/torrso 15h ago
  1. Your typing sucks
  2. Create a "scraper" subagent that doesn't have permissions to any other tools than the web search mcp or whatever you use and tell the main-agent to delegate all scraping stuff to that subagent.
  3. lolololol lwk lmk.

2

u/Lordaizen639 14h ago

you can use the opencode zen in mimocode tho