№ 0833Skill
opencode-muse-code
OpenCode plugin that reads the muse CLI login, registers a muse-code provider against api.meta.ai and rediscovers available Muse models every 30 minutes, metered against the Muse Code subscription.
opencode-muse-code
Use a Muse Code (Meta) subscription in OpenCode.
The plugin reads the login the muse CLI
already stored on your machine, registers a muse-code provider that talks tohttps://api.meta.ai/v1, and discovers the available Muse models on startup and
every 30 minutes. Model requests are metered by Meta against your Muse Code
subscription — OpenCode needs no API key in its own configuration.
OpenCode ──▶ https://api.meta.ai/v1 ──▶ Muse Code subscription
▲
minted API key from the muse CLI login
Features
- Zero configuration once the
museCLI is signed in. - Live model discovery with real context/output limits, tool support, input
types, and reasoning-effort variants. - Reads credentials from the macOS keychain (or
~/.config/muse/auth.json),
withMETA_API_KEY/MUSE_API_KEYand an explicitkeyoption as
fallbacks. - Never writes credentials to OpenCode configuration or the repository.
Requirements
- OpenCode V2 (tested on 2.0.8).
- The
museCLI installed and signed in — runmuseonce if you have not. - An active Muse Code subscription. Check with the
museCLI or the
Muse Code page.
Install
opencode plugin add opencode-muse-code
Or add it to the plugins list in opencode.jsonc yourself:
{
"plugins": ["opencode-muse-code"]
}
Pin a version if you prefer:
{
"plugins": ["opencode-muse-code@0.1.2"]
}
Restart the service after changing configuration:
opencode service restart
git clone https://github.com/swalker326/opencode-muse-code.git
{
"plugins": ["/absolute/path/to/opencode-muse-code"]
}
Or copy the folder to ~/.config/opencode/plugins/muse-code/, where plugin
directories load automatically.
Use
Pick a model with /models in the TUI, or run one directly:
opencode run --model muse-code/muse-spark-1.3 "Summarize this repository"
Models
Models are discovered from Meta's catalog, so t



