creating-opencode-plugins
✓Use when creating OpenCode plugins that hook into command, file, LSP, message, permission, server, session, todo, tool, or TUI events - provides plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript event-driven modules
Installation
SKILL.md
OpenCode plugins are JavaScript/TypeScript modules that hook into 25+ events across the OpenCode AI assistant lifecycle. Plugins export an async function receiving context (project, client, $, directory, worktree) and return an event handler.
| command | command.executed | Track command history, notifications | | file | file.edited, file.watcher.updated | File validation, auto-formatting | | installation | installation.updated | Dependency tracking | | lsp | lsp.client.diagnostics, lsp.updated | Custom error handling | | message | message..updated/removed | Message filtering, logging |
| permission | permission.replied/updated | Permission policies | | server | server.connected | Connection monitoring | | session | session.created/deleted/error/idle/status/updated/compacted/diff | Session management | | todo | todo.updated | Todo synchronization | | tool | tool.execute.before/after | Tool interception, augmentation |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/pr-pm/prpm --skill creating-opencode-plugins- Source
- pr-pm/prpm
- Category
- >_Productivity
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is creating-opencode-plugins?
Use when creating OpenCode plugins that hook into command, file, LSP, message, permission, server, session, todo, tool, or TUI events - provides plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript event-driven modules Source: pr-pm/prpm.
How do I install creating-opencode-plugins?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/pr-pm/prpm --skill creating-opencode-plugins Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/pr-pm/prpm
Details
- Category
- >_Productivity
- Source
- skills.sh
- First Seen
- 2026-02-01