Feature Request: CLI Support for Plugin Enable/Disable #8294

Closed
opened 2026-02-16 18:09:37 -05:00 by yindo · 2 comments
Owner

Originally created by @qcwssss on GitHub (Feb 2, 2026).

Originally assigned to: @thdxr on GitHub.

Use Case

In my use case, I found that when using plugins like oh-my-opencode, token consumption can increase significantly. It’s a good plugin, but it doesn’t necessarily need to be enabled all the time. Currently, there’s no quick way to temporarily disable a plugin to save tokens without manually editing configuration files or uninstalling it.

Proposal

I'd like to contribute a PR to add plugin management capabilities via both CLI and interactive Slash Commands.

Interactive CLI

  • /plugin list: List plugins status in the chat.
  • /plugin disable <name>: Disable a plugin (updates config).
  • /plugin enable <name>: Enable a plugin.

Design

  1. Config: Add disabled_plugins: string[] to opencode.json.
  2. Logic: Skip loading plugins present in the disabled_plugins list.

If the team agrees with this approach, I am happy to submit a PR implementing this.

Originally created by @qcwssss on GitHub (Feb 2, 2026). Originally assigned to: @thdxr on GitHub. ## Use Case In my use case, I found that when using plugins like oh-my-opencode, token consumption can increase significantly. It’s a good plugin, but it doesn’t necessarily need to be enabled all the time. Currently, there’s no quick way to temporarily disable a plugin to save tokens without manually editing configuration files or uninstalling it. ## Proposal I'd like to contribute a PR to add plugin management capabilities via both CLI and interactive Slash Commands. ### Interactive CLI - `/plugin list`: List plugins status in the chat. - `/plugin disable <name>`: Disable a plugin (updates config). - `/plugin enable <name>`: Enable a plugin. ### Design 1. **Config**: Add `disabled_plugins: string[]` to `opencode.json`. 2. **Logic**: Skip loading plugins present in the `disabled_plugins` list. If the team agrees with this approach, I am happy to submit a PR implementing this.
yindo closed this issue 2026-02-16 18:09:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7687: Disable plugins via cli - A feature request for the exact same CLI functionality
  • #9858: Token Consumption Analysis and Requirement for a Plugin Disable Feature for Agents - Related feature request highlighting the need to disable plugins to manage token consumption

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #7687: Disable plugins via cli - A feature request for the exact same CLI functionality - #9858: Token Consumption Analysis and Requirement for a Plugin Disable Feature for Agents - Related feature request highlighting the need to disable plugins to manage token consumption Feel free to ignore if none of these address your specific case.
Author
Owner

@qcwssss commented on GitHub (Feb 2, 2026):

Duplicated Feature request, I will close this PR and start working on a PR to address this issue.

@qcwssss commented on GitHub (Feb 2, 2026): Duplicated Feature request, I will close this PR and start working on a PR to address this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8294