Muggle status

From multiplex-ai/muggle-ai-works · View interactive version

Muggle status is an AI agent skill from the GitHub repository multiplex-ai/muggle-ai-works. Check the health of the user's Muggle AI installation and diagnose why it's misbehaving — MCP server connectivity, tool loading, login/auth validity, overall setup. Engage on muggle status and on any diagnostic question about Muggle itself: is muggle working or healthy, why does muggle keep failing

How to use this skill

Skill file

Muggle Test Status

Telemetry first step: see CODE0. Use skillName: "muggle-status".

Running outside Claude Code (in Codex, for one)? Read CODE0 first — it maps the tools and paths this skill names to your host's.

Run a full health check and report results.

Preferences

Gates run per preference-gates/README.md.

| Preference | Step | Decision it gates |

|------------|------|-------------------|

| checkForUpdates | Check 5 | Check for newer Muggle Test version |

Checks

  1. Release ring — run muggle status and read its Runtime target: and Backend: lines. Report the ring and the backend it resolves to.

This is the first check because it reframes every other one: an install on a non-production ring talks to a different backend, authenticates against a different tenant, and runs a different studio binary, so "is it healthy" cannot be answered without it.

  1. Electron app — read ~/.muggle-ai/electron-app/ to find the installed version directory. Non-production rings install to a ring-suffixed directory (<version>-staging), so match the directory for the ring reported in Check 1 rather than assuming the bare version — the streams publish the same version deliberately, and the bare directory belongs to production. Read .install-metadata.json to get version and checksum. Verify the binary exists at the expected path. On macOS, check code signing with spctl --assess --verbose.
  1. MCP server — call muggle-local-check-status to verify the server is responsive. Report auth state (authenticated, email, token expiry).
  1. Authentication — call muggle-remote-auth-status. Report whether credentials are valid and when they expire.
  1. CLI version — gate checkForUpdates (per preference-gates/README.md):

When the check runs: capture installed (muggle --version) and latest (npm view @muggleai/works version). Compare with sort -V; flag as out-of-date only when latest is strictly greater.

Output

Muggle AI — Status

Release ring   [pass/note]  ring, backend URL
Electron app   [pass/fail]  version, binary status
MCP server     [pass/fail]  responsive, auth state
Authentication [pass/fail]  user, expiry
CLI version    [pass/warn]  installed → latest

[All systems operational / Issues found — run /muggle:muggle-repair to fix.]

Use pass/fail indicators for each check; the release ring uses [pass] on production and [note] elsewhere, never [fail]. When the ring is not production, state it in the closing line too, so it is not lost in a table the reader skims. If any check fails, tell the user to run /muggle:muggle-repair. If the CLI version check warns (installed < latest), tell the user to run /muggle:muggle-upgrade.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.