Kinda like gadgets from Cloudflare's new Cloudflare OS, but they're just Opencode plugins. Take advantage of the sick new hot-reloading capabilities and new tool search feature.
Tired of waiting for agents to figure out how to use the same MCPs together over and over again? Tired of having to re-write the same prompt over and over again but can't be bothered to write a skill file? Like something an agent just did? Want future agents to do the same thing deterministically without re-inventing the process from first principles?
Just invoke the /opencode-gadgets skill. The agent will create a plugin and expose a new tool that reproduces that exact behavior, deterministically, for future agents to discover.
Made a cool looking dashboard for a throwaway HTML document? Want other throwaway documents to look just like it?
The agent will automatically identify parts that can be extracted as a blueprint, and be used in other gadgets.
- The OpenCode Gadgets skill
opencode_gadgets.create_opencode_plugin, which creates an OpenCode plugin in the current project or the global OpenCode config
Install from npm:
bun add opencode-gadgetsAdd it to plugins in opencode.jsonc:
Verify it with:
opencode2 api get /api/pluginbun install
bun run typecheck
bun test
{ "$schema": "https://opencode.ai/config.json", "plugins": ["opencode-gadgets"], }