opencode-lazy-pluginsOpenCode plugin that hides ClaudeCode plugin commands from autocomplete and provides a /plugins command to access them on demand
1
10
2 in 7 days
20.1
Multi-signal model
5 months ago
2026-03-09
Install and configure
opencode.jsonWrites 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"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-lazy-plugins@1.0.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-lazy-pluginsopencode 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:
- Detects all commands registered by other plugins (those with
(plugin: ...)descriptions) - Removes them from the autocomplete namespace
- Registers a single
/pluginscommand 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