cs2-modding-ui

cs2-modding-ui is a skill for Claude Code from CitiesSkylinesModding/agents-plugins. It costs 99 tokens per session (1,044 once invoked), scanned A, original, MIT.

Instructions for adding panels, buttons and overlays to the Cities: Skylines II interface. The game's interface is a web page built with React, a JavaScript library for user interfaces, and communicates with C# game code through a binding layer.

In plain words
What is it for?
Use it to expose C# data to the interface, call C# code from JavaScript, or extend and replace parts of the game's UI.
Why use it?
The game's frontend differs from ordinary React and web development, so standard component paths and data shapes may fail silently.

Skill for Claude Code

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

Part of the cs2-modding plugin — 4 skills shipped together

Good fit Use it to expose C# data to the interface, call C# code from JavaScript, or extend and replace parts of the game's UI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/citiesskylinesmodding/agents-plugins/cs2-modding-ui
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 cs2-modding-ui
Clone the repo
git clone --depth 1 https://github.com/CitiesSkylinesModding/agents-plugins

Made for: Claude Code.

Or install cs2-modding, the plugin that ships this one along with the rest of its 4 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 cs2-modding-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/citiesskylinesmodding/agents-plugins/cs2-modding-ui"><img src="https://agentmods.dev/badge/skills/citiesskylinesmodding/agents-plugins/cs2-modding-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 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.00099 $0.01044
Opus 5.5 $0.00040 $0.00418
Sonnet 5.5 $0.00020 $0.00209
Haiku 4.5 $0.00010 $0.00104

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

Security

Grade A, and why

cs2-modding-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 15d 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/cs2-modding/skills/cs2-modding-ui/SKILL.md · 41 lines

How it starts

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

Modding the Cities: Skylines II UI

The game's interface is a web page: React components rendered by Coherent Gameface, shipped on disk as one JavaScript bundle beside one stylesheet. A UI mod is a second ES module the page loads and hands the module registry, through which it overrides, extends or appends to the game's own components. Its C# half publishes state and receives calls over the binding layer, where every binding is a group.name path.

Work by the cs2-modding skill's working loop: find how the game's own UI does the thing, in the bundle, before writing. A trap you meet here that this skill misses goes through that skill's trap reports.

Which source answers what

  • The installed bundle, Cities2_Data/Content/Game/UI/index.js with index.css beside it, answers for the whole frontend: the module registry and its paths, the component tree, the formatters, the wire format a binding arrives in. It ships minified to one line, so read the reformatted copy the setup record names; where UI bundle copy is absent or (none), route the user to cs2-modding-setup.
  • The decompile answers only for the C# half: the binding types in Colossal.UI.Binding, and the Game.UI.* systems that register the game's own bindings. A C# grep that finds nothing about a module, an export or a class name settles nothing.
  • The official UI scaffold under the install's .ModdingToolchain answers for the modules a UI mod may import and for the game's TypeScript declarations.

The sibling coherent-gameface plugin tells whether a CSS or JS feature exists in the game's Cohtml version, and drives the live UI over the debugging port cs2-modding-setup's launch options open. It is optional; everything here works without it.

Traps

  • A throw in a mod's registrar skips every registrar after it, other mods' included, and after a UI reload leaves the whole UI unrendered: wrap the registrar's body in try/catch. [symbol: none]
  • getModule throws on an export it cannot resolve, and a throw at a module's top level drops that mod's whole UI with nothing logged: call it inside a try. [symbol: none]
  • A value the scaffold's cs2/* typings declare with a single export compiles and is undefined at runtime: import only the values they declare export export or name in an export { … } list, by its alias there and through the namespace wrapping the list. [symbol: none]
  • A C# answer to a frontend request comes back on the promise of call, from a CallBinding with a result type, rather than through a trigger and a separate value binding. [symbol: Colossal.UI.Binding.CallBinding]
  • A CallBinding result skips the binding writers, so an Entity arrives as {Index, Version}: return a primitive, or a type whose public members are named as the frontend reads them. [symbol: Colossal.UI.Binding.RawCallBindingBase]
  • A GetterValueBinding added with AddBinding keeps its first value until you call its Update(): add it with AddUpdateBinding, and call base.OnUpdate() in any UISystemBase.OnUpdate override. [symbol: Game.UI.UISystemBase]
  • Every UI mod's images share the one coui://ui-mods/ host, so another mod's image at the same path can show in place of yours: give image files names unique to the mod. [symbol: Colossal.UI.DefaultResourceHandler] [symbol: Game.Modding.ModManager]
  • A literal font-size ignores the player's text-scale setting: use the game's --fontSize* tokens, or calc(<n>rem * var(--fontScale)). [symbol: none]

Read the full file on GitHub · 41 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 15d ago Changed · +5 lines ac975ed9e6b5
  2. 18d ago Changed · -13 lines 194c0ff195b8
  3. 19d ago Changed 5fdc51ffcb6a
  4. 2mo ago Changed 2a0cad4633a5
  5. 3mo ago First seen · 49 lines · 99 tokens per session scan A aed1b3d95bd4

Subscribe to this mod's changes

cs2-modding-ui is a skill published in the GitHub repository CitiesSkylinesModding/agents-plugins (10 stars, last pushed 8d ago), licensed MIT. It adds 99 tokens to every session and 1,044 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

cs2-modding-ui compared with skills from other repositories

cs2-modding-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cs2-modding-uiCitiesSkylinesModding/agents-pluginsSkill108d agoMITA99Claude Code
ui-designOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A46Claude Code, Codex
frame-rate-stabilityOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A36Claude Code, Codex
promo-writerbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A33Claude Code
researcherbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A38Claude Code
validate-albumbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A33Claude Code
import-artbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A32Claude Code