automation-mode

automation-mode is a skill for Claude Code, Codex from vchelaru/FlatRedBall2. It costs 73 tokens per session (2,701 once invoked), scanned A, original, MIT.

A debug-only control interface for a running FlatRedBall2 game, allowing an external program to send newline-delimited JSON commands. It can step frames, send input, inspect entity state, and force entity values; recorded sessions can use seeded randomness for repeatable runs.

In plain words
What is it for?
It helps automate game tests and debugging by controlling frames and input, reading game entities, changing their public values, and replaying deterministic sessions.
Why use it?
It lets an AI agent or script observe and drive a game through a defined text protocol instead of relying on manual play.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps automate game tests and debugging by controlling frames and input, reading game entities, changing their public values, and replaying deterministic sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vchelaru/flatredball2/automation-mode
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 vchelaru/FlatRedBall2 --skill automation-mode
Clone the repo
git clone --depth 1 https://github.com/vchelaru/FlatRedBall2

Made for: Claude Code, 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 automation-mode

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vchelaru/flatredball2/automation-mode"><img src="https://agentmods.dev/badge/skills/vchelaru/flatredball2/automation-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,701 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.00073 $0.02701
Opus 5.5 $0.00029 $0.01080
Sonnet 5.5 $0.00015 $0.00540
Haiku 4.5 $0.00007 $0.00270

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

Security

Grade A, and why

automation-mode 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 11d 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.

frb-skills/automation-mode/SKILL.md · 133 lines

How it starts

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

Automation Mode in FlatRedBall2

Automation mode lets an external process control a running game via NDJSON (newline-delimited JSON) over stdin/stdout — one command per line in, one response per line out. The primary use case is AI agents that need to observe and interact with the game the way Playwright interacts with a browser.

Debug builds only — gated on your own project's configuration. EnableAutomationMode() is a [Conditional("DEBUG")] call: the C# compiler strips the call site entirely when your project builds Release, regardless of how the FlatRedBall2 package itself was built. It's safe to leave the call in unconditionally. This is intentional — automation mode exposes internal state and allows arbitrary value forcing.

Setup

// Game.Initialize, after base.Initialize():
FlatRedBallService.Default.EnableAutomationMode();

The call itself does nothing unless --frb-auto is present in the command-line args. Ship the call unconditionally; the flag controls activation.

dotnet run -- --frb-auto

That's the entire required wiring. Entities and their public properties are auto-discovered — no per-property registration.

Hiding the window (Windows)

dotnet run -- --frb-auto --frb-auto-hide parks the game window off-screen at the back of the z-order and hands focus back to the window beneath it, so an agent-driven run does not cover the user's work. Pass it whenever you launch the game on a person's machine. The window still renders, so screenshots work, and without the flag the window shows as usual. Focus handback is best-effort (src/Automation/AutomationWindowParker.cs); the flag does nothing without --frb-auto and is ignored on other platforms.

Deterministic randomness

When automation activates, FlatRedBallService.Random is replaced with a deterministic GameRandom so recorded NDJSON sessions reproduce exactly. Pass an explicit seed to choose which run.

FlatRedBallService.Default.EnableAutomationMode(seed: 1234);

Read the full file on GitHub · 133 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. 11d ago Changed · +2 lines ecedb47adb17
  2. 19d ago Changed · +4 lines 8b3971de98eb
  3. 29d ago Changed · -7 lines e4f80f84b593
  4. 2mo ago First seen · 134 lines · 73 tokens per session scan A 9ef949fcd30b

Subscribe to this mod's changes

automation-mode is a skill published in the GitHub repository vchelaru/FlatRedBall2 (15 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 2,701 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-09-04.

Related

automation-mode compared with skills from other repositories

automation-mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
automation-modevchelaru/FlatRedBall2Skill15yesterdayMITA73Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill36k19d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill6.9k10d agoApache-2.0A95Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill3.2kyesterdayMITA121Claude Code
motionOpenDCAI/GameFactory-3ASkill1.0k8d agoApache-2.0A0Claude Code, Codex
unity-addressablesBesty0728/Unity-SkillsSkill1.9kyesterdayMITA25Claude Code, Codex
unity-manual-componentBesty0728/Unity-SkillsSkill1.9kyesterdayMITA36Claude Code, Codex