CLI to discover, install, and manage opencode agent plugins from GitHub marketplaces. The goal of this tool is to never exist but meanwhile Opencode has no an official market I need a tool to install agents and skills from my private repos anomalyco/opencode#7467 (comment)
npx opencode-market add <owner/repo>
npx opencode-market install <plugin>@<marketplace> [--local] [--opencode]
npx opencode-market update <marketplace> [--local] [--opencode]
npx opencode-market listRegister a marketplace from a GitHub repo. Searches for marketplace.json in:
.github/plugin/marketplace.json.claude-plugin/marketplace.jsonmarketplace.json(root)
Install a plugin from a registered marketplace. By default installs globally to ~/.agents/.
# Global (default) — available to all projects
npx opencode-market install proposals@plainpresales
# Project-local — installs to ./.agents/
npx opencode-market install proposals@plainpresales --local
# OpenCode project folder — installs to ./.opencode/
npx opencode-market install proposals@plainpresales --opencodeRe-download all installed plugins for a marketplace. Fetches the latest files from GitHub for each plugin already recorded in ~/.opencode-market/registries.json. Accepts the same --local and --opencode flags as install.
Print all registered marketplaces and their installed plugins.
| Flag | Agents | Skills |
|---|---|---|
| (default) | ~/.agents/agents/ |
~/.agents/skills/ |
--local |
./.agents/agents/ |
./.agents/skills/ |
--opencode |
./.opencode/agents/ |
./.opencode/skills/ |
For private repos, set GITHUB_TOKEN env var or have gh CLI authenticated.
MIT