Curated with by@mohithkumar808

№ 0550Skill

Muse Code Docker Sandbox kit

Docker Sandboxes (sbx) kit spec that runs Muse Code in YOLO mode inside an isolated sandbox via a musex command, verified with sbx v0.39.0 on macOS arm64.

gosukiwi/sbx-muse-kitREADME ↗

Muse Code in Docker Sandboxes

Muse Code is not a built-in sbx agent. This repo defines it as a
sandbox kit:
muse-kit/spec.yaml.
Verified with sbx v0.39.0 on macOS arm64.

$ cd my-repo
$ musex # safely use `muse` in YOLO mode inside a Docker Sandbox

Prerequisites

  • Install sbx and start the daemon:
    brew install docker/tap/sbx and sbx daemon start.
  • Sign in with sbx login. Then set a global network policy:
    sbx policy init balanced.
  • One-time step: allow this kit publisher:
    sbx settings set kit.allowedSources '["docker.io/","github.com/gosukiwi/"]'.
  • No clone needed. sbx fetches the kit from git. Set once in ~/.zshrc:
export MUSE_KIT="git+https://github.com/gosukiwi/sbx-muse-kit.git#dir=muse-kit"

Daily use

Add this wrapper to ~/.zshrc (or ~/.bashrc if you use bash). It starts one
sandbox per directory. It names the sandbox muse-<directory>. It leaves the
sandbox running when you quit. Stop it by hand when you finish:

# musex: sandboxed `muse --yolo` scoped to $PWD (one VM per directory)
musex() {
  local proj="$(basename "$PWD")"
  local name="muse-$proj"
  local args=()
  if sbx ls -q 2>/dev/null | grep -qx "$name"; then
    args=(--name "$name")
  else
    args=(--kit "$MUSE_KIT" muse --name "$name")
    if [ -d "$HOME/.agents" ]; then
      args+=("$PWD" "$HOME/.agents:ro")
    else
      args+=("$PWD")
    fi
  fi
  if [ -d "$HOME/.agents" ]; then
    args+=(-e "MUSEX_SKILLS_SRC=$HOME/.agents")
  fi
  local tok
  tok="$(gh auth token 2>/dev/null)" && args+=(-e "GH_TOKEN=$tok")
  local conf="$HOME/.config/musex/$proj.sh"
  [ -f "$conf" ] && source "$conf"
  sbx run "${args[@]}"
}

Run musex from any project directory. The first run pulls the image.
It installs tools. It logs in. Each sandbox needs its own login. Only sbx rm
deletes a sandbox and its login. To stop a sandbox, run sbx stop muse-<directory>.

Configuration: general and per-project

Two layers exist. The published kit holds generic items only. Host items
live outside this repo:

  • General defaults live in musex. Each project gets them: a
    read-only ~/.agents mount for user skills, and GH_TOKEN from host
    auth.
  • Per-project flags live in ~/.config/musex/<project>.sh. The file
    name must match the directory name. The wrapper so
Muse Code Docker Sandbox kit on github.com

Also filed under Coding & dev tools

See all →
  1. 0870

    CodexBar adds Muse Code usage tracking★

    CodexBar learned a few new tricks in the last few weeks! TypeSafe, Nous Portal, Muse Code, CodeRabbit, Replicate, HuggingFace, Pi, Helmcode, v0, Charm Hyper, GitKraken AI, Bifrost My ambitions for this app REALLY outgrew the app name. (Oh and these keychain alerts are no more)

    @steipete

    X post

    Coding & dev tools

  2. 0656

    Custom terminal built with a Muse★

    A cool thing about @Muse is that every Muse runs on its own Linux machine. So you and your Muse can do normal Linux stuff together — like build your own terminal!

    @lucas_switzer

    X post

    Coding & dev tools

  3. 0597

    Spark 1.3 Contributor free in Cline★

    Meta’s Muse Spark 1.3 Contributor model is now available for free in Cline. Benchmarks show it’s similar in performance to Opus 5, but considerably more affordable.

    @cline

    X post

    Coding & dev tools

  4. 0574

    Muse Spark 1.3 in Cursor★

    Muse Spark 1.3 from Meta is now available in Cursor!

    @cursor_ai

    X post

    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. 1057

    Muse Mail: your agent gets an email address★

    MUSE FEATURE ALERT: y'all have been asking for this one. your @muse is getting its own email address. add it to a thread or forward it stuff and it’ll handle it for you. muse mail!

    @alexandr_wang

    X post

    Agents & automation

  2. 1054

    Kevin Roose gives his Muse $100 and a Kalshi account★

    gave my Muse $100 and a kalshi account, let's see how frontier this thing is

    @kevinroose

    X post

    Agents & automation

  3. 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

  4. 1042

    GitHub connector for Muse★

    GitHub 🤝 @Muse A new way to connect your GitHub account to review PRs, catch up on issues and notifications, and leave comments without switching tabs.

    @github

    X post

    Connectors & MCP

Want more AI builds?artificialbuilds.com