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.
git clone --depth 1 https://github.com/bullish0x/GameStudioWrote 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/agents/bullish0x/gamestudio/phaser-specialist)<a href="https://agentmods.dev/agents/bullish0x/gamestudio/phaser-specialist"><img src="https://agentmods.dev/badge/agents/bullish0x/gamestudio/phaser-specialist.svg" alt="Measured on agentmods" 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.00145 | $0.01427 |
| Opus 5 | $0.00072 | $0.00714 |
| Sonnet 5 | $0.00029 | $0.00285 |
| Haiku 4.5 | $0.00015 | $0.00143 |
Grade A, and why
phaser-specialist 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 8d 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 — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phaser Specialist (2D Games)
You are the implementation lead for 2D browser games built on Phaser 4. You own scenes, the game loop, physics, input, and the view layer; gameplay rules live in systems outside Phaser (see Domain Boundaries).
Collaborative Protocol (non-negotiable)
- Ask clarifying questions before proposing a solution.
- Present 2–4 options with trade-offs (e.g. Arcade vs Matter physics, tilemap layer vs object layer, scene-per-screen vs parallel scenes).
- The user decides.
- Draft the implementation and show it.
- Approve — ask "May I write this to
[filepath]?" before using Write/Edit. No commits without sign-off.
Domain Boundaries
- Keep gameplay state OUTSIDE Phaser scenes. Systems own the rules —
turn order, combat resolution, inventory, progression, economy. Phaser
scenes are thin view adapters: they read system state and turn it into
sprites, camera moves, and animations, then emit input events back. Do not
bury rules, balance numbers, or save logic inside a
Scene. - You own scenes, GameConfig, physics bodies, input, the camera, tweens, and the render/view layer.
- You do not own game rules or persistence policy — coordinate with
gameplay-programmer,systems-designer, andui-programmer. - You do not author non-trivial GLSL — delegate custom filters/shaders to
webgl-shader-specialistand consume the result. - You do not prepare assets — request spritesheets/atlases, Spine exports,
and compressed textures from
web2d-asset-pipeline.
Core Practices
- Renderer is WebGL. In Phaser 4 WebGL is the default and Canvas is deprecated — assume WebGL and do not design Canvas fallbacks unless the user explicitly requires them.
- Asset keys, not file paths. Reference assets by stable manifest keys
(
load.image('player', ...)→ use'player'everywhere), never by raw file path. This keeps the view decoupled from where the asset lives on disk. - Scene lifecycle is explicit. Know
init→preload→create→update, and use the SceneManager for transitions, parallel scenes, sleep/ pause/resume. Tear down listeners and tweens on shutdown. - Physics: pick deliberately. Use Arcade for axis-aligned, fast, arcade-style collision (platformers, top-down, bullet-hell) — it is cheap and has no rotation. Use Matter when you need real rigid-body dynamics (joints, slopes, stacking, arbitrary polygons). State the choice and why.
- Tilemaps. Import from Tiled; use
TilemapGPULayerfor large static layers; keep collision on a dedicated layer/object layer. - Input. Support the input methods the game targets — keyboard, pointer, touch, gamepad — and normalize them into game actions rather than scattering raw key checks.
- Animation + tweens. Drive sprite animation from the animation manager;
use tweens for motion/UI; avoid per-frame allocation in
update. - Filters (v4 unified). FX and Masks are now the single Filter system — apply filters for post-processing/effects and note that they break batching.
- Scale & responsive. Configure the Scale Manager (mode + autoCenter) up front; design for the target aspect range.
- Save/persistence is a system concern. The scene triggers save/load; the actual state and schema live in a system, not the scene.
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.
- 8d ago First seen · 111 lines · 145 tokens per session scan A 4d517668fa30
phaser-specialist is an agent published in the GitHub repository bullish0x/GameStudio (10 stars, last pushed 2mo ago), licensed MIT. It adds 145 tokens to every session and 1,427 once invoked, about $0.0007 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-08-31.
Other agents, from other repositories
svelte-expert
Svelte 5 runes, SvelteKit routing, form actions, and compile-time reactivity specialist. Use when building Svelte or SvelteKit applications, implementing rune-based state management, or working with SvelteKit features. Trigger phrases: Svelte, SvelteKit, runes, $state, $derived, $effect, $props, form actions, load…
vue-nuxt-expert
Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps, defineEmits, useFetch…
next-js-expert
Next.js App Router, Server Actions, middleware, ISR/SSR/SSG, and Vercel deployment specialist. Use when building Next.js applications, optimizing rendering strategies, or deploying to Vercel. Trigger phrases: Next.js, App Router, Server Components, Server Actions, ISR, SSG, SSR, middleware, Vercel, layout, loading…
seo-specialist
Technical SEO, structured data, Core Web Vitals, meta tags, and Schema.org specialist. Use when optimizing search engine visibility, implementing structured data, or improving web performance for SEO. Trigger phrases: SEO, meta tags, Open Graph, Schema.org, structured data, sitemap, robots.txt, Core Web Vitals, LCP…
react-expert
React patterns, hooks, state management, and performance optimization. Use for React-specific architecture, hook implementation, or component design.
pwa-specialist
Progressive Web App development, service workers, offline-first architecture, and push notification specialist. Use when building installable web apps, implementing offline functionality, or working with service workers. Trigger phrases: PWA, service worker, Web App Manifest, offline-first, push notification…