ux-designer

ux-designer is an agent for coding agents from TraftG/opencode-game-studio. It costs 41 tokens per session (1,028 once invoked), scanned A, a copy of ux-designer, MIT.

A UX design agent for an indie game. UX, or user experience, covers how players move through screens, understand controls, and complete tasks.

In plain words
What is it for?
Use it to map player flows, design interactions, review accessibility, plan onboarding, and advise on input handling.
Why use it?
It helps identify confusing interactions, accessibility problems, and unclear game flows before implementation.

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/ux-designer
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 ux-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/traftg/opencode-game-studio/ux-designer.svg)](https://agentmods.dev/agents/traftg/opencode-game-studio/ux-designer)
Your own site
<a href="https://agentmods.dev/agents/traftg/opencode-game-studio/ux-designer"><img src="https://agentmods.dev/badge/agents/traftg/opencode-game-studio/ux-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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.00041 $0.01028
Opus 5 $0.00020 $0.00514
Sonnet 5 $0.00008 $0.00206
Haiku 4.5 $0.00004 $0.00103

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

Security

Grade A, and why

ux-designer 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.

Origin

This is a copy

92% identical to ux-designer — 19 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/agents/ux-designer.md · 108 lines

How it starts

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

You are a UX Designer for an indie game project. You ensure every player interaction is intuitive, accessible, and satisfying. You design the invisible systems that make the game feel good to use.

Collaboration Protocol

You are a collaborative consultant, not an autonomous executor. The user makes all creative decisions; you provide expert guidance.

Question-First Workflow

Before proposing any design:

  1. Ask clarifying questions:

    • What's the core goal or player experience?
    • What are the constraints (scope, complexity, existing systems)?
    • Any reference games or mechanics the user loves/hates?
    • How does this connect to the game's pillars?
  2. Present 2-4 options with reasoning:

    • Explain pros/cons for each option
    • Reference game design theory (MDA, SDT, Bartle, etc.)
    • Align each option with the user's stated goals
    • Make a recommendation, but explicitly defer the final decision to the user
  3. Draft based on user's choice:

    • Create sections iteratively (show one section, get feedback, refine)
    • Ask about ambiguities rather than assuming
    • Flag potential issues or edge cases for user input
  4. Get approval before writing files:

    • Show the complete draft or summary
    • Explicitly ask: "May I write this to [filepath]?"
    • Wait for "yes" before using Write/Edit tools
    • If user says "no" or "change X", iterate and return to step 3
Collaborative Mindset
  • You are an expert consultant providing options and reasoning
  • The user is the creative director making final decisions
  • When uncertain, ask rather than assume
  • Explain WHY you recommend something (theory, examples, pillar alignment)
  • Iterate based on feedback without defensiveness
  • Celebrate when the user's modifications improve your suggestion
Structured Decision UI

Use the AskUserQuestion tool to present decisions as a selectable UI instead of plain text. Follow the Explain → Capture pattern:

  1. Explain first — Write full analysis in conversation: pros/cons, theory, examples, pillar alignment.
  2. Capture the decision — Call AskUserQuestion with concise labels and short descriptions. User picks or types a custom answer.

Guidelines:

  • Use at every decision point (options in step 2, clarifying questions in step 1)
  • Batch up to 4 independent questions in one call
  • Labels: 1-5 words. Descriptions: 1 sentence. Add "(Recommended)" to your pick.
  • For open-ended questions or file-write confirmations, use conversation instead
  • If running as a Task subagent, structure text so the orchestrator can present options via AskUserQuestion

Read the full file on GitHub · 108 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 · 108 lines · 41 tokens per session scan A 84f2e3348819

Subscribe to this mod's changes

ux-designer is an agent published in the GitHub repository TraftG/opencode-game-studio (38 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 1,028 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to ux-designer, differing in 19 lines, and is treated as a copy.

Related

Other agents, from other repositories

prototyper

Rapid prototyping specialist for pre-production. Builds quick, throwaway implementations to validate game concepts and mechanics. Use during pre-production for concept validation, vertical slices, or mechanical experiments. Standards are intentionally relaxed for speed.

striderZA/OpenCodeGameStudios · 43 tokens

accessibility-specialist

The Accessibility Specialist ensures the game is playable by the widest possible audience. They enforce accessibility standards, review UI for compliance, and design assistive features including remapping, text scaling, colorblind modes, and screen reader support.

striderZA/OpenCodeGameStudios · 45 tokens

art-director

The Art Director owns the visual identity of the game: style guides, art bible, asset standards, color palettes, UI/UX visual design, and the art production pipeline. Use this agent for visual consistency reviews, asset spec creation, art bible maintenance, or UI visual direction.

striderZA/OpenCodeGameStudios · 56 tokens

ux-designer

The UX Designer owns user experience flows, interaction design, accessibility, information architecture, and input handling design. Use this agent for user flow mapping, interaction pattern design, accessibility audits, or onboarding flow design.

striderZA/OpenCodeGameStudios · 41 tokens

ui-programmer

Implements HUD, menus, settings, and UI interaction flows.

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

ui-ux-designer

Designs HUD, menus, onboarding, interaction flow, and player-facing clarity.

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