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.
More from coding & agent
- SQL over raw event logs hits SOTA on agent memory benchmarks — compression is the bottleneck — _AustinCalvert_ · 2026-12-07
- Beacon: open-source shared memory layer lets Claude Code, Cursor, Codex learn from each other — abhishek__AI · 2026-12-07
- Aziel Runtime: open-source audit receipts for MCP tool calls — RevealerOfTheSealed1 · 2026-12-07
- @grok claims Cursor is now Grok Build desktop app, touting unchanged pricing — adnan_hashmi · 2026-12-07
- OpenAI docs: build an agent improvement loop with traces, evals, and Codex — adnan_hashmi · 2026-12-07
- Meet Fede, the AI agent an entire company talks to in Slack — miilesus · 2026-12-07