Skip to content
    ↑↓ select↵ openesc close
    English中文
    Mc01

    Lazy Plugins

    v1.0.0Tools & Commands
    opencode-lazy-plugins

    OpenCode plugin that hides ClaudeCode plugin commands from autocomplete and provides a /plugins command to access them on demand

    GitHub stars

    1

    Monthly installs

    10

    2 in 7 days

    Composite scoreSCORE

    20.1

    Multi-signal model

    Last commit

    5 months ago

    2026-03-09

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-lazy-plugins@1.0.0"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    An oh-my-opencode plugin that declutters your slash-command autocomplete by hiding plugin commands behind a single /plugins gateway.

    The Problem

    When you install several oh-my-opencode plugins, each one registers its own slash commands. The autocomplete list grows fast and becomes noisy — making it hard to find the commands you actually use.

    How It Works

    opencode-lazy-plugins runs at config time and:

    1. Detects all commands registered by other plugins (those with (plugin: ...) descriptions)
    2. Removes them from the autocomplete namespace
    3. Registers a single /plugins command that serves as an on-demand gateway to all hidden commands

    Your core commands stay clean. Plugin commands remain accessible when you need them.

    /plugins Usage

    /plugins                    # Interactive picker — browse all plugin commands
    /plugins semgrep            # Fuzzy match — jumps straight to the best match
    

    Install

    opencode plugins add opencode-lazy-plugins
    

    Or add to your opencode config manually:

    {
      "plugin": [
        ...,
        "opencode-lazy-plugins@latest",
        ...
      ]
    }
    

    Before / After

    Before — autocomplete flooded with plugin commands:

    /semgrep-rule-creator:semgrep-rule
    /semgrep-rule-creator:semgrep-rule-creator
    /building-secure-contracts:audit-prep-assistant
    /building-secure-contracts:code-maturity-assessor
    /building-secure-contracts:guidelines-advisor
    /static-analysis:semgrep
    /static-analysis:codeql
    ... (30+ more)
    

    After — one entry point:

    /plugins
    

    License

    MIT