muggle-init

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

An onboarding walkthrough for configuring Muggle preferences and optionally offering a continuous-integration check. Onboarding means collecting first-time setup choices.

In plain words
What is it for?
Use it to collect setup choices, save them, and decide whether to add the Muggle check.
Why use it?
It adapts a terminal setup process for an agent that cannot answer interactive prompts directly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Claude Code.

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-init"`..

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

Good fit Use it to collect setup choices, save them, and decide whether to add the Muggle check.

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-init

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-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-init/github.svg)](https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-init)
Your own site
<a href="https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-init"><img src="https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-init/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-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/multiplex-ai/muggle-ai-works/muggle-init"><img src="https://agentmods.dev/badge/skills/multiplex-ai/muggle-ai-works/muggle-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 562 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.00042 $0.00562
Opus 5.5 $0.00017 $0.00225
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

muggle-init 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 26d 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-init/SKILL.md · 27 lines

What it actually says

Muggle Init

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

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.

muggle init prompts in a terminal, which an agent cannot answer. This skill renders the same walkthrough with --json and saves the answers with --apply.

Steps

  1. Run muggle init --json and show primerHeadline and primerBullets.
  2. Ask for the blanket choice with AskUserQuestion, one option per blanketOptions entry, using its label and description.
  3. On customize, ask each group in order:
    • toggle — multi-select of its entries, pre-selecting isSelectedByDefault. Collect the selected keys into selectedToggleKeys.
    • choice — single-select of its options, the isDefault one first. Record choices[<key>] = <value>.
  4. Write the answers to a temp file: { "blanket": "<choice>", "selectedToggleKeys": [...], "choices": { ... } }. The last two fields only apply to customize.
  5. Run muggle init --apply <file>, then delete the file. A non-zero exit prints why; report it and stop.
  6. When the output says the repository has no Muggle E2E check in CI yet, offer the muggle-ci-install skill. --apply never asks this itself.
  7. Unless the blanket was skip, run muggle llm-source --json and ask its prompt with one option per options entry, current.source first. Apply it with muggle llm-source --use <source>; local-model also needs --base-url and --model. An Anthropic key is only accepted at a hidden terminal prompt, so never collect it in chat: for anthropic-api-key, tell the user to run muggle llm-source --use anthropic-api-key in their own terminal.
  8. Report what was saved.
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. 26d ago First seen · 27 lines · 42 tokens per session scan A 472eece63291

Subscribe to this mod's changes

muggle-init is a skill published in the GitHub repository multiplex-ai/muggle-ai-works (15 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 562 once invoked, about $0.0002 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-11-05.

Related

muggle-init compared with skills from other repositories

muggle-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
muggle-initmultiplex-ai/muggle-ai-worksSkill15todayApache-2.0A42Claude 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