gameface-driving

gameface-driving is a skill for Claude Code from CitiesSkylinesModding/agents-plugins. It costs 112 tokens per session (3,512 once invoked), scanned A, original, MIT.

An operating guide for controlling a live Gameface interface with game tools. It covers screenshots, connection checks, page identification and common failure handling.

In plain words
What is it for?
Use it before clicking, typing, hovering or debugging in a running Gameface UI, and when verifying that rebuilt UI changes are live.
Why use it?
A live game screen can differ from an ordinary browser, and failed tool calls may indicate that the game has closed or crashed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the coherent-gameface plugin — 2 skills shipped together

Good fit Use it before clicking, typing, hovering or debugging in a running Gameface UI, and when verifying that rebuilt UI changes are live.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/citiesskylinesmodding/agents-plugins/gameface-driving
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.

Any agent
npx skills add CitiesSkylinesModding/agents-plugins --skill gameface-driving
Clone the repo
git clone --depth 1 https://github.com/CitiesSkylinesModding/agents-plugins

Made for: Claude Code.

Or install coherent-gameface, the plugin that ships this one along with the rest of its 2 skills.

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 gameface-driving

README.md
[![agentmods](https://agentmods.dev/badge/skills/citiesskylinesmodding/agents-plugins/gameface-driving/github.svg)](https://agentmods.dev/skills/citiesskylinesmodding/agents-plugins/gameface-driving)
Your own site
<a href="https://agentmods.dev/skills/citiesskylinesmodding/agents-plugins/gameface-driving"><img src="https://agentmods.dev/badge/skills/citiesskylinesmodding/agents-plugins/gameface-driving/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.

agentmods 80×15 button for gameface-driving

Your own site · 80×15
<a href="https://agentmods.dev/skills/citiesskylinesmodding/agents-plugins/gameface-driving"><img src="https://agentmods.dev/badge/skills/citiesskylinesmodding/agents-plugins/gameface-driving.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00112 $0.03512
Opus 5.5 $0.00045 $0.01405
Sonnet 5.5 $0.00022 $0.00702
Haiku 4.5 $0.00011 $0.00351

Measured 17d ago against content hash fa5aeadd0f08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gameface-driving 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 17d 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.

plugins/coherent-gameface/skills/gameface-driving/SKILL.md · 103 lines

How it starts

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

Driving a Gameface UI

This skill records the procedure for the game_* tools: the facts the tool schemas cannot tell you. Facts that may be game-specific are labeled; the reference target is Cities: Skylines II (CS2). For what the engine itself supports (layout, events, missing platform APIs), load the gameface skill; this one stays operational.

Verified against Cohtml 2.2.11.3. A VOLATILE: marker labels a claim the engine version moves, naming what moves and where to re-check it: the claim held on the reference target at the version above.

Session start and triage

Screenshot first and orient before acting: menus, dialogs, or a loading screen change what is safe to click. A capture holds the UI view alone: the application's own rendering never reaches it, and every transparent region comes back flat white, so an expanse of white is the normal backdrop of a HUD rather than a blank or broken UI. Read the application's state from what its UI displays, never from the scene behind it. When any tool fails, run game_status before retrying; it settles whether the endpoint is reachable and which engine and page answered. Read the page identity from target.url (for example assetdb://gameui/index.html). A dead endpoint mid-session usually means the game crashed or was closed. Report it and wait for the developer to relaunch the game; retry-looping cannot help, and testing that was interrupted mid-action may have left the UI in a state worth re-checking with a screenshot once the game is back. No reconnect ritual exists or is needed: the server re-resolves the page target on the next call after the game returns.

Finding elements

game_query is the built-in element search; the schema covers its parameters, so what follows is how to read and use it. Text is the durable anchor where the UI shows it and an attribute selector is the one where it does not; attributes: true on a match reveals which attribute the next query should anchor on. Its three counts cascade: unprunedTotal (what the selector and text filter produced), total (after deepest pruning), and returned (after limit); total above returned means the limit truncated, so narrow the query, while unprunedTotal above total just shows how many ancestors deepest pruned. deepest exists because an element's textContent includes its descendants': a panel and its title button both match the title, and deepest prunes the panel; pass deepest: false when you want the enclosing container (finding a panel by its title), and note a query no text drives — a selector alone, or text: '' — has no such bleed to correct. tag: true handles die on the next tagging call and on any view reload; re-tag rather than reusing a stale handle. When a selector is non-unique but the match order is known, the input tools' index parameter is a lighter alternative to tagging; each tool reports Matches: N so you can tell whether the selector was ambiguous, and an out-of-range index reports the match count so you can correct it. Narrow with game_query, then read the one element you settled on with game_dom. For a predicate no selector can express here (computed state, or picking a parent by what its children are, since :has() throws), scan manually from game_eval: [...document.querySelectorAll('button')].find(el => ...), then tag the node with el.setAttribute('data-probe', '1') and target [data-probe] when you need a unique selector, removing it after. There is no XPath, no TreeWalker, and no innerText to lean on (engine gaps; details in the gameface skill). (VOLATILE: whether each of the three is still absent — a game_eval presence probe of each member against the running target.) The JS query APIs answer a short set of pseudo-classes and throw "Invalid CSS selector" on the rest: combinators, [attr*=], [attr~=], :first-child, :last-child, :only-child, :nth-child(), :root, :hover, :focus, :active, ::before, ::after and :host are what is verified to work on the reference target, and :not(), :has(), :is(), :where(), the of-type family, :nth-last-child(), :empty, :checked, :disabled, :focus-within, :focus-visible, :target, :lang(), :link, :visited and ::placeholder are verified to throw; treat anything in neither list as untested rather than as supported. ::slotted(x), ::part(x) and ::selection do neither — the engine answers them wrongly rather than throwing, so nothing surfaces to tell you — and a slotted or exposed node is reached by its own class or attribute instead (::selection styles selected text and has no query use at all). :host answers off the element rather than off the shadow root's scope, so hostEl.matches(':host') is what identifies a shadow host, while the standard root.querySelectorAll(':host') returns nothing and reads exactly like an absent host. :nth-child() itself takes an integer (2), even, odd, or a bare an step (2n, n); an an+b offset (n+2, -n+3) throws like an unsupported pseudo-class. (VOLATILE: which side of those two lists each construct falls on, and the :nth-child() argument forms — a game_eval document.querySelector probe of each construct against the running target.) Every selector-taking tool names the construct it suspects and a rewrite when it hits the rejection, game_eval and game_debug_evaluate included, falling back to the supported set when it can pin no construct: act on what it names rather than retrying the selector. game_console is the exception, streaming page exceptions as the engine wrote them, so a rejection surfacing there arrives bare.

Read the full file on GitHub · 103 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. 17d ago Changed fa5aeadd0f08
  2. 21d ago Changed bbd9ba47c43d
  3. 2mo ago Changed 4a5b03c651ed
  4. 2mo ago Changed · +8 lines 2e061491712a
  5. 2mo ago Changed · +2 lines f2b485e7a1c6
  6. 3mo ago First seen · 93 lines · 112 tokens per session scan A 32782df1c1e8

Subscribe to this mod's changes

gameface-driving is a skill published in the GitHub repository CitiesSkylinesModding/agents-plugins (10 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 3,512 once invoked, about $0.0004 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-08-31.

Related

gameface-driving compared with skills from other repositories

gameface-driving next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gameface-drivingCitiesSkylinesModding/agents-pluginsSkill10yesterdayMITA112Claude Code
frame-rate-stabilityOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A36Claude Code, Codex
mastering-engineerbitwize-music-studio/claude-ai-music-skillsSkill7285d agoCC0-1.0A34Claude Code
promo-writerbitwize-music-studio/claude-ai-music-skillsSkill7285d agoCC0-1.0A33Claude Code
researcherbitwize-music-studio/claude-ai-music-skillsSkill7285d agoCC0-1.0A38Claude Code
session-startbitwize-music-studio/claude-ai-music-skillsSkill7285d agoCC0-1.0A35Claude Code
sheet-music-publisherbitwize-music-studio/claude-ai-music-skillsSkill7285d agoCC0-1.0A36Claude Code