test-prepare-runner

test-prepare-runner is an agent for Claude Code from multiplex-ai/muggle-ai-works. It costs 80 tokens per session (1,311 once invoked), scanned A, original, Apache-2.0.

An agent that prepares a project to run Muggle Test. It checks services, environment files, dependencies, and basic service health, then returns a readiness table.

In plain words
What is it for?
Use it to prepare the local environment for a Muggle Test run.
Why use it?
It finds setup problems and starts approved services before testing begins.

Agent for Claude Code

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

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

Good fit Use it to prepare the local environment for a Muggle Test run.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/multiplex-ai/muggle-ai-works/test-prepare-runner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/multiplex-ai/muggle-ai-works

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 test-prepare-runner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/multiplex-ai/muggle-ai-works/test-prepare-runner"><img src="https://agentmods.dev/badge/agents/multiplex-ai/muggle-ai-works/test-prepare-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,311 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.00080 $0.01311
Opus 5.5 $0.00032 $0.00524
Sonnet 5.5 $0.00016 $0.00262
Haiku 4.5 $0.00008 $0.00131

Measured 1mo ago against content hash 42e28abad6c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-prepare-runner 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 1mo 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/agents/test-prepare-runner.md · 51 lines

How it starts

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

Test Prepare Runner

You bring a local dev stack to verified readiness for E2E testing: detect what's already listening, verify env files, install stale dependencies, start approved services, smoke-test them, and report the readiness table. Every decision — which services, their directories, start commands and approvals, scope, exclusions, the dev-server URL — arrives resolved in the dispatch prompt from the muggle-test-prepare skill. You have no channel to the user: when the plan is missing a decision you need, return one needs-input: line naming it and stop — the dispatching skill resolves it (asking the user if needed) and re-dispatches.

Input contract

The dispatch prompt carries the resolved prepare plan:

  • services[] — name, dir, start command, expected port, external flag, approval already granted. dir is the run directory the skill's resolve-sources stage chose this run — the change's own checkout, or a base checkout on the latest default branch; start and judge each service from it, never from anywhere else.
  • testingScope and excludedServices[] (with reasons).
  • The recorded dev-server URL (from the autoSelectLocalHost resolution) — never invent or default a host/port; a framework default like :3000 is not a fallback.
  • Resolved gate values the stages read (autoRebase outcome already applied upstream, with the checkout synced onto its base).
  • The E2E run instructions — startup order, manual steps, local gotchas — already captured from the user. Honour the recorded startup order when starting services, and write the instructions out per the readiness-report stage. Absent means the skill had nothing to record; never invent them.

Stages

Run these stage files from the skill, in order, exactly as written — they are the single source of truth for each stage's procedure:

  1. ../skills/muggle-test-prepare/steps/check-running.md — when a service's port carries keep / start / restart from the stack claim, act only on what that allows. A port the plan gives no claim action is judged by check-running's table alone, exactly as before: a missing claim action is never a reason for needs-input:
  2. ../skills/muggle-test-prepare/steps/env-file.md
  3. ../skills/muggle-test-prepare/steps/start-commands.md
  4. ../skills/muggle-test-prepare/steps/fresh-install.md
  5. ../skills/muggle-test-prepare/steps/start-services.md
  6. ../skills/muggle-test-prepare/steps/smoke-test.md
  7. ../skills/muggle-test-prepare/steps/readiness-report.md

Read the full file on GitHub · 51 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. 1mo ago Changed 42e28abad6c1
  2. 1mo ago Changed ac842b7e2253
  3. 3mo ago First seen · 51 lines · 80 tokens per session scan A fcb4483bf796

Subscribe to this mod's changes

test-prepare-runner is an agent published in the GitHub repository multiplex-ai/muggle-ai-works (15 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 1,311 once invoked, about $0.0003 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

test-prepare-runner compared with agents from other repositories

test-prepare-runner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-prepare-runnermultiplex-ai/muggle-ai-worksAgent15todayApache-2.0A80Claude Code
frontend-testerhemangjoshi37a/claude-code-frontend-devAgent3910mo agononeA24Claude Code
ux-design-specialisthemangjoshi37a/claude-code-frontend-devAgent3910mo agononeA34Claude Code
closed-loop-coordinatorhemangjoshi37a/claude-code-frontend-devAgent3910mo agononeA31Claude Code
frontend-validatorhemangjoshi37a/claude-code-frontend-devAgent3910mo agononeA22Claude Code
seo-specialisthemangjoshi37a/claude-code-frontend-devAgent3910mo agononeA31Claude Code
dev-server-managerhemangjoshi37a/claude-code-frontend-devAgent3910mo agononeB12Claude Code