controller-ui

controller-ui is a skill for Claude Code, Codex from vucinatim/air-jam. It costs 34 tokens per session (528 once invoked), scanned A, original, MIT.

A set of design and implementation rules for Air Jam controller screens, including touch controls and player lobbies. It keeps these screens focused on gameplay instead of resembling dense web applications.

In plain words
What is it for?
Use it when building or reviewing touch controls, lobby screens, status displays and actions such as joining, leaving or managing a game.
Why use it?
It helps avoid tiny controls, accidental scrolling, unclear actions and duplicated lifecycle buttons.

Skill for Claude CodeCodex

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 skills/vucinatim/air-jam/controller-ui
Any agent
npx skills add vucinatim/air-jam --skill controller-ui
Clone the repo
git clone --depth 1 https://github.com/vucinatim/air-jam

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 controller-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/vucinatim/air-jam/controller-ui.svg)](https://agentmods.dev/skills/vucinatim/air-jam/controller-ui)
Your own site
<a href="https://agentmods.dev/skills/vucinatim/air-jam/controller-ui"><img src="https://agentmods.dev/badge/skills/vucinatim/air-jam/controller-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 528 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.1 $0.00034 $0.00528
Opus 5 $0.00017 $0.00264
Sonnet 5 $0.00007 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 5d ago against content hash c40db533e4dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

controller-ui 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 5d 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.

packages/cli/template-assets/bootstrap/skills/controller-ui/SKILL.md · 70 lines

How it starts

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

Controller UI

Use this skill for controller gameplay and lobby surfaces.

Read First

  1. docs/airjam/generated/controller-ui.md
  2. docs/airjam/visual-system.md
  3. docs/airjam/iconography.md
  4. docs/airjam/composition-shell-contract.md when the controller needs lobby/status/lifecycle shell work

Gameplay Rules

  1. gameplay controller UI should live inside an absolute inset-0 root
  2. avoid scroll during active gameplay
  3. use large touch targets
  4. disable accidental text selection
  5. keep actions obvious and single-purpose

Lobby Rules

  1. keep the flow simple
  2. allow scroll only when it helps
  3. keep the hierarchy sparse
  4. prefer the shared shell contract for top status and lifecycle action placement unless the game has a strong reason to go fully custom

Shell Contract Rule

For controller shell work:

  1. prefer RuntimeShellHeader, LifecycleActionGroup, useControllerShellStatus, useControllerLifecyclePermissions, and useControllerLifecycleIntents for the default composition path
  2. if you need custom markup, keep the same lifecycle behavior and action ordering
  3. do not keep duplicate lifecycle controls in both a top shell and a legacy local panel

Design Direction

  1. build controller UI like a game control surface
  2. avoid card-heavy dashboards
  3. avoid tiny controls and dense text
  4. avoid emoji-as-icon UI
  5. if the template already defines semantic panel, shell, or touch-surface utilities, use those before inventing new visual patterns

Icon Rule

Prefer:

  1. @tabler/icons-react for general UI and system actions
  2. react-icons Gi* exports for gameplay-specific concepts such as abilities, status effects, pickups, and damage types

Do not mix icon packs casually throughout the tree.

Prefer local wrapper modules so icon usage stays curated and replaceable.

Attribution Note

If the project uses react-icons Gi* icons, remember that the underlying Game Icons set has its own attribution requirements.

Downstream teams remain responsible for how they satisfy those requirements.

Read the full file on GitHub · 70 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. 5d ago First seen · 70 lines · 34 tokens per session scan A c40db533e4dc

Subscribe to this mod's changes

controller-ui is a skill published in the GitHub repository vucinatim/air-jam (6 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 528 once invoked, about $0.0002 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.

Related

Other skills, from other repositories