opencode automations: codemode scripts call MCP tools, spend zero tokens when CI is green

zeeg · x · 2026-12-07

opencode's automations take a smarter approach than competitors: instead of running a prompt on a schedule (calling the LLM every time), they are codemode scripts in JS that call your MCP tools directly and only optionally return a prompt. Example from the quoted post: check CI every 5 minutes — if all green, zero tokens spent; if something breaks, return a prompt with the logs. opencode author zeeg adds that anyone still looping on CI checks has bigger problems to care about than a cron job.

Original post →

More from coding & agent

coding & agent channel →