mx-detect

mx-detect is a skill for Claude Code from Claritune/mutantx. It costs 25 tokens per session (1,043 once invoked), scanned A, original, MIT.

A project-detection step for mutation testing, a method that changes source code in small ways to check whether tests detect those changes. It identifies the project language, test command, and source files to examine.

In plain words
What is it for?
Use it to prepare JavaScript or TypeScript, Python, Rust, Go, Maven, or Gradle projects for mutation testing by writing detection results for later steps.
Why use it?
It removes the need to manually determine how a project is tested and which files should be checked for weak test coverage.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to prepare JavaScript or TypeScript, Python, Rust, Go, Maven, or Gradle projects for mutation testing by writing detection results for later steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/claritune/mutantx/mx-detect
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.

Any agent
npx skills add Claritune/mutantx --skill mx-detect
Clone the repo
git clone --depth 1 https://github.com/Claritune/mutantx

Made for: Claude Code.

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 mx-detect

README.md
[![agentmods](https://agentmods.dev/badge/skills/claritune/mutantx/mx-detect/github.svg)](https://agentmods.dev/skills/claritune/mutantx/mx-detect)
Your own site
<a href="https://agentmods.dev/skills/claritune/mutantx/mx-detect"><img src="https://agentmods.dev/badge/skills/claritune/mutantx/mx-detect/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 mx-detect

Your own site · 80×15
<a href="https://agentmods.dev/skills/claritune/mutantx/mx-detect"><img src="https://agentmods.dev/badge/skills/claritune/mutantx/mx-detect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 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.00025 $0.01043
Opus 5.5 $0.00010 $0.00417
Sonnet 5.5 $0.00005 $0.00209
Haiku 4.5 $0.00003 $0.00104

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

Security

Grade A, and why

mx-detect 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.

.claude/skills/mx-detect/SKILL.md · 79 lines

How it starts

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

MutantX — Phase 1: Project Detection

You are the detection phase of a mutation testing engine. Your job is to identify the project's language, test command, and source files to mutate.

Write the detection results as JSON to .mutants/detect.json so downstream phases can consume them.


Language & Test Command Detection

If test-cmd is provided, use it directly. Otherwise, check for these indicator files in order and use the first match:

Indicator File Language Default Test Command Default Source Pattern
package.json JavaScript/TypeScript Read scripts.test from package.json; fall back to npx jest or npx vitest run src/**/*.{ts,tsx,js,jsx} minus **/*.{test,spec}.* and **/__tests__/**
pyproject.toml or setup.py or requirements.txt Python pytest src/**/*.py or **/*.py minus **/test_* and **/*_test.py and **/tests/**
Cargo.toml Rust cargo test src/**/*.rs minus test modules
go.mod Go go test ./... **/*.go minus *_test.go
pom.xml Java (Maven) mvn test src/main/**/*.java
build.gradle Java (Gradle) ./gradlew test src/main/**/*.java
*.sln or *.csproj C# dotnet test **/*.cs minus **/Tests/** and **/*.Tests/**
mix.exs Elixir mix test lib/**/*.ex
Gemfile Ruby bundle exec rspec or rake test lib/**/*.rb or app/**/*.rb
CMakeLists.txt or Makefile (with C/C++ sources) C/C++ Auto-detect: cmake --build . && ctest or make test src/**/*.{c,cpp,cc,cxx,h,hpp} minus test files

If no indicator is found, ask the user for the language, test command, and source file patterns.

Read the full file on GitHub · 79 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 First seen · 79 lines · 25 tokens per session scan A 6500cfe624c6

Subscribe to this mod's changes

mx-detect is a skill published in the GitHub repository Claritune/mutantx (2 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 1,043 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-31.

Related

Other skills, from other repositories

test-driven-development

TDD: enforce RED-GREEN-REFACTOR, tests before code.

HezaoHezao/poirot · 20 tokens

starfleetctl-dev

Developing and deploying the starfleetctl source itself — claim protocol, make, bootstrap, daemon restarts in the right order, end-to-end verification. Load before editing anything in a starfleetctl source checkout, before running starfleet-bootstrap, or when a web/plugin change 'is done' but the fleet does not see it.

mpbt-hq/starfleetctl · 72 tokens

engineering-workflow

A Chinese-language workflow for reliable software development. It describes exploring the problem, making a plan, using TDD (test-driven development, where tests are written before the code), debugging methodically, reviewing code, and verifying the result.

TencentCloud/Octop · 47 tokens

writing-tests

Kiro Crew repo only: how to write a backend pytest test with NO side effects that does not flake. Use when adding, editing, reviewing or debugging a test there: which conftest applies, what leaks (temp dirs, data home, /.kiro, cron, threads), the seven flake classes, cross-platform traps.

kirodotdev/KiroCrew · 72 tokens

pod-e2e

ONLY for developing Kiro Crew itself -- if the project you are working on is anything else, ignore this skill: it drives Kiro Crew's own pod tooling, which does not exist in another repository. Boots a Kiro Crew feature worktree's full stack as an ISOLATED throwaway pod and proves it boots, authenticates and renders…

kirodotdev/KiroCrew · 174 tokens

dashboard-template

Kiro Crew repo only: load this when a task will author or change a dashboard page. A page never ships alone: the same PR carries its TypedDict contract, its provider, and a parity test that the two agree. Scaffold all four from one field list; read numbers from an existing fold, never type them.

kirodotdev/KiroCrew · 68 tokens