OpenCode plugin that enforces hard token thresholds — stops subagents at 70k and prompts the user to start a new session at 80k via system-message injection.
Version 0.1.0, 6 weekly downloads, rank 1505. Judged from its declared dependencies.
| @opencode-ai/plugin | >=1.0.0 |
|---|---|
| @opencode/plugin | - |
[](https://rafal-one.github.io/opencode-v2-ready/p/opencode-session-guard.html)
It depends on the V1 plugin API and will not load in OpenCode 2 until the author ports it. See how to port.