test-helpers

test-helpers is a skill for Codex from frabcd/codex-ai-game-studio. It costs 50 tokens per session (3,056 once invoked), scanned A, original, MIT.

A generator for reusable test helpers tailored to a project's game engine, programming language, and systems. These helpers provide shared setup, assertions, factories, and mock objects.

In plain words
What is it for?
Use it to create general helpers or helpers for one or all game systems that already have tests.
Why use it?
It reduces repeated setup code in test files and makes new tests more consistent.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit Use it to create general helpers or helpers for one or all game systems that already have tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frabcd/codex-ai-game-studio/test-helpers
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 frabcd/codex-ai-game-studio --skill test-helpers
Clone the repo
git clone --depth 1 https://github.com/frabcd/codex-ai-game-studio

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 test-helpers

README.md
[![agentmods](https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/test-helpers/github.svg)](https://agentmods.dev/skills/frabcd/codex-ai-game-studio/test-helpers)
Your own site
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/test-helpers"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/test-helpers/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-helpers

Your own site · 80×15
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/test-helpers"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/test-helpers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,056 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.03056
Opus 5 $0.00025 $0.01528
Sonnet 5 $0.00010 $0.00611
Haiku 4.5 $0.00005 $0.00306

Measured 5d ago against content hash 7ccdd0d413bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

test-helpers 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 5d 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.

plugins/ai-game-studio/skills/test-helpers/SKILL.md · 398 lines

How it starts

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

Port provenance: adapted from the pinned upstream source at 984023ddac0d5e27624f2baacde6105e45de375f under MIT; see the repository parity ledger for the exact path and blob.

Test Helpers

Writing test cases is faster and more consistent when common setup, teardown, and assertion patterns are abstracted into helpers. This skill generates a tests/helpers/ library tailored to the project's actual engine, language, and systems — so every developer writes less boilerplate and more assertions.

Output: tests/helpers/ directory with engine-specific helper files

When to run:

  • After $ai-game-studio:test-setup scaffolds the framework (first time)
  • When multiple test files repeat the same setup boilerplate
  • When starting to write tests for a new system

1. Parse Arguments

Modes:

  • $ai-game-studio:test-helpers [system-name] — generate helpers for a specific system (e.g., $ai-game-studio:test-helpers combat)
  • $ai-game-studio:test-helpers all — generate helpers for all systems with test files
  • $ai-game-studio:test-helpers scaffold — generate only the base helper library (no system-specific helpers); use this on first run
  • No argument — run scaffold if no helpers exist, else all

2. Detect Engine and Language

Read .ai-game-studio/project.json and extract:

  • Engine: value
  • Language: value
  • Framework: from the Testing section

If engine is not configured: "Engine not configured. Run $ai-game-studio:setup-engine first."


3. Load Existing Test Patterns

Scan the test directory for patterns already in use:

file discovery pattern="tests/**/*_test.*" (all test files)

For a representative sample (up to 5 files), read the test files and extract:

  • Setup patterns (how before_each / setUp / fixtures are written)
  • Common assertion patterns (what is being asserted most often)
  • Object creation patterns (how game objects or scenes are instantiated in tests)
  • Mock/stub patterns (how dependencies are replaced)

Read the full file on GitHub · 398 lines

Files

What ships with it

1 file 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. 5d ago First seen · 398 lines · 50 tokens per session scan A 7ccdd0d413bd

Subscribe to this mod's changes

test-helpers is a skill published in the GitHub repository frabcd/codex-ai-game-studio (9 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 3,056 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

game-qa

Verify a game with evidence on its selected target runtime. Launch the actual build and prove real rendering, input, the core loop, at least one designed outcome, restart, and explicit limitations without dressing subjective fun up as a certain verdict. Use for test a generated game, QA a game build, check whether the…

zenstory-ai/novel-to-game · 146 tokens

blender-asset-validation

Inspect and validate Blender assets technically and visually. Use for .blend, .glb, .gltf, .fbx, or .obj quality checks; topology and export review; evaluated triangle/material/hierarchy metrics; standardized multiview renders; fresh-import verification; or evidence-backed review of an agent-generated mesh.

ifBars/blender-agent-studio · 71 tokens

platform-device-compatibility-matrix

Use when a game needs a platform and device compatibility matrix across OS, hardware, GPU, memory, resolution, input, network, storefront, certification, test evidence, and support policy; not for store metadata preparation.

hoatv2211/GameStudio-CodexKIT · 51 tokens

playtest-evidence

Use when planning or reviewing game playtests that need structured scenarios, participant context, observations, reproduction evidence, severity, and honest separation of observed findings from conclusions.

hoatv2211/GameStudio-CodexKIT · 37 tokens

qa-test-strategy-and-coverage

Use when a game project, milestone, or feature needs a QA test strategy and coverage matrix across risk, test levels, platforms, environments, ownership, automation, regression, evidence, and exit criteria; not for one playtest session.

hoatv2211/GameStudio-CodexKIT · 55 tokens

playtesting-a-feature

Use when about to claim a gameplay feature is done, shipped, or working — requires actually running the game and walking through the feature before declaring completion. Static diagnostics and type checks do not count as playtesting.

SummerEngine/summer-engine-agent · 47 tokens