muggle-upgrade

muggle-upgrade is a skill for Claude Code from multiplex-ai/muggle-ai-works. It costs 35 tokens per session (1,327 once invoked), scanned A, original, Apache-2.0.

An update command for Muggle AI and its Muggle Test tools.

In plain words
What is it for?
It is used when someone runs `muggle upgrade` or asks to update Muggle Test tools.
Why use it?
It provides a way to bring those tools up to their latest available version.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions Claude Code; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-upgrade"`..

Part of the muggle plugin — 48 skills, 24 commands, 3 agents, 3 hooks, 1 MCP server shipped together

Good fit It is used when someone runs muggle upgrade or asks to update Muggle Test tools.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/multiplex-ai/muggle-ai-works
agentmods
npx agentmods add skills/multiplex-ai/muggle-ai-works/muggle-upgrade

Made for: Claude Code.

Or install muggle, the plugin that ships this one along with the rest of its 48 skills, 24 commands, 3 agents, 3 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for muggle-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-upgrade/github.svg)](https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-upgrade)
Your own site
<a href="https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-upgrade"><img src="https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-upgrade/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for muggle-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-upgrade"><img src="https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.01327
Opus 5.5 $0.00014 $0.00531
Sonnet 5.5 $0.00007 $0.00265
Haiku 4.5 $0.00003 $0.00133

Measured 10d ago against content hash 791e08fe4a99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

muggle-upgrade scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/muggle-upgrade/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Muggle Test Upgrade

Telemetry first step: see _shared/telemetry-emit.md. Use skillName: "muggle-upgrade".

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

Update all Muggle AI components to the newest version on the release lane the machine is already on. This means both the @muggleai/works CLI on npm and the Electron runner the CLI manages.

Release lanes

Two lanes ship on npm, each with its own dist-tag:

Lane dist-tag Version shape
stable latest 5.15.0
staging staging 5.16.0-staging.109

The lane is read off the installed build, never chosen by this skill. A version carrying the -staging. prerelease identifier is on staging; any other is on stable. Stable is the default, and a machine that has never installed a prerelease stays there.

Upgrade within the lane, and compare against that lane's tag. Semver orders 5.15.0-staging.106 below 5.15.0, so a staging build measured against latest looks out of date — that comparison silently moves a staging user onto stable and takes away the lane they were testing on. It is the specific bug this section exists to prevent.

Switch lanes only when the user asks in this invocation — "switch to stable", "go back to prod", "put me on staging", or naming an explicit version to install. A bare invocation always keeps the lane it found. When the user does name a version, install exactly that and say which lane it lands on.

Steps

  1. Run /muggle:muggle-status checks to capture current versions.

  2. Capture the installed CLI and resolve its lane:

    • Installed CLI: muggle --version
    • Published heads of both lanes: npm view @muggleai/works dist-tags --json
    • Detect install location: npm ls -g @muggleai/works --depth=0 (falls back to pnpm ls -g @muggleai/works if not found)

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · -1 lines 791e08fe4a99
  2. 1mo ago Changed a0fcb82f72a1
  3. 1mo ago Changed · +8 lines f00d45183bff
  4. 1mo ago Changed a9447bed6c21
  5. 1mo ago Changed · +2 lines 17a2764955d1
  6. 2mo ago Changed · +19 lines · +6 tokens per session a288c35bc855
  7. 3mo ago First seen · 45 lines · 29 tokens per session scan A 5721788ab7b3

Subscribe to this mod's changes

muggle-upgrade is a skill published in the GitHub repository multiplex-ai/muggle-ai-works (15 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 1,327 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

muggle-upgrade compared with skills from other repositories

muggle-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
muggle-upgrademultiplex-ai/muggle-ai-worksSkill15todayApache-2.0A35Claude Code
Agentic Testing PatternsPramodDutta/qaskillsSkill25328d agoMITA41Claude Code, Codex
Agent Browser AutomationPramodDutta/qaskillsSkill25328d agoMITA37Claude Code, Codex
Geb TestingPramodDutta/qaskillsSkill25328d agoMITA34Claude Code, Codex
Browser Agent QA TestingPramodDutta/qaskillsSkill25328d agoMITA33Claude Code, Codex
Browser-Use AutomationPramodDutta/qaskillsSkill25328d agoMITB38Claude Code, Codex
ui-automationMGdaasLab/WHartTestSkill1.1k19d agononeA96Claude Code, Codex