opencode-zombie-monitor
v1.1.1
Published
Auto-kill zombie opencode processes. Supports macOS and Linux with auto language detection (EN/RU).
Maintainers
Readme
🧟 opencode-zombie-monitor
"The only good zombie is a dead zombie" 💀
OpenCode plugin that hunts down and eliminates orphaned processes devouring your RAM.
😱 The Horror Story
You're coding happily with OpenCode. You close a terminal tab. Life goes on...
BUT WAIT! The process didn't die. It's still there. Lurking. Eating your RAM. And every time you close a tab without pressing q... another zombie rises.
$ ps aux | grep opencode
opencode ?? S 156MB
opencode ?? S 143MB
opencode ?? S 98MB
... 💀 your RAM is goneThose ?? = no TTY attached = zombie 🧟
📦 Install
{
"plugin": ["opencode-zombie-monitor"]
}Restart OpenCode. The hunt begins 🎯
🔫 How it works
Every message you send → plugin scans for zombies → calculates their RAM → kills them → reports exact numbers:
🧟 Killed 3 zombie processes | Freed 397MB RAM | Headshot! 💥No tokens wasted - notification goes via ignored message.
🎮 Commands
| Command | What |
|---------|------|
| /zombies | check status |
| /kill-zombies | manual headshot 💥 |
/zombies
✅ 2 processes, no zombies/zombies
🧟 3 zombies of 5 processes | 284MB RAM | /kill-zombies/kill-zombies
💥 Headshot! Killed 3 zombies | Freed 284MB RAM⚙️ Config
{
"plugin": [
["opencode-zombie-monitor", { "autoKill": false }]
]
}| Option | Default | What |
|--------|---------|------|
| autoKill | true | auto-kill or just notify |
| threshold | 1 | min zombies to trigger |
RAMBO MODE (default) - kill on sight:
{ "autoKill": true, "threshold": 1 }MANUAL MODE - you pull the trigger:
{ "autoKill": false }🖥️ Platforms
| Platform | Status | |----------|--------| | macOS | ✅ hunting | | Linux | ✅ hunting | | Windows | ❌ zombies win |
🌍 Languages
Auto-detects from LANG: EN, RU, ZH.
📜 License
MIT - use it, fork it, kill zombies with it.
