Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencode-market

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)

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 list

Commands

add <owner/repo>

Register a marketplace from a GitHub repo. Searches for marketplace.json in:

  1. .github/plugin/marketplace.json
  2. .claude-plugin/marketplace.json
  3. marketplace.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 --opencode

update <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

About

Install Claude or Github Copilot agents and skills into Opencode

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages