LListicle

Best OpenCode Plugins (2026): Which Work on OpenCode 2

By pickwiseUpdated 170 views

The best OpenCode plugins for OpenCode 2 (v2), from DCP to Superpowers, ranked by independent picks and hands-on tests. OpenCode 1 plugins won't load on 2.

What we track: Loads on OpenCode 2 · Downloads last month · GitHub stars · checked October 22
Loads on OpenCode 2:
Whether it loads on OpenCode 2, which changed the plugin system; each pick’s Works with line has the versions.
Downloads last month:
Installs from npm in the last 30 days. Automated installs count too, so treat it as a rough sign of use.
GitHub stars:
How many people starred the project on GitHub. Hype and marketing move it as much as quality.

These numbers inform the order but don’t set it: an editor ranks the picks, weighing them against what people who use them say, since stars and downloads also reflect hype and marketing.

Loads on OpenCode 2
Downloads last month
GitHub stars

Showing 17 of 17

  1. A set of skills that makes the agent brainstorm, write a plan, then build it with subagents and tests instead of diving straight into code. Several Hacker News users pair it with cheap models: beefsack ran a subscription model as lead and a budget one as worker without nearing his limits. It installs from GitHub, not npm, where a package with the same name is unrelated. One critic says it tries to do too much.

    Install
    Add superpowers@git+https://github.com/obra/superpowers.git to "plugins"
    Works with
    OpenCode 1, and OpenCode 2.0.4 or later (pin v6.4.1+ on 2)
    License
    MIT
    Maintainer
    obra (Jesse Vincent)
  2. Instead of one big compaction when the window fills, DCP lets the model compress finished stretches of a session as it goes. Web Reactiva tried it on OpenCode 2.1.2: one compression swapped ten tool outputs and seven messages for a summary, about 5,800 tokens saved. Its authors now put new work into a separate tool, Sleev, two OpenCode 2 bugs are open (stray message numbers in replies, no compression notices), and the licence is AGPL.

    Install
    opencode plugin add @tarquinen/opencode-dcp@latest
    Works with
    OpenCode 2 natively since v3.2.0; OpenCode 1 on earlier releases
    License
    AGPL-3.0
    Maintainer
    Tarquinen (Opencode-DCP)
    Paste into Terminal to install
    opencode plugin add @tarquinen/opencode-dcp@latest
  3. A separate, MIT-licensed take on the multi-agent idea with short prompts and a handful of roles, and unlike the original it already runs on OpenCode 2. Peng Qian chose it over the full version because heavy orchestration had become too much for everyday coding. Composio's reviewer would skip it for small changes. On OpenCode 1 its bundled skills are no longer delivered.

    Install
    bunx oh-my-opencode-slim@latest install
    Works with
    OpenCode 1, and OpenCode 2.0.7 or later
    License
    MIT
    Maintainer
    alvinunreal
    Paste into Terminal to install
    bunx oh-my-opencode-slim@latest install
  4. A ruleset that makes the agent ask whether code needs to exist, or whether the standard library already does it, before writing any. Denis Shiryaev of JetBrains ran 80 paired tasks on an earlier version in Claude Code and measured 15% less code and 10.3% lower cost, a quarter to half of what the project advertises. Brandon Melville's OpenCode demo finished a Django build a minute sooner. Lookalike ports sit on npm, so install DietrichGebert's package.

    Install
    opencode plugin add @dietrichgebert/ponytail (OpenCode 1: the plugin list)
    Works with
    OpenCode 1 and OpenCode 2 (one package since v4.10.1)
    License
    MIT
    Maintainer
    DietrichGebert (Dietrich Gebert)
    Paste into Terminal to install
    opencode plugin add @dietrichgebert/ponytail
  5. Plays a sound or shows a desktop alert when OpenCode finishes, hits an error or stops to ask permission. Stephan Hochdörfer of bitExpert had tried other notification plugins on WSL2 without luck and reports this one worked straight away, and Web Reactiva picks it for OpenCode 2. Version 1.1.0 stopped OpenCode 2 alerts going to the wrong open client. Turn off the built-in notifications to avoid double alerts.

    • Loads on OpenCode 2 Yes
    • Downloads last month 11,724
    • GitHub stars 859
    Install
    opencode plugin add @mohak34/opencode-notifier@latest
    Works with
    OpenCode 1 and OpenCode 2 (one package)
    License
    MIT
    Maintainer
    mohak34
    Paste into Terminal to install
    opencode plugin add @mohak34/opencode-notifier@latest
  6. When the agent submits a plan, Plannotator opens it in your browser so you can strike lines, comment and send the notes back before any code is written. It reviews diffs the same way. Web Reactiva tried it on OpenCode 2.1.2: one comment on a single line came back as a revised plan. The Hacker News users who praise it mostly run it with Claude Code, and by default only OpenCode's plan agent can call it.

    Install
    opencode plugin add @plannotator/opencode@latest
    Works with
    OpenCode 1 and OpenCode 2
    License
    MIT or Apache-2.0
    Maintainer
    backnotprop
    Paste into Terminal to install
    opencode plugin add @plannotator/opencode@latest
  7. Gives OpenCode a memory that stays on your machine: project facts and your preferences go into a local vector database and are fed back into later sessions, with a web page to browse them. The author of kd05.com used it for some weeks and would not go back. Pulling facts out of conversations still needs an LLM API key, and Intel Macs are not supported.

    Install
    opencode plugin add opencode-mem@latest
    Works with
    OpenCode 1 and OpenCode 2
    License
    MIT
    Maintainer
    tickernelz
    Paste into Terminal to install
    opencode plugin add opencode-mem@latest
  8. A replacement for OpenCode's own compaction: a background model compresses old history and keeps memories across sessions, and the same database is shared with Pi if you use both. A Hacker News user who ran GLM models for two months names it next to DCP as a way to keep context under 160k. Setup turns OpenCode's built-in compaction off and asks you to choose a model for the compressing.

    Install
    npx @cortexkit/magic-context@latest setup
    Works with
    OpenCode 1 and 2; also Pi and Oh My Pi
    License
    MIT
    Maintainer
    cortexkit
    Paste into Terminal to install
    npx @cortexkit/magic-context@latest setup
  9. Memory again, but stored in Supermemory's cloud service, so what the agent learns follows you across machines. Web Reactiva and KDnuggets both pick it, and on OpenCode 2.1.2 it loaded with its memory tools. The catch on version 2: an open bug registers those tools only in the last project folder the shared server loaded. You also need a Supermemory account or API key.

    • Loads on OpenCode 2 Yes
    • Downloads last month 9,388
    • GitHub stars 1,647
    Install
    bunx opencode-supermemory@latest install
    Works with
    OpenCode 1 and 2; on 2 its tools work in one folder only (open bug)
    License
    MIT
    Maintainer
    Supermemory
    Paste into Terminal to install
    bunx opencode-supermemory@latest install
  10. Stops the agent before it runs a destructive git or filesystem command, such as git reset --hard, and before it reads your secret files. Darellanodev tried it on OpenCode against a git checkout that would have thrown away uncommitted changes. Its doctor and explain commands show what it blocks and why. The README says plainly that it is not a sandbox, and a since-fixed bug once let disk-erasing commands through.

    Install
    npx -y cc-safety-net@latest install --opencode
    Works with
    OpenCode 1.18.29 or later, and OpenCode 2.0.6 or later (one package)
    License
    MIT
    Maintainer
    kenryu42
    Paste into Terminal to install
    npx -y cc-safety-net@latest install --opencode
  11. Logs your OpenCode sessions to WakaTime: time spent, the files the agent edited and the lines it changed, so AI-assisted work shows up in the same dashboard as the rest of your coding. KDnuggets picked it for tracking AI coding activity. A rewrite of that roundup warns the data includes project names, file paths and timestamps, so check what your WakaTime account shares. WakaTime has since released its own plugin for OpenCode 2.

    • Loads on OpenCode 2 Yes
    • Downloads last month 3,289
    • GitHub stars 207
    Install
    npm i -g opencode-wakatime, then opencode-wakatime --install
    Works with
    OpenCode 1 and OpenCode 2
    License
    MIT
    Maintainer
    angristan
    Paste into Terminal to install
    npm i -g opencode-wakatime && opencode-wakatime --install
  12. Shows how much of each provider's plan is left and what your tokens cost, in the session sidebar and through /quota and /tokens commands that use no context. Web Reactiva tested it on OpenCode 2.1.2; the one snag was that the Ollama Cloud key is read only from OLLAMA_API_KEY. Version 5 needs OpenCode 2.0.16 or later, and OpenCode 1 stays on the 4.x releases.

    Install
    npx @slkiser/opencode-quota init (OpenCode 1: @slkiser/opencode-quota@4)
    Works with
    OpenCode 2.0.16 or later; OpenCode 1 on the 4.x releases
    License
    MIT
    Maintainer
    slkiser
    Paste into Terminal to install
    npx @slkiser/opencode-quota init
  13. Vim-style editing for OpenCode's prompt box, plus Vim keys for moving between sessions, for people whose fingers reach for Escape. It comes from the developer behind Dynamic Context Pruning and is built only for OpenCode 2, so it won't load on OpenCode 1. On Hacker News one developer called it the only OpenCode plugin they run. It is young, at version 0.0.29 with a few dozen stars.

    • Loads on OpenCode 2 Yes
    • Downloads last month 1,730
    • GitHub stars 76
    Install
    opencode plugin add opencode-vim@latest
    Works with
    OpenCode 2 only
    License
    MIT
    Maintainer
    Tarquinen
    Paste into Terminal to install
    opencode plugin add opencode-vim@latest
  14. Keeps the agent out of your .env files: it blocks reads and edits but still lets the agent see which keys exist, so it can wire up config without seeing the secrets. Darellanodev installed and tested it alongside CC Safety Net, and Composio included it in its roundup. Version 0.1.0 added OpenCode 2, but an open report says every tool call fails when OpenCode runs from a Mac home folder or in a React Native project.

    • Loads on OpenCode 2 Yes
    • Downloads last month 2,809
    • GitHub stars 84
    Install
    opencode plugin add envsitter-guard@latest (OpenCode 1: the plugin list)
    Works with
    OpenCode 1; OpenCode 2.0.32+ since v0.1.0, but some projects fail (#4)
    License
    MIT
    Maintainer
    boxpositron
    Paste into Terminal to install
    opencode plugin add envsitter-guard@latest
  15. More people name this than any other OpenCode plugin: it swaps the single agent for a planner that hands work to specialist subagents running on different models. Rost Glukhov's test found it paid off on a research-heavy build and cost about three times the tokens for an identical result on a simple one. On OpenCode 2 it now loads but does nothing except point you to its own app, OmO Native. Its licence allows personal and internal use only.

    Install
    bunx oh-my-openagent install
    Works with
    OpenCode 1. On 2 it loads (v5.1.38+) but its agents, tools and hooks stay off
    License
    Sustainable Use License 1.0 (not open source)
    Maintainer
    code-yeongyu (Sisyphus Labs)
    Paste into Terminal to install
    bunx oh-my-openagent install
  16. OpenCode's shell tool runs a command and waits for it to finish. This gives the agent real terminal sessions it can start, type into and come back to, so it can run a dev server or answer an interactive prompt. A Hacker News user has it drive a package manager and open build files in vim for review. It doesn't work on OpenCode 2 yet: open issues report its v2 entry failing to load or loading without its tools.

    • Loads on OpenCode 2 No
    • Downloads last month 17,111
    • GitHub stars 606
    Install
    opencode plugin opencode-pty (OpenCode 1 only)
    Works with
    OpenCode 1 only; fails on OpenCode 2 (open issues)
    License
    MIT
    Maintainer
    shekohex
    Paste into Terminal (OpenCode 1) to install
    opencode plugin opencode-pty
  17. Adds a web search tool whose answers come with numbered citations and a source list, using Google, OpenAI or OpenRouter search. KDnuggets and Web Reactiva both picked it for research inside OpenCode without setting up a separate MCP server. It doesn't load on OpenCode 2, where an open issue reports a load error, and OpenCode now has web search built in, so on version 2 use that instead.

    • Loads on OpenCode 2 No
    • Downloads last month 1,465
    • GitHub stars 249
    Install
    opencode plugin opencode-websearch-cited@1.2.0 -g (OpenCode 1 only)
    Works with
    OpenCode 1 only; fails to load on OpenCode 2 (open issue)
    License
    Apache-2.0
    Maintainer
    ghoulr
    Paste into Terminal (OpenCode 1) to install
    opencode plugin opencode-websearch-cited@1.2.0 -g

How to choose

If your sessions run out of context, start with Dynamic Context Pruning. If you want the agent to plan before it codes, get Superpowers, or Plannotator to review plans in a browser. For a team of subagents, oh-my-opencode-slim is the one that runs on the current version. For memory that stays on your machine, opencode-mem. To see each provider's quota and token spend, opencode-quota.

The thing no plugin page says loudly: plugins written for OpenCode 1 do not load on OpenCode 2, even when you rename the config entry. Check the Works with line on each pick before you upgrade; the OpenCode 2 sections below say what else changed.

Two names to keep straight. The OpenCode here is the one at opencode.ai, now in the anomalyco/opencode repository on GitHub. An earlier Go project with the same name, opencode-ai/opencode, is archived and continues as Crush. And oh-my-opencode was renamed oh-my-openagent.

Plugins that sign you in with a Claude or Gemini subscription are left out. Google and Anthropic treat that as against their terms, the popular Antigravity one is archived, and accounts have been flagged. A plugin runs with your full permissions, so read what you install.

Ordered by how many independent recommendations each plugin has, then by downloads and stars. A plugin that does not load on the current OpenCode ranks below the ones that do.

Numbers checked October 24, 2026.

OpenCode v2 vs 1: what changed for plugins

OpenCode 2.0.0 reached npm on September 11, 2026, as a separate package, @opencode/cli, and Anomaly announced it on October 12. Version 1 lives on as opencode-ai, and most people still run it: in the 30 days to October 22, npm counted 10,835,825 downloads of opencode-ai and 902,850 of @opencode/cli.

Plugins are the biggest break. A 1.x plugin has to be rewritten with Plugin.define from @opencode/plugin. Renaming "plugin" to "plugins" in the config isn't enough, and OpenCode only logs a warning when it skips one. In return, version 2 builds most of its own features as plugins, makes terminal (TUI) plugins stable, and hot-reloads plugins, so one can be added in the middle of a session. To see what loaded, run opencode plugin list. If you also use Claude Code, Superpowers, Plannotator and CC Safety Net run there too, and our list of Claude Code plugins covers that side.

Free models have a catch. OpenCode Zen's free models can fail with "OpenCode's free tier can only be used from within OpenCode" even inside OpenCode. Users traced it to an agent with the shell tool set to deny, which tripped oh-my-openagent's planner, and to having no Console login, which opencode auth login opencode fixes.

OpenCode 2: what's new, what's gone, how to upgrade

The terminal, desktop and web apps now share one background server that runs your sessions, permissions and tools. The agent gains Code Mode, on for every MCP server, which lets it call several tools from one script. Subagents and shell commands can run in the background, and worktree tools let it start parallel work in its own git worktree.

Some things are gone. Version 2 keeps your lsp settings but runs no language servers and shows no LSP diagnostics. It reads AGENTS.md but not CLAUDE.md. Plan and Build switch with Shift+Tab, not Tab. It no longer asks before the agent touches files outside the project, MCP servers that sign in with OAuth have to sign in again, and it is still not a sandbox.

To move up from 1.19 or later, run opencode upgrade --major. On a new machine use curl -fsSL https://opencode.ai/v2/install | bash, npm i -g @opencode/cli@latest or brew install anomalyco/tap/opencode-v2. Both versions use the opencode command, so remove a package-managed version 1 first. Your config still works, because version 2 converts the old files as it loads them; terminal settings move to ~/.config/opencode/cli.json. Going back means reinstalling version 1, and opencode uninstall keeps your sessions and config. On the fence about version 2? OpenCode alternatives compares the other coding agents you could move to instead.

How to install plugins on OpenCode 2

On OpenCode 2, install a plugin from a terminal with opencode plugin add <package>. It downloads the package and adds it to the "plugins" list in your global config, ~/.config/opencode/opencode.jsonc, so it loads in every project. For one project only, add the package to "plugins" in that project's opencode.json instead. Restart OpenCode after either.

On OpenCode 1 the list is called "plugin", in the same files, and OpenCode installs what it lists the next time it starts. Recent 1.x releases also have opencode plugin <package>, which adds it to the project config, or the global one with -g. Both versions also load .js and .ts files placed in .opencode/plugins/ or ~/.config/opencode/plugins/.

To check what is installed on OpenCode 2, run opencode plugin list; opencode plugin update updates them. A plugin that fails is logged as "failed to load plugin" in ~/.local/share/opencode/log/opencode.log. OpenCode 1 has no list command: start it with opencode --print-logs and look for errors naming the plugin.

Questions

Is there an OpenCode desktop plugin?
There is no separate kind of plugin for the desktop app. On OpenCode 2 the desktop app, terminal and web app all talk to one background service, so plugins in your config load in the app too. Parts that run in the terminal, such as opencode-notifier's sounds and pop-ups, don't.
Does OpenCode have a VS Code plugin?
Yes. The official OpenCode extension for VS Code, Cursor, Windsurf and VSCodium opens OpenCode in a split terminal (Cmd+Esc on Mac, Ctrl+Esc elsewhere) and shares your open file and selection with it. You still need the opencode CLI; the extension installs itself the first time you run opencode in the editor's terminal.
Are OpenCode plugins free?
Every plugin on this list is free to install, and all but oh-my-openagent are open source. The costs are in what they call: your model provider's tokens, and for opencode-supermemory a Supermemory account (a free plan with $5 of credit a month, or Pro at $19 a month).
What's the best OpenCode memory plugin?
For memory that stays on your machine, opencode-mem: it keeps memories in a local database and runs embeddings on your CPU, though not on Intel Macs. opencode-supermemory stores memory in Supermemory's cloud and needs an account. Magic Context replaces compaction and builds project memory from your history, using a model you choose.

More lists like this