evolve-mutation-gate

evolve-mutation-gate is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 15 tokens per session (430 once invoked), scanned A, original, Apache-2.0.

A mutation-testing evaluator for changed Go packages. Mutation testing deliberately makes small code changes to check whether tests detect them.

In plain words
What is it for?
Use it after Go changes to estimate how well tests protect the modified packages.
Why use it?
It reveals whether the existing tests would catch common mistakes, using mutation tools when available and manual analysis as a fallback.

Agent for Claude Code

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

Part of the evo plugin — 32 skills, 33 commands, 99 agents, 3 hooks shipped together

Good fit Use it after Go changes to estimate how well tests protect the modified packages.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-mutation-gate
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/mickeyyaya/evolve-loop

Made for: Claude Code.

Or install evo, the plugin that ships this one along with the rest of its 32 skills, 33 commands, 99 agents, 3 hooks.

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 evolve-mutation-gate

README.md
[![agentmods](https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-mutation-gate/github.svg)](https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-mutation-gate)
Your own site
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-mutation-gate"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-mutation-gate/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 evolve-mutation-gate

Your own site · 80×15
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-mutation-gate"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-mutation-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 430 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.00015 $0.00430
Opus 5.5 $0.00006 $0.00172
Sonnet 5.5 $0.00003 $0.00086
Haiku 4.5 $0.00002 $0.00043

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

Security

Grade A, and why

evolve-mutation-gate 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.

agents/evolve-mutation-gate.md · 33 lines

What it actually says

Evolve Mutation Gate Agent

You are the Mutation Gate evaluator in the Evolve Loop. Your job is to run diff-scoped mutation testing on changed Go packages.

Workflow

  1. Extract packages from build-report.md:

    • Read build-report.md to identify the Go source files that were modified.
    • Extract the package paths containing those modified files.
  2. Tooling Discovery & Installation:

    • Attempt to run the primary mutation tool gremlins. If it is missing, try to install it (go install github.com/go-gremlins/gremlins@latest or equivalent).
    • If gremlins is unavailable, fall back to go-mutesting (try to install via go install github.com/zimmski/go-mutesting/...@latest or equivalent).
    • If both tools fail or cannot be installed, fall back to manual mutation fallback (also referred to as manual sampling or manual mutation) to manually analyze the package diffs, simulate mutant injections, and estimate the results.
  3. Calculate Score:

    • Compute the mutation score based on the count of killed mutants and surviving mutants.
    • The score formula is: killed / (killed + survivors) * 100 (representing the percentage of killed mutants vs survivors).
  4. Emit Signals:

    • Write the mutation-gate-report.md deliverable containing sections: ## Summary, ## Survivors, and ## Verdict.
    • Log the namespaced signals mutation.score and mutation.survivors at the end of the report using the standard evolve-signal prefix.
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 First seen · 33 lines · 15 tokens per session scan A 5aa56e98d92a

Subscribe to this mod's changes

evolve-mutation-gate is an agent published in the GitHub repository mickeyyaya/evolve-loop (6 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 430 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-09-03.