opencode-market
v0.0.3
Published
CLI to discover, install, and manage opencode agent plugins from GitHub marketplaces.
Maintainers
Readme
opencode-market
CLI to discover, install, and manage opencode agent plugins from GitHub marketplaces.
Usage
npx opencode-market add <owner/repo>
npx opencode-market install <plugin>@<marketplace> [--local] [--opencode]
npx opencode-market update <marketplace> [--local] [--opencode]
npx opencode-market listCommands
add <owner/repo>
Register a marketplace from a GitHub repo. Searches for marketplace.json in:
.github/plugin/marketplace.json.claude-plugin/marketplace.jsonmarketplace.json(root)
install <plugin>@<marketplace>
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 --opencodeupdate <marketplace>
Re-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.
list
Print all registered marketplaces and their installed plugins.
Install destinations
| Flag | Agents | Skills |
|------|--------|--------|
| (default) | ~/.agents/agents/ | ~/.agents/skills/ |
| --local | ./.agents/agents/ | ./.agents/skills/ |
| --opencode | ./.opencode/agents/ | ./.opencode/skills/ |
Authentication
For private repos, set GITHUB_TOKEN env var or have gh CLI authenticated.
License
MIT
