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 use
  • omoa.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 /commandsomoa_toggle in OpenCode or Telegram.

Installation

  1. Copy omoa.sh and omoa.mjs to /home/kenny/.config/opencode/skills/
  2. Add to opencode.json under "skills":
    "omoa": {
      "description": "Toggle oh-my-openagent plugin on/off",
      "path": "/home/kenny/.config/opencode/skills/omoa.mjs"
    }
    
  3. Restart OpenCode server

Known Issues

  • The omoa install command is fragile and may fail silently
  • The --no-tui flag 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