Muxin
Manage machines, sessions, tasks, and GitHub from one CLI tool.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/muxin-lumarylabsllc/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
skills/muxin, fromgithub.com/LumaryLabsLLC/muxin(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/muxin-lumarylabsllc/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Drive Muxin, the app for all of the user's machines, through its `muxin` CLI with --json. Use it when the user asks about their machines or what runs on them, here or from their phone. That covers checking machines; agent sessions (Claude Code, Codex, OpenCode, ...) running on them, what those sessions are asking, and asking them to review a pull request, fix its review comments, resolve its conflicts, commit, push or open a PR; boxes (tasks an agent works on alone in a container); workspaces; self-hosted GitHub Actions runners and queued jobs; the user's GitHub inbox, issues and checkouts; logs, services, processes, files and desktops; which tools a machine has, and installing them (recipes); schedules; cloud machines and VMs.
What this skill does
Muxin
Muxin is one app for all of the user's machines, reached over ssh (or directly for this computer): agent sessions, boxes, workspaces, desktops, files, GitHub, cloud machines and VMs, and the self-hosted GitHub Actions runners on them. The muxin command drives all of it, as the app and its MCP server do.
Add --json to every command. stdout then carries JSON only, progress and logs go to stderr, and a failure prints {"error": {"code", "message", "hint"}}. If Muxin's MCP tools are connected (muxin mcp), they do the same things with the same shapes.
Ground rules
- Start with
muxin status --jsonand readattentionfirst. It lists what's wrong, most severe first, with themachine_idorrunner_ideach item is about. - The state may be stale.
statususes the last machine check: look atlast_check_atand each machine'schecked_at.muxin status --refresh --jsonchecks every machine first. Checks are read-only. - Confirm before changing real things. Reading is always fine. Typing into a session, answering its questions, starting or stopping anything, installing, deleting, pushing and anything that costs money need the user's go-ahead, unless they asked for exactly that. Then say what you did.
- Pass hints on verbatim. Errors have a
code:not_found,invalid,busy,github,unreachable,operation_failedorinternal. Many also have ahint, often a command such asgh auth refresh -h github.com -s admin:org. Give the user the hint as it is; don't improvise around permission problems. - Let long commands wait. Installs, copies, boxes, VMs and cloud machines wait until they're done and stream progress to stderr. The command's own process does the work, so there is no
--no-wait, and stopping the command stops the work. Run slow ones (a Windows VM takes 15-30 minutes) in the background of your shell tool. - Exit codes:
0success,1the operation failed,2bad input or not found.muxin workspace execexits with the command's own code (124 when it timed out). - Quote remote paths that start with
~(--cwd '~/code/api'), so your shell doesn't turn them into this computer's home folder. busymeans wait and retry. A machine takes one changing operation at a time.
Ids
- Machine: a slug of its name, such as
mac-studio. The name works too. - Session:
<machine-id>/<name>, such asbeelink/claude-3f9a. A unique name works too. - Box:
box-7k2m9q. Workspace:ws-7f3a2c. Schedule:s-ab12cd. - Runner:
<machine-id>/<runner-name>, such asmac-studio/mac-studio-01. A runner GitHub knows but no machine lists isgithub/<name>.
Looking around (read-only)
muxin status --json # counts, GitHub, every machine, attention
muxin machine beelink --json # one machine: resources, runners, diagnostics, why it's unreachable
muxin session ls --json # agent sessions, what each changed (git), its pull request and checks
muxin box ls --json # boxes: running, waiting or paused, and their git
muxin github inbox --json # review requests, assigned issues, the user's open PRs
muxin checkouts --repo acme/api --json # where a repository is checked out, and its state
muxin jobs --json # queued and running GitHub Actions jobs
Common requests
"Review PR 142" or "fix the conflicts on my PR" (from a session that's already on that branch):
muxin session ls --json. Find the session whosegit.pull.numberis 142, or whosegit.branchis the PR's branch.muxin session do beelink/claude-3f9a review --json. The action is one ofcommit,commit_push,pull_request,review,fix_comments,conflictsorrecap. It types the user's prompt for that action into the agent.- Follow it with
muxin session read beelink/claude-3f9a --json. When it waits for a choice, see sessions and boxes.
No session on that branch? Start one in a checkout of the repository (muxin checkouts --repo acme/api --json finds them), or hand the task to a box. Both are in sessions and boxes.
"What's my agent on beelink doing?" muxin session read beelink/claude-3f9a --json returns its screen as text. muxin session question beelink/claude-3f9a --json says what it's waiting for.
Split up your own task (you run in one of Muxin's sessions): muxin session start codex --prompt "Run the tests and list what fails" --json starts a helper beside you, and muxin session wait <its id> --json waits for its answer. It ends when your session does. See sessions and boxes.
"Why is machine X offline?" muxin machine X --json. When status is offline, unreachable says why. kind: "offline" means it didn't answer (off, asleep, off the network): tell the user, with last_seen_at; muxin wake X may bring it back. Other kinds come with a hint to pass on.
More
Read the one that fits the task:
- Sessions and boxes: start, read, answer and steer agent sessions; helpers and waiting for them; actions (review, conflicts, PRs); hand-offs; boxes.
- GitHub and git: inbox, repositories, issues and PRs, checkouts, git setup on a machine.
- Workspaces: a folder on one of the user's machines to work in yourself: run commands, read and write files, sync code.
- Runners and jobs: self-hosted GitHub Actions runners, installing them, jobs that don't start.
- Machines: adding machines, what's installed on them (recipes), services and containers, logs, processes, ports, files, desktops, commands on several machines, schedules.
- Cloud machines and VMs: DigitalOcean droplets (they cost money) and VMs on the user's machines.
Every command has --help. --demo runs any command against simulated machines, safe to practice on.
Related skills
Generative Code Art
anthropics
Create algorithmic art with p5.js using randomness and interactive parameters.
Poster & Visual Design
anthropics
Create original posters and visual art in PNG and PDF formats.
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
MCP Server Builder
anthropics
Build protocol servers that connect language models to external APIs and services.