shipwithmuse

№ 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 on github.com
swalker326/opencode-muse-codeREADME ↗
# opencode-muse-code

[![npm version](https://img.shields.io/npm/v/opencode-muse-code.svg)](https://www.npmjs.com/package/opencode-muse-code)
[![license](https://img.shields.io/npm/l/opencode-muse-code.svg)](./LICENSE)

Use a **Muse Code** (Meta) subscription in [OpenCode](https://opencode.ai).

The plugin reads the login the [`muse`](https://api.meta.ai/muse-launcher.sh) CLI
already stored on your machine, registers a `muse-code` provider that talks to
`https://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.

```text
OpenCode  ──▶  https://api.meta.ai/v1  ──▶  Muse Code subscription
                    ▲
    minted API key from the muse CLI login
```

## Features

- Zero configuration once the `muse` CLI 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`),
  with `META_API_KEY` / `MUSE_API_KEY` and an explicit `key` option as
  fallbacks.
- Never writes credentials to OpenCode configuration or the repository.

## Requirements

- OpenCode V2 (tested on 2.0.8).
- The `muse` CLI installed and signed in — run `muse` once if you have not.
- An active Muse Code subscription. Check with the `muse` CLI or the
  [Muse Code page](https://accountscenter.meta.com/muse_code/).

## Install

```sh
opencode plugin add opencode-muse-code
```

Or add it to the `plugins` list in `opencode.jsonc` yourself:

```jsonc
{
  "plugins": ["opencode-muse-code"]
}
```

Pin a version if you prefer:

```jsonc
{
  "plugins": ["opencode-muse-code@0.1.2"]
}
```

Restart the service after changing configuration:

```sh
opencode service restart
```

<details>
<summary>Install from source instead</summary>

```sh
git clone https://github.com/swalker326/opencode-muse-code.git
```

```jsonc
{
  "plugins": ["/absolute/path/to/opencode-muse-code"]
}
```

Or copy the folder to `~/.config/opencode/plugins/muse-code/`, where plugin
directories load automatically.
</details>

## Use

Pick a model with `/models` in the TUI, or run one directly:

```sh
opencode run --model muse-code/muse-spark-1.3 "Summarize this repository"
```

### Models

Models are discovered from Meta's catalog, so t

Also filed under Coding & dev tools

See all →
  1. 0561

    Muse-Desktop★

    A desktop app for Muse Code on macOS and Windows with projects, git worktrees, subagents, MCP, a diff review panel and opt-in computer use that lets the agent see the screen and use apps.

    @EtienneLescot

    GitHub

    Coding & dev tools

  2. 0547

    MuseGlass★

    A hands-free interface that turns Meta AI glasses into a voice control surface for Muse Code on a Mac: assign a task, walk away, hear progress, interrupt and approve sensitive steps.

    @MoheetBrain

    GitHub

    Coding & dev tools

  3. 0150

    Helicon: desktop app for Muse Code★

    I pay for @Muse Code but didn't want to live in a terminal. On Windows it's WSL-only. So I built Helicon: an open-source desktop app for the actual Muse CLI. • uses your existing muse login, no API key • talks to muse serve over MSP, so Muse stays the agent • resumes

    @harjjotsinghh

    X post

    Coding & dev tools

  4. 0128

    Helicon desktop app for Muse Code★

    Helicon is an open-source desktop and web app that wraps Meta's Muse Code CLI in a Codex/Claude-style interface, grouping sessions by project with history, resume and diffs on Windows, macOS and WSL2.

    @HarjjotSinghh

    GitHub

    Coding & dev tools

More Skills

See all →
  1. 1073

    Xahau skill for Muse

    Lets a Muse send XAH, manage trustlines, mint URITokens, claim the monthly reward and check out on xMerch stores, where the skill only proposes and the owner approves every transaction in the Xaman app on their phone.

    @terramike

    Skill

    Business & commerce

  2. 1072

    Review Times MCP server and skill

    An MCP server and skill that reports live review times for AI app, connector and plugin stores, including Meta Muse, so builders can see how long a connector submission is taking.

    @stevysmith

    Skill

    Connectors & MCP

  3. 1068

    musebook: shared family boards for Muses

    An open protocol plus Muse skill and Cloudflare Workers reference server that lets each family member's Muse join shared boards (groceries, trips, household lists) with per-board identities and an approval card before anything is ordered.

    @amanbthakkar

    Skill

    Errands & personal agent

  4. 1062

    xrpl-muse-skill: let your Muse trade XRP

    A terminal skill for trading any XRP Ledger token pair and minting NFTs, with a hard boundary between proposing and signing; testnet by default, and mainnet needs the Muse vault signer or a protected signer with per-transaction approval.

    @terramike

    Skill

    Business & commerce

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1013

    Shop Pay agentic checkout on every Shopify store★

    We are excited to announce we are partnering deeply with Muse to enable agentic checkout with Shop Pay on all Shopify stores, offering people an easy and delightful way to shop and check out with Muse.

    @tobi

    X post

    Business & commerce

  3. 1009

    Private e-book library app from Google Drive★

    Muse built me a private library for the e-books and articles in my Google Drive. Everything is organized by topic, and each section opens onto its own subcategorized shelves. Each book opens like a real book and is readable in-app

    @chiasmus_cap

    X post

    Apps & websites

  4. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation