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.
npx skills add fcsouza/agent-skills --skill game-clientgit clone --depth 1 https://github.com/fcsouza/agent-skillsWrote 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.
[](https://agentmods.dev/skills/fcsouza/agent-skills/game-client)<a href="https://agentmods.dev/skills/fcsouza/agent-skills/game-client"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/game-client/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.
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/game-client"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/game-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00147 | $0.03858 |
| Opus 5.5 | $0.00059 | $0.01543 |
| Sonnet 5.5 | $0.00029 | $0.00772 |
| Haiku 4.5 | $0.00015 | $0.00386 |
Grade A, and why
game-client 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 19d 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.
How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Game Client
The client draws the world and collects input. In a multiplayer game the server owns the state (game-backend-architecture) and game-state-sync owns prediction, reconciliation and interpolation. This skill owns everything between those and the screen.
Checked against phaser 4.2.1, pixi.js 8.23.0, three 0.187.0 and @react-three/fiber 9.8.2 (bun pm view <pkg> version, 2026-11-14). An agent trained on an older major writes code that no longer runs; each stack's reference file lists those traps.
Choose the stack
The "what it is" column uses each project's own words. The "fits" and "avoid" columns are this skill's rule.
| Stack | What it is | Fits when | Avoid when |
|---|---|---|---|
| Plain web (Canvas 2D, WebGL2, WebGPU) | Browser APIs; you write the loop, input, loader and batcher | Few sprites, a custom renderer, a tool, a tight bundle | You find yourself writing a sprite batcher or scene graph |
| Phaser 4 | "A fast, free, and fun open source HTML5 game framework" with scenes, a loader, Arcade and Matter physics, input, cameras, tilemaps, tweens | A 2D game where you want the engine to own scenes, input and physics | You need 3D (v4 removed Mesh and Plane), or only a renderer under your own loop |
| PixiJS 8 | "Just a rendering engine" for 2D; sound, UI and layout are add-ons | A 2D game where you own the structure and want a fast batched renderer | You want scenes, physics and gamepad input built in |
| Three.js | "An easy-to-use, lightweight, cross-browser, general-purpose 3D library" | 3D with many server entities updated every snapshot | A 2D game |
| React Three Fiber | "A React renderer for three.js" | 3D inside an existing React app, mostly long-lived objects | Entities that spawn and despawn every snapshot (mounting compiles materials) |
Load one reference file for the chosen stack and skip the others.
Set up with Bun and TypeScript
- Plain web:
bun ./index.htmlserves and bundles the page with hot reloading;bun build ./index.html --outdir=distbuilds it. Details inreferences/web.md. - Phaser and PixiJS: scaffold with
bun create @phaserjs/game@latestorbun create pixi.js my-app --template bundler-vite. Their templates bundle with Vite; keep Vite and use Bun as package manager and runtime. No vendor source covers Bun's own bundler, so this is this skill's rule. - Three.js: install
threeand@types/threeat the same version. R3F: add@react-three/fiberand match React's major (fiber 9 needs React 19). - TypeScript: browser code needs
"DOM"inlib. Bun's recommended tsconfig lists only"ESNext". Give the client its own tsconfig so server code does not see DOM globals (this skill's rule).
What ships with it
9 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.
- boilerplate/audio-unlock.ts 1.9 KB runs code
- boilerplate/canvas-size.ts 4.4 KB runs code
- boilerplate/input-manager.ts 8.0 KB runs code
- boilerplate/visibility-resync.ts 3.1 KB runs code
- references/phaser.md 5.7 KB
- references/pixijs.md 5.6 KB
- references/sources.md 22 KB
- references/three.md 7.6 KB
- references/web.md 5.0 KB
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.
- 19d ago First seen · 146 lines · 147 tokens per session scan A f4e91d37db9b
game-client is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 147 tokens to every session and 3,858 once invoked, about $0.0006 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-11-15.
game-client compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| game-clientfcsouza/agent-skills | Skill | 29 | today | MIT | A | 147 | Claude Code |
| react-three-fibervercel-labs/json-render | Skill | 20k | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| distributekyh/vibedgames | Skill | 62 | today | MIT | A | 58 | Claude Code, Codex |
| react-three-fiber-gameopenai/plugins | Skill | 8.5k | 15d ago | none | A | 47 | Codex |
| phaser-2d-gameopenai/plugins | Skill | 8.5k | 15d ago | none | A | 48 | Codex |
| audiokyh/vibedgames | Skill | 62 | today | MIT | A | 93 | Claude Code, Codex |
| vg-setupkyh/vibedgames | Skill | 62 | today | MIT | A | 48 | Claude Code, Codex |