Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Gadgets

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.

Gadgets

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.

Blueprints

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.

This plugin includes:

  • The OpenCode Gadgets skill
  • opencode_gadgets.create_opencode_plugin, which creates an OpenCode plugin in the current project or the global OpenCode config

Install

Install from npm:

bun add opencode-gadgets

Add it to plugins in opencode.jsonc:

{
  "$schema": "https://opencode.ai/config.json",
  "plugins": ["opencode-gadgets"],
}

Verify it with:

opencode2 api get /api/plugin

Development

bun install
bun run typecheck
bun test

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages