game-engineering

game-engineering is a skill for Claude Code, Codex from tozhax/plumbwork. It costs 121 tokens per session (3,957 once invoked), scanned B, original, MIT.

A set of rules for building real-time 2D and 3D games, including predictable game updates, entity state handling, resource cleanup, and responsive game feel. A fixed timestep means the simulation advances in equal time steps instead of depending on screen refresh speed.

In plain words
What is it for?
Use it for browser, canvas, WebGL, WebGPU, or game-engine projects involving game loops, physics, procedural worlds, entities, scenes, and HUDs.
Why use it?
It helps avoid jitter, inconsistent physics, memory work during each frame, and state bugs that are common in real-time games.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Gemini CLI.

Good fit Use it for browser, canvas, WebGL, WebGPU, or game-engine projects involving game loops, physics, procedural worlds, entities, scenes, and HUDs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tozhax/plumbwork/game-engineering
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 tozhax/plumbwork --skill game-engineering
Clone the repo
git clone --depth 1 https://github.com/tozhax/plumbwork

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 game-engineering

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tozhax/plumbwork/game-engineering"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/game-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,957 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00121 $0.03957
Opus 5.5 $0.00048 $0.01583
Sonnet 5.5 $0.00024 $0.00791
Haiku 4.5 $0.00012 $0.00396

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

Security

Grade B, and why

game-engineering scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Single-call-site phase functions inside the hot loop (`readInput`, `stepPhysics`, `resolveCollisions`, `evaluateAi`, `stepCombat`, `renderWorld`, `renderHud`) are **architectural verification seams**, not speculative abs
skills/game-engineering/SKILL.md · 117 lines

How it starts

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

Game Engineering & Real-Time Interactive Simulation Discipline

Upstream Attribution (MIT): Cross-engine behavioral equivalence and replay verification patterns adapted from erkamyaman/rea-games (v1.1.0, MIT License, Copyright (c) 2026 Erkam Yaman), integrated into Plumbwork's deterministic game-engineering workflow. Full license notices ship in THIRD_PARTY_NOTICES.md.

Standard web CRUD habits break real-time games. Coupling physics to display refresh rates, allocating objects inside 60–120 Hz loops, scattering boolean flags (isJumping && !isDead && isDashing) across update handlers, leaking GPU/audio handles on scene transitions, and wrapping game HUDs in SaaS admin cards produce jittery, buggy prototypes. This skill enforces deterministic simulation architecture across two execution profiles, compile-time entity safety, asset verification, and tactile game feel ("juice").

Execution Profiles (Select Before Implementation)

  • Profile A — Web / <canvas> / WebGL / WebGPU: Browser single-page apps, modular TypeScript games, or single-file HTML game prototypes (including legacy pre-ADR-0021 promoted builds). Enforces fixed-step requestAnimationFrame accumulators, globalThis.__stepTick, DOM/canvas separation, offline display fonts, and check_ui_slop.py --mode game on HTML/JSX/TSX/CSS layers.
  • Profile B — 3D & Native / Compiled Game Engines (Godot, Unity, Unreal, Bevy, SDL2/Raylib): Map simulation determinism onto the engine's fixed tick hook (_physics_process, FixedUpdate, FixedUpdate schedule in Bevy, or explicit sub-stepping) while keeping core rules/math pure so headless simulation tests run without spawning a GPU window. HTML-only check_ui_slop.py does not scan native engine scripts (.gd, .cs, .cpp, .rs); verify engine UI legibility, input remapping, and explicit GPU/native resource disposal (queue_free, Destroy/Dispose, manual mesh/texture/shader/audio-buffer release on scene unload) directly in engine gates.

Read the full file on GitHub · 117 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. 2d ago First seen · 117 lines · 121 tokens per session scan B b86c1344d47f

Subscribe to this mod's changes

game-engineering is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 121 tokens to every session and 3,957 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

game-engineering compared with skills from other repositories

game-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
game-engineeringtozhax/plumbworkSkill332d agoMITB121Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k24d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k4d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.7k2d agoMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.8k28d agoMITA41Claude Code
motionOpenDCAI/GameFactory-3ASkill1.6k2d agoApache-2.0A0Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill7072d agoMITA102Claude Code, Codex