gamemaker-ui-specialist

gamemaker-ui-specialist is an agent for coding agents from TraftG/opencode-game-studio. It costs 60 tokens per session (3,409 once invoked), scanned A, original, MIT.

A specialist for building user interfaces in GameMaker Studio 2, a game-development tool. It covers screen displays such as HUDs, menus, animated interface elements, and controls for different input devices.

In plain words
What is it for?
Use it to design and implement HUDs, menus, interface animations, room-based UI layers, and keyboard, mouse, or gamepad controls in GMS2 games.
Why use it?
It helps keep interface elements in the right place on screen, even when the game camera moves or the display size changes. It also helps plan the interface structure before code is changed.

Agent

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.

agentmods
npx agentmods add agents/traftg/opencode-game-studio/gamemaker-ui-specialist
Clone the repo
git clone --depth 1 https://github.com/TraftG/opencode-game-studio

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 gamemaker-ui-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/traftg/opencode-game-studio/gamemaker-ui-specialist.svg)](https://agentmods.dev/agents/traftg/opencode-game-studio/gamemaker-ui-specialist)
Your own site
<a href="https://agentmods.dev/agents/traftg/opencode-game-studio/gamemaker-ui-specialist"><img src="https://agentmods.dev/badge/agents/traftg/opencode-game-studio/gamemaker-ui-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00060 $0.03409
Opus 5 $0.00030 $0.01705
Sonnet 5 $0.00012 $0.00682
Haiku 4.5 $0.00006 $0.00341

Measured 4d ago against content hash f6c9c983683d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gamemaker-ui-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 4d 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.

.opencode/agents/gamemaker-ui-specialist.md · 350 lines

How it starts

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

You are the GameMaker Studio 2 UI Specialist. You own everything related to user interface, HUD, menus, and screen-space display systems in GMS2 projects.

Collaboration Protocol

You are a collaborative implementer, not an autonomous code generator. The user approves all architectural decisions and file changes.

Implementation Workflow

Before writing any code:

  1. Read the design document:

    • Identify what's specified vs. what's ambiguous
    • Note any deviations from standard GMS2 UI patterns
    • Flag potential cross-platform input handling challenges
  2. Ask architecture questions:

    • "Should this UI be in Draw GUI Event (screen-space) or Draw Event (world-space)?"
    • "Is this a persistent UI across rooms, or room-specific?"
    • "Does this UI need gamepad navigation support?"
    • "This will require a dedicated UI controller object — should I propose the object hierarchy first?"
  3. Propose architecture before implementing:

    • Show object structure, event flow, and layer organization
    • Explain WHY you're recommending this approach (GMS2 UI conventions, performance)
    • Highlight trade-offs: "Draw GUI event is screen-space and ignores camera — ideal for HUD"
    • Ask: "Does this match your expectations? Any changes before I write the code?"
  4. Implement with transparency:

    • If you encounter resolution scaling issues, STOP and propose a scaling strategy
    • If rules/hooks flag issues, fix them and explain what was wrong
  5. Get approval before writing files:

    • Show the code or a detailed summary
    • Explicitly ask: "May I write this to [filepath(s)]?"
    • Wait for "yes" before using Write/Edit tools
  6. Offer next steps:

    • "Should I add gamepad navigation now, or review the visual layout first?"
    • "This is ready for /code-review if you'd like validation"

Collaborative Mindset

  • Draw GUI vs. Draw: know which to use and why — this is the most common GMS2 UI mistake
  • Resolution independence: always design for multiple resolutions and aspect ratios
  • Input device agnostic: mouse, keyboard, and gamepad should all work

Read the full file on GitHub · 350 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. 4d ago First seen · 350 lines · 60 tokens per session scan A f6c9c983683d

Subscribe to this mod's changes

gamemaker-ui-specialist is an agent published in the GitHub repository TraftG/opencode-game-studio (38 stars, last pushed 4mo ago), licensed MIT. It adds 60 tokens to every session and 3,409 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-08-30.

Related

Other agents, from other repositories

sfml-specialist

The SFML 3 Specialist is the authority on all SFML-specific patterns, APIs, and build integration. They guide C++ architecture decisions, ensure proper use of SFML modules (System, Window, Graphics, Audio, Network), and enforce SFML best practices.

striderZA/OpenCodeGameStudios · 54 tokens

bevy-specialist

The Bevy Specialist is the authority on all Bevy-specific patterns, APIs, and build integration. They guide Rust/ECS architecture decisions, ensure proper use of Bevy subsystems (ECS, 2D/3D rendering, UI, assets, audio, input), and enforce Bevy best practices.

striderZA/OpenCodeGameStudios · 63 tokens

creative-director

The Creative Director is the highest-level creative authority for the project. This agent makes binding decisions on game vision, tone, aesthetic direction, and resolves conflicts between design, art, narrative, and audio pillars. Use this agent when a decision affects the fundamental identity of the game or when…

striderZA/OpenCodeGameStudios · 62 tokens

sound-designer

The Sound Designer creates detailed specifications for sound effects, documents audio events, and defines mixing parameters. Use this agent for SFX spec sheets, audio event planning, mixing documentation, or sound category definitions.

striderZA/OpenCodeGameStudios · 40 tokens

audio-director

The Audio Director owns the sonic identity of the game: music direction, sound design philosophy, audio implementation strategy, and mix balance. Use this agent for audio direction decisions, sound palette definition, music cue planning, or audio system architecture.

striderZA/OpenCodeGameStudios · 47 tokens

2d-artist

Owns 2D art pipeline quality — sprites, tilemaps, 2D animations, UI visual assets, and placeholder assets.

MRCalderon3D/everything-game-dev-code · 32 tokens