Skip to content

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

Closed

Description

@shrk7x

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.

Activity

  1. github-actions commented on Feb 2, 2026

    @github-actions
    Contributor

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

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

  2. shrk7x commented on Feb 2, 2026

    @shrk7x
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions