A collection of plugins for the OpenCode AI coding agent. These extensions add quality-of-life improvements, user interface features, and new configuration standards.
opencode plugin add -g \
@capybearista/opencode-output-styles \
@capybearista/opencode-agents-loader \
@capybearista/opencode-double-tap-timelinePersistent response styles for OpenCode sessions. This plugin injects selected guidelines (like "explanatory" or "learning" modes) into the system prompt so they stay active across your session.
Extends command and agent discovery to the .agents/ directory standard. This enables interoperability with other AI tools and keeps project configuration organized.
A keyboard-driven UI extension. Double-tap the Escape key to instantly open the session timeline modal without typing commands or using a mouse.
You can install any of these plugins globally or locally using the OpenCode CLI:
opencode plugin add -g @capybearista/opencode-output-styles
opencode plugin add @capybearista/opencode-output-stylesAlternatively, add them directly to your opencode.json/opencode.jsonc configuration file:
{
"plugin": [
"@capybearista/opencode-output-styles",
"@capybearista/opencode-agents-loader"
]
}For TUI-based plugins, add them directly to tui.json/tui.jsonc:
{
"plugin": ["@capybearista/opencode-double-tap-timeline"]
}Every plugin here started because someone hit a wall with OpenCode and thought "there's gotta be a better way."
I usually browse through Reddit and the GitHub Issues section of the OpenCode repo, noticing people griping about their workflows. But if you've got a concrete idea and want to put it directly in front of me, I'm all ears :)
↣ GitHub Discussions for plugin brainstorms, OpenCode pain points, and "what if..." ideas.
↣ Already using a plugin and something's off? Or maybe you've got an idea to enhance an existing plugin? Open an issue.
Plugins I've personally used and highly recommend! Some of these are genuinely underrated and have massive potential.
| Name | Use case | Description |
|---|---|---|
| opencode-quota | Keep track of your provider subscriptions in OpenCode | Token usage and quota tracking for Anthropic, OpenAI, Copilot, and more—reports in terminal with zero context pollution. |
| opencode-snippets | Expand #tags into text anywhere, instantly |
Hashtag-based snippet expansion. Just type #name to inject pre-defined code blocks, configs, or prompts inline. You can even put them in commands. |
| opencode-dcp | Caps token waste from stale context | Context-aware compression intelligently prunes old tool outputs to keep context lean and reduce token burn. |
| cc-safety-net | Prevents dangerous commands like rm -rf and git reset --hard |
Intercepts destructive git and filesystem commands before they execute, giving you a chance to abort before your agent deletes your entire project. |
| opencode-command-hooks | Run scripts on session events without writing a plugin | Declarative event hooks for shell commands via YAML/JSON. You can even attach scripts to lifecycle events like tool.execute.after. |
| opencode-agent-identity | Distinguish which sub-agent said what in multi-agent sessions | Per-message attribution so each agent knows its role and which message came from which source. |
| opencode-notifier | Know when sessions finish without watching the terminal | Highly customizable desktop notifications and sounds for permission prompts, completion, and errors so you never miss a beat. |
This project is a monorepo managed with Bun and Turborepo.
# Install dependencies
bun install
# Build all plugins
bun run build
# Run tests
bun run testPlease review the contribution guidelines before contributing :)