@muggleai/works 5.32.0 → 5.33.0-staging.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/README.md +6 -0
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.codex-mcp.json +1 -1
- package/dist/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/plugin/.cursor-plugin/plugin.json +1 -1
- package/dist/plugin/.mcp.json +1 -1
- package/dist/plugin/README.md +6 -0
- package/dist/plugin/commands/mci.md +7 -0
- package/dist/plugin/commands/mcleanup.md +7 -0
- package/dist/plugin/commands/minit.md +7 -0
- package/dist/plugin/commands/mlogin.md +7 -0
- package/dist/plugin/commands/mlogout.md +7 -0
- package/dist/plugin/commands/mrun.md +7 -0
- package/dist/plugin/skills/CLAUDE.md +1 -1
- package/dist/plugin/skills/_aliases.json +7 -1
- package/dist/plugin/skills/mci/SKILL.md +9 -0
- package/dist/plugin/skills/mci/agents/openai.yaml +7 -0
- package/dist/plugin/skills/mcleanup/SKILL.md +9 -0
- package/dist/plugin/skills/mcleanup/agents/openai.yaml +7 -0
- package/dist/plugin/skills/minit/SKILL.md +9 -0
- package/dist/plugin/skills/minit/agents/openai.yaml +7 -0
- package/dist/plugin/skills/mlogin/SKILL.md +9 -0
- package/dist/plugin/skills/mlogin/agents/openai.yaml +7 -0
- package/dist/plugin/skills/mlogout/SKILL.md +9 -0
- package/dist/plugin/skills/mlogout/agents/openai.yaml +7 -0
- package/dist/plugin/skills/mrun/SKILL.md +9 -0
- package/dist/plugin/skills/mrun/agents/openai.yaml +7 -0
- package/dist/plugin/skills/muggle/SKILL.md +6 -0
- package/dist/plugin/skills/muggle-ci-install/SKILL.md +17 -0
- package/dist/plugin/skills/muggle-cleanup/SKILL.md +17 -0
- package/dist/plugin/skills/muggle-init/SKILL.md +26 -0
- package/dist/plugin/skills/muggle-login/SKILL.md +19 -0
- package/dist/plugin/skills/muggle-logout/SKILL.md +16 -0
- package/dist/plugin/skills/muggle-run-view/SKILL.md +17 -0
- package/dist/release-manifest.json +3 -3
- package/package.json +11 -11
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-mcp.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -1
- package/plugin/README.md +6 -0
- package/plugin/commands/mci.md +7 -0
- package/plugin/commands/mcleanup.md +7 -0
- package/plugin/commands/minit.md +7 -0
- package/plugin/commands/mlogin.md +7 -0
- package/plugin/commands/mlogout.md +7 -0
- package/plugin/commands/mrun.md +7 -0
- package/plugin/skills/CLAUDE.md +1 -1
- package/plugin/skills/_aliases.json +7 -1
- package/plugin/skills/mci/SKILL.md +9 -0
- package/plugin/skills/mci/agents/openai.yaml +7 -0
- package/plugin/skills/mcleanup/SKILL.md +9 -0
- package/plugin/skills/mcleanup/agents/openai.yaml +7 -0
- package/plugin/skills/minit/SKILL.md +9 -0
- package/plugin/skills/minit/agents/openai.yaml +7 -0
- package/plugin/skills/mlogin/SKILL.md +9 -0
- package/plugin/skills/mlogin/agents/openai.yaml +7 -0
- package/plugin/skills/mlogout/SKILL.md +9 -0
- package/plugin/skills/mlogout/agents/openai.yaml +7 -0
- package/plugin/skills/mrun/SKILL.md +9 -0
- package/plugin/skills/mrun/agents/openai.yaml +7 -0
- package/plugin/skills/muggle/SKILL.md +6 -0
- package/plugin/skills/muggle-ci-install/SKILL.md +17 -0
- package/plugin/skills/muggle-cleanup/SKILL.md +17 -0
- package/plugin/skills/muggle-init/SKILL.md +26 -0
- package/plugin/skills/muggle-login/SKILL.md +19 -0
- package/plugin/skills/muggle-logout/SKILL.md +16 -0
- package/plugin/skills/muggle-run-view/SKILL.md +17 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "muggleai",
|
|
10
10
|
"source": "./plugin",
|
|
11
11
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
12
|
-
"version": "5.
|
|
12
|
+
"version": "5.33.0-staging.298"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
package/README.md
CHANGED
|
@@ -146,6 +146,12 @@ Every skill has a short alias. Both spellings work in Claude Code. In Codex, men
|
|
|
146
146
|
| `/muggle:muggle-status` | `/mstatus` | Health check: runner, MCP server, auth |
|
|
147
147
|
| `/muggle:muggle-repair` | `/mrepair` | Diagnose and fix a broken install |
|
|
148
148
|
| `/muggle:muggle-upgrade` | `/mupgrade` | Update to the latest version |
|
|
149
|
+
| `/muggle:muggle-init` | `/minit` | Run the onboarding walkthrough |
|
|
150
|
+
| `/muggle:muggle-ci-install` | `/mci` | Add the walkthrough check to GitHub Actions |
|
|
151
|
+
| `/muggle:muggle-login` | `/mlogin` | Sign in, or switch accounts |
|
|
152
|
+
| `/muggle:muggle-logout` | `/mlogout` | Sign out |
|
|
153
|
+
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps and frames |
|
|
154
|
+
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old runner versions |
|
|
149
155
|
|
|
150
156
|
---
|
|
151
157
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.33.0-staging.298",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.33.0-staging.298",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.
|
|
5
|
+
"version": "5.33.0-staging.298",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
package/dist/plugin/README.md
CHANGED
|
@@ -47,6 +47,12 @@ Type `muggle` to discover the full command family.
|
|
|
47
47
|
| `/muggle:muggle-status` | `/mstatus` | Health check for Electron browser test runner, MCP server, and authentication. |
|
|
48
48
|
| `/muggle:muggle-repair` | `/mrepair` | Diagnose and fix broken installation automatically. |
|
|
49
49
|
| `/muggle:muggle-upgrade` | `/mupgrade` | Update Electron browser test runner and MCP server to latest version. |
|
|
50
|
+
| `/muggle:muggle-init` | `/minit` | Run the onboarding walkthrough and save your preferences. |
|
|
51
|
+
| `/muggle:muggle-ci-install` | `/mci` | Add the Muggle walkthrough check to GitHub Actions. |
|
|
52
|
+
| `/muggle:muggle-login` | `/mlogin` | Sign in to Muggle AI, or switch accounts. |
|
|
53
|
+
| `/muggle:muggle-logout` | `/mlogout` | Sign out and clear stored credentials. |
|
|
54
|
+
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps beside the frames they produced. |
|
|
55
|
+
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old browser test runner versions and obsolete skills. |
|
|
50
56
|
|
|
51
57
|
Every skill ships the short alias in the table above. Type `/m` (Claude Code), `m` (Cursor) or `$muggle:m` (Codex) to open the menu, or jump straight to one (e.g. `/mtest`, `$muggle:mtest`). Claude Code namespaces plugin commands, so the aliases resolve as `/muggle:mtest`; mirror them into `~/.claude/commands/` to type `/mtest` bare.
|
|
52
58
|
|
|
@@ -50,7 +50,7 @@ Each skill sets a `model:` in its `SKILL.md` frontmatter sized to its cognitive
|
|
|
50
50
|
|
|
51
51
|
| Model | Skills | Why this tier |
|
|
52
52
|
|-------|--------|---------------|
|
|
53
|
-
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
53
|
+
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
54
54
|
| `sonnet` | `muggle-pr-visual-walkthrough` (executes via the `visual-walkthrough-builder` agent), `muggle-test-regenerate-missing`, `muggle-pr-followup` | Multi-step orchestration with light judgment, short of deep reasoning: assemble run data and build a PR section with fit-vs-overflow handling; scan, filter, bulk-dispatch, and classify per-item failures into buckets; run a watcher tick across a dozen procedure files and fire the one `/muggle-do` directive its verdict calls for. More moving parts than a router, but each step is well-defined. The watcher moved up from `haiku`: its tick eval passed 3–4 of 23 scenarios there, describing the procedure instead of running it, and a tick now runs only when its token-free watch loop exits with something to act on. |
|
|
55
55
|
| `opus` (explicit pin) | `muggle-test-prepare` (executes via the `test-prepare-runner` agent) | Pinned for **reliability**, not raw reasoning load: it's flaky on smaller models, and since other skills gate on the environment it readies, a wrong call is expensive. Pin explicitly rather than leaving `model:` unset so it stays on Opus even when the user's session runs a cheaper model. |
|
|
56
56
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mci
|
|
3
|
+
description: Explicit short alias for the `muggle-ci-install` skill. ONLY invoke when the user explicitly types `mci` or `/mci` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mci — alias for muggle-ci-install
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-ci-install` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-ci-install/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mci"
|
|
5
|
+
short_description: "Short alias for the muggle-ci-install skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mcleanup
|
|
3
|
+
description: Explicit short alias for the `muggle-cleanup` skill. ONLY invoke when the user explicitly types `mcleanup` or `/mcleanup` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mcleanup — alias for muggle-cleanup
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-cleanup` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-cleanup/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mcleanup"
|
|
5
|
+
short_description: "Short alias for the muggle-cleanup skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: minit
|
|
3
|
+
description: Explicit short alias for the `muggle-init` skill. ONLY invoke when the user explicitly types `minit` or `/minit` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# minit — alias for muggle-init
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-init` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-init/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "minit"
|
|
5
|
+
short_description: "Short alias for the muggle-init skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mlogin
|
|
3
|
+
description: Explicit short alias for the `muggle-login` skill. ONLY invoke when the user explicitly types `mlogin` or `/mlogin` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mlogin — alias for muggle-login
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-login` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-login/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mlogin"
|
|
5
|
+
short_description: "Short alias for the muggle-login skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mlogout
|
|
3
|
+
description: Explicit short alias for the `muggle-logout` skill. ONLY invoke when the user explicitly types `mlogout` or `/mlogout` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mlogout — alias for muggle-logout
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-logout` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-logout/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mlogout"
|
|
5
|
+
short_description: "Short alias for the muggle-logout skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mrun
|
|
3
|
+
description: Explicit short alias for the `muggle-run-view` skill. ONLY invoke when the user explicitly types `mrun` or `/mrun` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mrun — alias for muggle-run-view
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-run-view` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-run-view/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mrun"
|
|
5
|
+
short_description: "Short alias for the muggle-run-view skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -36,6 +36,12 @@ If the user intent clearly matches one command, route directly — no menu neede
|
|
|
36
36
|
- status/health/check → `muggle-status`
|
|
37
37
|
- repair/fix/install broken → `muggle-repair`
|
|
38
38
|
- upgrade/update latest → `muggle-upgrade`
|
|
39
|
+
- onboarding/muggle init → `muggle-init`
|
|
40
|
+
- require E2E in CI/add the walkthrough check/muggle ci-install → `muggle-ci-install`
|
|
41
|
+
- log in/sign in/switch account → `muggle-login`
|
|
42
|
+
- log out/sign out → `muggle-logout`
|
|
43
|
+
- view a local run/muggle run-view → `muggle-run-view`
|
|
44
|
+
- remove old runner versions/free disk space/muggle cleanup → `muggle-cleanup`
|
|
39
45
|
- test my changes/acceptance test my work/test before push/post E2E acceptance results to PR/test on staging/test on preview → `muggle-test`
|
|
40
46
|
- test localhost/validate single feature/test a feature → `muggle-test-feature-local`
|
|
41
47
|
- build/implement from request/end-to-end → `muggle-do`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-ci-install
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Add the Muggle walkthrough check to a repository's GitHub Actions. Use on muggle ci-install or when asked to require Muggle E2E in CI."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle CI Install
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-ci-install"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Run `muggle ci-install` from the repository root, and report its message.
|
|
16
|
+
2. When it kept a workflow the user edited, ask with `AskUserQuestion` before replacing it: `muggle ci-install --force` discards those edits. Never pass `--force` unasked.
|
|
17
|
+
3. When it wrote `.github/workflows/muggle-walkthrough.yml`, tell the user to commit it. The check starts with that commit. Do not commit it for them.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-cleanup
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Remove old Muggle browser runner versions and obsolete skills. Use on muggle cleanup. Not for cleaning up after a merged PR."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Cleanup
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-cleanup"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Run `muggle cleanup --dry-run` and show what would be removed. One previous version stays for rollback; add `--all` to remove that too, and `--skills` to include obsolete skills.
|
|
16
|
+
2. Nothing to remove → say so and stop.
|
|
17
|
+
3. Confirm with `AskUserQuestion`, then run the same command without `--dry-run` and report the space freed.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-init
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Run the Muggle onboarding walkthrough in the agent: saves first-time preferences and offers the CI check. Use on muggle init. To change one saved setting, use muggle-preferences."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Init
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-init"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
`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`.
|
|
14
|
+
|
|
15
|
+
## Steps
|
|
16
|
+
|
|
17
|
+
1. Run `muggle init --json` and show `primerHeadline` and `primerBullets`.
|
|
18
|
+
2. Ask for the blanket choice with `AskUserQuestion`, one option per `blanketOptions` entry, using its `label` and `description`.
|
|
19
|
+
3. On `customize`, ask each group in order:
|
|
20
|
+
- `toggle` — multi-select of its `entries`, pre-selecting `isSelectedByDefault`. Collect the selected keys into `selectedToggleKeys`.
|
|
21
|
+
- `choice` — single-select of its `options`, the `isDefault` one first. Record `choices[<key>] = <value>`.
|
|
22
|
+
4. Write the answers to a temp file: `{ "blanket": "<choice>", "selectedToggleKeys": [...], "choices": { ... } }`. The last two fields only apply to `customize`.
|
|
23
|
+
5. Run `muggle init --apply <file>`, then delete the file. A non-zero exit prints why; report it and stop.
|
|
24
|
+
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.
|
|
25
|
+
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.
|
|
26
|
+
8. Report what was saved.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-login
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Sign in to Muggle AI from the agent, or switch accounts. Use on muggle login or when asked to log in or re-authenticate to Muggle."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Login
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-login"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
`muggle login` waits on a browser and blocks the agent, so this skill uses the auth tools.
|
|
14
|
+
|
|
15
|
+
## Steps
|
|
16
|
+
|
|
17
|
+
1. Call `muggle-remote-auth-status`. Already signed in and no switch requested → report the account and stop.
|
|
18
|
+
2. Call `muggle-remote-auth-login`, with `forceNewSession: true` when the user wants another account. Show the verification link and code it returns.
|
|
19
|
+
3. Call `muggle-remote-auth-poll` until sign-in completes, then report the account.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-logout
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Sign out of Muggle AI and clear stored credentials. Use on muggle logout or when asked to log out of Muggle."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Logout
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-logout"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Call `muggle-remote-auth-logout`.
|
|
16
|
+
2. Call `muggle-remote-auth-status` to confirm the credentials are gone, and report it.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-run-view
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Show a local Muggle test run's steps beside the frames they produced. Use on muggle run-view or when asked to view or replay what a local run did."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Run View
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-run-view"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Take the run id from the arguments. A unique prefix works; with none, the newest run opens.
|
|
16
|
+
2. Run `muggle run-view [runId] --open`, which renders an HTML page and opens it in the browser.
|
|
17
|
+
3. In a session with no browser, run `muggle run-view [runId]` for the terminal view.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"release": "5.26.0",
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
3
|
+
"buildId": "run-298-1",
|
|
4
|
+
"commitSha": "4ecc3be2e9e224835d6b2a71dd8d9f4722aa43c1",
|
|
5
|
+
"buildTime": "2026-11-05T00:15:23Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggle",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.33.0-staging.298",
|
|
5
5
|
"description": "13 years of Microsoft hyperscale engineering, packaged as a harness for your AI coding agent.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -63,21 +63,21 @@
|
|
|
63
63
|
"typecheck:browser-bench": "tsc --noEmit -p internal/browser-bench/tsconfig.json"
|
|
64
64
|
},
|
|
65
65
|
"muggleConfig": {
|
|
66
|
-
"electronAppVersion": "1.
|
|
66
|
+
"electronAppVersion": "1.24.6",
|
|
67
67
|
"downloadBaseUrl": "https://github.com/multiplex-ai/muggle-ai-works/releases/download",
|
|
68
|
-
"runtimeTargetDefault": "
|
|
68
|
+
"runtimeTargetDefault": "staging",
|
|
69
69
|
"checksumsByStream": {
|
|
70
70
|
"production": {
|
|
71
|
-
"win32-x64": "
|
|
72
|
-
"linux-x64": "
|
|
73
|
-
"darwin-arm64": "
|
|
74
|
-
"darwin-x64": "
|
|
71
|
+
"win32-x64": "16d6eceb3ff2030776ac0b10bc510347849f3d264388d4215535ee11895e1247",
|
|
72
|
+
"linux-x64": "0ab1ef75ecce45aa00b49bf29625d55762f645da52d4d0607441ada8ab2505df",
|
|
73
|
+
"darwin-arm64": "ddfa814f6c1b47f21cab6be88987e07f4ee4d350c0112b825c86168128ed9d49",
|
|
74
|
+
"darwin-x64": "b57f0c4b213eb845dc81d6938bd5df0abc9e18c1b4bf4c6c6befeb06a6ba649f"
|
|
75
75
|
},
|
|
76
76
|
"staging": {
|
|
77
|
-
"darwin-arm64": "
|
|
78
|
-
"linux-x64": "
|
|
79
|
-
"win32-x64": "
|
|
80
|
-
"darwin-x64": "
|
|
77
|
+
"darwin-arm64": "96a549377fa3ec69a968a6096a0928be3795601d944f3a3999b2ae11238639d3",
|
|
78
|
+
"linux-x64": "9cd74c529009b8222b454b65f2dbadafb0e7a389ced3766d860c34c22954c42d",
|
|
79
|
+
"win32-x64": "2afba69e304339f03aa3648adc9c044c4563a7213cc7e6e2c5466da8bf768b87",
|
|
80
|
+
"darwin-x64": "c2a0cd43f17ead516e56dc6b5eb6845224ab65a252e108e11820a465dacc497b"
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"electronAppSignedFromVersion": "1.10.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.33.0-staging.298",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.33.0-staging.298",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.
|
|
5
|
+
"version": "5.33.0-staging.298",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
package/plugin/README.md
CHANGED
|
@@ -47,6 +47,12 @@ Type `muggle` to discover the full command family.
|
|
|
47
47
|
| `/muggle:muggle-status` | `/mstatus` | Health check for Electron browser test runner, MCP server, and authentication. |
|
|
48
48
|
| `/muggle:muggle-repair` | `/mrepair` | Diagnose and fix broken installation automatically. |
|
|
49
49
|
| `/muggle:muggle-upgrade` | `/mupgrade` | Update Electron browser test runner and MCP server to latest version. |
|
|
50
|
+
| `/muggle:muggle-init` | `/minit` | Run the onboarding walkthrough and save your preferences. |
|
|
51
|
+
| `/muggle:muggle-ci-install` | `/mci` | Add the Muggle walkthrough check to GitHub Actions. |
|
|
52
|
+
| `/muggle:muggle-login` | `/mlogin` | Sign in to Muggle AI, or switch accounts. |
|
|
53
|
+
| `/muggle:muggle-logout` | `/mlogout` | Sign out and clear stored credentials. |
|
|
54
|
+
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps beside the frames they produced. |
|
|
55
|
+
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old browser test runner versions and obsolete skills. |
|
|
50
56
|
|
|
51
57
|
Every skill ships the short alias in the table above. Type `/m` (Claude Code), `m` (Cursor) or `$muggle:m` (Codex) to open the menu, or jump straight to one (e.g. `/mtest`, `$muggle:mtest`). Claude Code namespaces plugin commands, so the aliases resolve as `/muggle:mtest`; mirror them into `~/.claude/commands/` to type `/mtest` bare.
|
|
52
58
|
|
package/plugin/skills/CLAUDE.md
CHANGED
|
@@ -50,7 +50,7 @@ Each skill sets a `model:` in its `SKILL.md` frontmatter sized to its cognitive
|
|
|
50
50
|
|
|
51
51
|
| Model | Skills | Why this tier |
|
|
52
52
|
|-------|--------|---------------|
|
|
53
|
-
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
53
|
+
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
54
54
|
| `sonnet` | `muggle-pr-visual-walkthrough` (executes via the `visual-walkthrough-builder` agent), `muggle-test-regenerate-missing`, `muggle-pr-followup` | Multi-step orchestration with light judgment, short of deep reasoning: assemble run data and build a PR section with fit-vs-overflow handling; scan, filter, bulk-dispatch, and classify per-item failures into buckets; run a watcher tick across a dozen procedure files and fire the one `/muggle-do` directive its verdict calls for. More moving parts than a router, but each step is well-defined. The watcher moved up from `haiku`: its tick eval passed 3–4 of 23 scenarios there, describing the procedure instead of running it, and a tick now runs only when its token-free watch loop exits with something to act on. |
|
|
55
55
|
| `opus` (explicit pin) | `muggle-test-prepare` (executes via the `test-prepare-runner` agent) | Pinned for **reliability**, not raw reasoning load: it's flaky on smaller models, and since other skills gate on the environment it readies, a wrong call is expensive. Pin explicitly rather than leaving `model:` unset so it stays on Opus even when the user's session runs a cheaper model. |
|
|
56
56
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mci
|
|
3
|
+
description: Explicit short alias for the `muggle-ci-install` skill. ONLY invoke when the user explicitly types `mci` or `/mci` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mci — alias for muggle-ci-install
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-ci-install` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-ci-install/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mci"
|
|
5
|
+
short_description: "Short alias for the muggle-ci-install skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mcleanup
|
|
3
|
+
description: Explicit short alias for the `muggle-cleanup` skill. ONLY invoke when the user explicitly types `mcleanup` or `/mcleanup` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mcleanup — alias for muggle-cleanup
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-cleanup` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-cleanup/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mcleanup"
|
|
5
|
+
short_description: "Short alias for the muggle-cleanup skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: minit
|
|
3
|
+
description: Explicit short alias for the `muggle-init` skill. ONLY invoke when the user explicitly types `minit` or `/minit` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# minit — alias for muggle-init
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-init` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-init/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "minit"
|
|
5
|
+
short_description: "Short alias for the muggle-init skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mlogin
|
|
3
|
+
description: Explicit short alias for the `muggle-login` skill. ONLY invoke when the user explicitly types `mlogin` or `/mlogin` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mlogin — alias for muggle-login
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-login` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-login/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mlogin"
|
|
5
|
+
short_description: "Short alias for the muggle-login skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mlogout
|
|
3
|
+
description: Explicit short alias for the `muggle-logout` skill. ONLY invoke when the user explicitly types `mlogout` or `/mlogout` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mlogout — alias for muggle-logout
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-logout` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-logout/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mlogout"
|
|
5
|
+
short_description: "Short alias for the muggle-logout skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mrun
|
|
3
|
+
description: Explicit short alias for the `muggle-run-view` skill. ONLY invoke when the user explicitly types `mrun` or `/mrun` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mrun — alias for muggle-run-view
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-run-view` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-run-view/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mrun"
|
|
5
|
+
short_description: "Short alias for the muggle-run-view skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -36,6 +36,12 @@ If the user intent clearly matches one command, route directly — no menu neede
|
|
|
36
36
|
- status/health/check → `muggle-status`
|
|
37
37
|
- repair/fix/install broken → `muggle-repair`
|
|
38
38
|
- upgrade/update latest → `muggle-upgrade`
|
|
39
|
+
- onboarding/muggle init → `muggle-init`
|
|
40
|
+
- require E2E in CI/add the walkthrough check/muggle ci-install → `muggle-ci-install`
|
|
41
|
+
- log in/sign in/switch account → `muggle-login`
|
|
42
|
+
- log out/sign out → `muggle-logout`
|
|
43
|
+
- view a local run/muggle run-view → `muggle-run-view`
|
|
44
|
+
- remove old runner versions/free disk space/muggle cleanup → `muggle-cleanup`
|
|
39
45
|
- test my changes/acceptance test my work/test before push/post E2E acceptance results to PR/test on staging/test on preview → `muggle-test`
|
|
40
46
|
- test localhost/validate single feature/test a feature → `muggle-test-feature-local`
|
|
41
47
|
- build/implement from request/end-to-end → `muggle-do`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-ci-install
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Add the Muggle walkthrough check to a repository's GitHub Actions. Use on muggle ci-install or when asked to require Muggle E2E in CI."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle CI Install
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-ci-install"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Run `muggle ci-install` from the repository root, and report its message.
|
|
16
|
+
2. When it kept a workflow the user edited, ask with `AskUserQuestion` before replacing it: `muggle ci-install --force` discards those edits. Never pass `--force` unasked.
|
|
17
|
+
3. When it wrote `.github/workflows/muggle-walkthrough.yml`, tell the user to commit it. The check starts with that commit. Do not commit it for them.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-cleanup
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Remove old Muggle browser runner versions and obsolete skills. Use on muggle cleanup. Not for cleaning up after a merged PR."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Cleanup
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-cleanup"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Run `muggle cleanup --dry-run` and show what would be removed. One previous version stays for rollback; add `--all` to remove that too, and `--skills` to include obsolete skills.
|
|
16
|
+
2. Nothing to remove → say so and stop.
|
|
17
|
+
3. Confirm with `AskUserQuestion`, then run the same command without `--dry-run` and report the space freed.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-init
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Run the Muggle onboarding walkthrough in the agent: saves first-time preferences and offers the CI check. Use on muggle init. To change one saved setting, use muggle-preferences."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Init
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-init"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
`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`.
|
|
14
|
+
|
|
15
|
+
## Steps
|
|
16
|
+
|
|
17
|
+
1. Run `muggle init --json` and show `primerHeadline` and `primerBullets`.
|
|
18
|
+
2. Ask for the blanket choice with `AskUserQuestion`, one option per `blanketOptions` entry, using its `label` and `description`.
|
|
19
|
+
3. On `customize`, ask each group in order:
|
|
20
|
+
- `toggle` — multi-select of its `entries`, pre-selecting `isSelectedByDefault`. Collect the selected keys into `selectedToggleKeys`.
|
|
21
|
+
- `choice` — single-select of its `options`, the `isDefault` one first. Record `choices[<key>] = <value>`.
|
|
22
|
+
4. Write the answers to a temp file: `{ "blanket": "<choice>", "selectedToggleKeys": [...], "choices": { ... } }`. The last two fields only apply to `customize`.
|
|
23
|
+
5. Run `muggle init --apply <file>`, then delete the file. A non-zero exit prints why; report it and stop.
|
|
24
|
+
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.
|
|
25
|
+
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.
|
|
26
|
+
8. Report what was saved.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-login
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Sign in to Muggle AI from the agent, or switch accounts. Use on muggle login or when asked to log in or re-authenticate to Muggle."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Login
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-login"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
`muggle login` waits on a browser and blocks the agent, so this skill uses the auth tools.
|
|
14
|
+
|
|
15
|
+
## Steps
|
|
16
|
+
|
|
17
|
+
1. Call `muggle-remote-auth-status`. Already signed in and no switch requested → report the account and stop.
|
|
18
|
+
2. Call `muggle-remote-auth-login`, with `forceNewSession: true` when the user wants another account. Show the verification link and code it returns.
|
|
19
|
+
3. Call `muggle-remote-auth-poll` until sign-in completes, then report the account.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-logout
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Sign out of Muggle AI and clear stored credentials. Use on muggle logout or when asked to log out of Muggle."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Logout
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-logout"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Call `muggle-remote-auth-logout`.
|
|
16
|
+
2. Call `muggle-remote-auth-status` to confirm the credentials are gone, and report it.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-run-view
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Show a local Muggle test run's steps beside the frames they produced. Use on muggle run-view or when asked to view or replay what a local run did."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Run View
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-run-view"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. Take the run id from the arguments. A unique prefix works; with none, the newest run opens.
|
|
16
|
+
2. Run `muggle run-view [runId] --open`, which renders an HTML page and opens it in the browser.
|
|
17
|
+
3. In a session with no browser, run `muggle run-view [runId]` for the terminal view.
|