rimtest-redux-integrate

rimtest-redux-integrate is a skill for Codex from mushroomTW/MushroomTW-Skills. It costs 40 tokens per session (970 once invoked), scanned A, original, MIT.

A testing guide for RimWorld mods using RimTest Redux, a framework that runs tests inside the live game. It covers checking Harmony patches, which modify game code, as well as startup timing and other behavior that simplified test environments may miss.

In plain words
What is it for?
Use it when writing or debugging RimWorld in-game integration tests, especially for patches, loading, translation injection, and game assets.
Why use it?
Ordinary tests with Unity replaced by stubs may not show whether patches apply in the real game or whether loading happens at the right time. This guide also keeps the test mod separate from the shipped mod.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when writing or debugging RimWorld in-game integration tests, especially for patches, loading, translation injection, and game assets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mushroomtw/mushroomtw-skills/rimtest-redux-integrate
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 mushroomTW/MushroomTW-Skills --skill rimtest-redux-integrate
Clone the repo
git clone --depth 1 https://github.com/mushroomTW/MushroomTW-Skills

Made for: Codex.

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 rimtest-redux-integrate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mushroomtw/mushroomtw-skills/rimtest-redux-integrate"><img src="https://agentmods.dev/badge/skills/mushroomtw/mushroomtw-skills/rimtest-redux-integrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 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.00040 $0.00970
Opus 5.5 $0.00016 $0.00388
Sonnet 5.5 $0.00008 $0.00194
Haiku 4.5 $0.00004 $0.00097

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

Security

Grade A, and why

rimtest-redux-integrate 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.

rimtest-redux-integrate/SKILL.md · 49 lines

How it starts

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

RimWorld Mod Testing (RimTest Redux)

RimTest Redux (ilyvion.rimtestredux, RimWorld 1.6 only) runs [TestSuite] / [Test] classes inside the live game. Before writing the first test, read references/rimtest-redux-api.md: framework rules, assertions, internals, and examples.

1. Ask first

If the repository already has a companion test mod depending on ilyvion.rimtestredux, skip to section 3.

Otherwise ask the user whether this mod should get in-game integration tests with RimTest Redux, naming what headless tests miss with Unity stubbed: patches actually applied, load timing, atlases, translation injection. If they decline, follow their choice and leave this skill.

2. Project layout

  • Tests live in a development-only companion mod (e.g. Source/<Mod>.InGameTests/, About and Assemblies under Mod/), outside the .sln and never shipped with the mod under test.
  • The test DLL builds into its own Mod/Assemblies/ and references the target's Assemblies/*.dll; building tests never rebuilds the target, so Release-build it yourself after changing it.
  • Dependencies: brrainz.harmony, ilyvion.Laboratory, ilyvion.rimtestredux (Workshop 3762405308, net481).
  • The test mod's About.xml lists the target in <loadBefore>, so probes are in place before the target's constructor runs.

3. Writing tests

  • Collect failures and throw once (a custom AssertNone(failures, msg)), so one run shows every failure.
  • When a precondition is absent (no map, compatible mod missing), log skipped: <reason> and return. The runner counts such a test as passed, so section 6 counts skips from these log lines.
  • Vanilla baseline: get the unmodified method through a Harmony reverse patch and compare the mod's result item by item — content and order, not just count; when that is too expensive, recompute from one vanilla list. Compare only objects created through the vanilla entry point (e.g. GraphicData.Init), tagged by a probe — other mods write fields directly (e.g. Bionic Icons writes cachedGraphic).
  • Probes: a [HarmonyPatch] class records state. Enumerate every overload of the target; Prepare() returns false when none is found.
  • For a path the game never reaches naturally, rebuild the scenario by hand, call the postfix, and restore state in finally or [AfterEach].

Read the full file on GitHub · 49 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 49 lines · 40 tokens per session scan A f193a50777ca

Subscribe to this mod's changes

rimtest-redux-integrate is a skill published in the GitHub repository mushroomTW/MushroomTW-Skills (0 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 970 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-09-30.

Related

rimtest-redux-integrate compared with skills from other repositories

rimtest-redux-integrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rimtest-redux-integratemushroomTW/MushroomTW-SkillsSkill0todayMITA40Codex
write-e2egreglas75/zuvoSkill74d agoMITA101Claude Code
ring:running-dev-cycle-frontendLerianStudio/ringSkill2187d agoApache-2.0C114Cursor
test-auditgreglas75/zuvoSkill74d agoMITB100Claude Code
e2e-testingNmor/the-claude-councilSkill121mo agononeA70Claude Code, Codex
auditRayforceDB/raysenseSkill146mo agoMITA55Claude Code
new-skillhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code, Codex