A personal collection of OpenCode V2 plugins adding Postgres and MySQL query tools, secret handling, plan-mode switching, session management, and more.
rizal72/opencode-plugins
A set of TypeScript plugins for OpenCode, the AI coding agent, covering model info, git status, sleep prevention, and session search.
- Stars
- 28
- Forks
- 1
- Open issues
- 0
- Last commit
- 2 days ago
What is it?
This repository collects plugins for OpenCode, the terminal-based AI coding agent, written by the author for their own workflow. Each plugin is a separate package with a server part that holds the state and, where applicable, a terminal (TUI) part and a desktop app (GUI) part that display the same facts.
The plugins cover a range of needs: a /models-pro command that lists models with price, context window, speed and intelligence index; a git plugin that shows branch and ahead/behind counts; a coffee plugin that keeps a Mac awake while the agent works; a ponytail level selector; a session_search tool that performs keyword search over past session transcripts; and an update checker for OpenCode plugins. Several other plugins are kept as readable sources only because they depend on the author's own setup.
Installation is done with the opencode plugin add command followed by the npm package name. Sources can also be read and forked.
Key features
- 01Lists models with price, context, speed and intelligence index via /models-pro.
- 02Shows git branch and ahead/behind counts in the sidebar or a desktop pill.
- 03Keeps a Mac awake while the agent is working.
- 04Provides a session_search tool for keyword search over past sessions.
- 05Checks for and applies updates to OpenCode plugins.
- 06Each plugin ships separate server, TUI and GUI parts that share one state.
Use cases
- Comparing model prices and speeds before choosing one in OpenCode.
- Keeping track of git state while working in the agent's terminal.
- Searching earlier OpenCode sessions for a previous solution.
- Keeping OpenCode plugins up to date without manual checks.
Quick start
- 1
Install the models-pro plugin with OpenCode
opencode plugin add @rizal72/oc-models-pro - 2
Check which installed packages are behind
opencode plugin check - 3
Apply the available updates and let the server reload
opencode plugin update
Things to know
- Several plugins are published only as source for reading and forking, not as npm packages.
- The oc-coffee plugin keeps a Mac awake, so it is macOS only.
- Some plugins assume the author's personal setup, such as a wallet, a rules file or a binary.
In collections
Topics
FAQ
- What is opencode-plugins?
- A set of TypeScript plugins for OpenCode, the AI coding agent, covering model info, git status, sleep prevention, and session search. This repository collects plugins for OpenCode, the terminal-based AI coding agent, written by the author for their own workflow. Each plugin is a separate package with a server part that holds the state and, where applicable, a terminal (TUI) part and a desktop app (GUI) part that display the same facts.
- Is opencode-plugins free to use? What license does it have?
- opencode-plugins is open source under the MIT license. Check the license terms before using it in commercial products.
- Is opencode-plugins still maintained?
- Actively maintained. The last commit to opencode-plugins was on Nov 5, 2026.
- What can I use opencode-plugins for?
- Comparing model prices and speeds before choosing one in OpenCode. Keeping track of git state while working in the agent's terminal. Searching earlier OpenCode sessions for a previous solution. Keeping OpenCode plugins up to date without manual checks.
- How do I install opencode-plugins?
- Install the models-pro plugin with OpenCode: opencode plugin add @rizal72/oc-models-pro Check which installed packages are behind: opencode plugin check Apply the available updates and let the server reload: opencode plugin update
- Where can I get opencode-plugins?
- The source code and installation instructions are on GitHub: https://github.com/rizal72/opencode-plugins
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A local-first desktop workspace for AI coding agents, with persistent sessions, multi-model support, subagents, and a plugin system.
A curated, community-maintained list of plugins for DeepSeek Harness (dsh), a coding agent built on a plugin-based framework.
A desktop and mobile web UI for Claude Code, Cursor CLI, and Codex to view and manage agent sessions and projects remotely.
A local-first desktop workspace that puts coding-agent sessions, projects, terminals, browser previews, diffs and Git in one window.
A set of GUI plugins for OpenCode Desktop that add usage, throughput and memory meters to the app.