1.4 KiB
1.4 KiB
OpenCode omoa Toggle
Toggle the oh-my-openagent plugin for OpenCode.
Purpose
oh-my-openagent adds multi-model orchestration, LSP tools, and other advanced features to OpenCode. However, it can interfere with normal operation. This tool provides a simple way to enable/disable it.
Files
omoa.sh— Shell script for direct useomoa.mjs— OpenCode skill for integration with OpenCode sessions and Telegram bot
Usage
Shell Script
./omoa.sh # Show status
./omoa.sh on # Enable oh-my-openagent
./omoa.sh off # Disable oh-my-openagent
OpenCode Skill
When registered in opencode.json, use /commands → omoa_toggle in OpenCode or Telegram.
Installation
- Copy
omoa.shandomoa.mjsto/home/kenny/.config/opencode/skills/ - Add to
opencode.jsonunder "skills":"omoa": { "description": "Toggle oh-my-openagent plugin on/off", "path": "/home/kenny/.config/opencode/skills/omoa.mjs" } - Restart OpenCode server
Known Issues
- The omoa install command is fragile and may fail silently
- The
--no-tuiflag requires all options to be specified manually - The script does not verify success before restarting services
- Needs overhaul to handle edge cases better
Author
Kenny Hibbhome
Created
2026-05-03