multiplatform-conversion

multiplatform-conversion is a skill for Claude Code, Codex from vchelaru/FlatRedBall2. It costs 97 tokens per session (5,899 once invoked), scanned A, original, MIT.

A conversion guide for turning a FlatRedBall2 desktop game sample into a desktop-and-browser project. Browser support uses WebAssembly, a way to run compiled code in a web page, through KNI BlazorGL.

In plain words
What is it for?
Use it when adding web, browser, WebAssembly, or itch.io support to an existing FlatRedBall2 game.
Why use it?
It explains how to connect the correct desktop or browser project and package, avoiding build races and backend wiring mistakes during a port.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding web, browser, WebAssembly, or itch.io support to an existing FlatRedBall2 game.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vchelaru/flatredball2/multiplatform-conversion
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 vchelaru/FlatRedBall2 --skill multiplatform-conversion
Clone the repo
git clone --depth 1 https://github.com/vchelaru/FlatRedBall2

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 multiplatform-conversion

README.md
[![agentmods](https://agentmods.dev/badge/skills/vchelaru/flatredball2/multiplatform-conversion/github.svg)](https://agentmods.dev/skills/vchelaru/flatredball2/multiplatform-conversion)
Your own site
<a href="https://agentmods.dev/skills/vchelaru/flatredball2/multiplatform-conversion"><img src="https://agentmods.dev/badge/skills/vchelaru/flatredball2/multiplatform-conversion/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 multiplatform-conversion

Your own site · 80×15
<a href="https://agentmods.dev/skills/vchelaru/flatredball2/multiplatform-conversion"><img src="https://agentmods.dev/badge/skills/vchelaru/flatredball2/multiplatform-conversion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,899 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.05899
Opus 5.5 $0.00039 $0.02360
Sonnet 5.5 $0.00019 $0.01180
Haiku 4.5 $0.00010 $0.00590

Measured yesterday against content hash 025d3461a9ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

multiplatform-conversion 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 yesterday.

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.

frb-skills/multiplatform-conversion/SKILL.md · 247 lines

How it starts

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

Multi-Platform (Desktop + KNI BlazorGL)

References: templates/frb2-multiplatform/ (minimal — proves the wiring, not the content story) and samples/PlatformKing/ (content-rich — TMX, JSON, PNG animations). Read PlatformKing first when porting any non-trivial game.

One engine, one Common

Both heads run on KNI and reference the same engine (src/FlatRedBall2.csproj / NuGet FlatRedBall2.Kni). There is no backend switch: Game1 and all game code are shared verbatim, and branch at runtime on OperatingSystem.IsBrowser() only where a browser genuinely differs.

Project layout

Projects, mirroring templates/frb2-multiplatform/:

GameName/
  GameName.Common/            net10.0   game code + Content/, one csproj, default globbing
  GameName.Desktop/           net10.0   Program.cs, KNI SDL2.GL
  GameName.BlazorGL/          net10.0   Blazor WASM host
  GameName.slnx

The Game subclass (Game1) lives in Common so both heads instantiate the same type. Heads own only their entry points and platform-specific csproj wiring.

Asset placement

Assets belong in Common/Content/ by default. Only move to platform-specific folders if they won't work elsewhere (e.g., platform-specific UI sizes, backend-incompatible shader variants). Most art, audio, and data stay in Common/ so both Desktop and BlazorGL draw from a single source — no duplication.

Common

One GameName.Common.csproj: net10.0, default compile items, the nkast.Xna.Framework* packages the game code uses, and a ProjectReference (or FlatRedBall2.Kni package) to the engine. Both heads reference it. See samples/PlatformKing/PlatformKing.Common/ (minimal) and samples/Solitaire/Solitaire.Common/ (Gum content items).

Desktop head: <KniPlatform>DesktopGL</KniPlatform> plus nkast.Xna.Framework* and nkast.Kni.Platform.SDL2.GL. BlazorGL head: <KniPlatform>BlazorGL</KniPlatform> plus nkast.Kni.Platform.Blazor.GL (below).

Landmine: list every ProjectReference target as its own <Project Path> in the .slnx. Visual Studio's IDE-hosted NuGet restore only walks ProjectReferences among projects that are themselves listed as solution members — a project that exists on disk and is correctly referenced but missing from the .slnx builds fine via dotnet build/CLI msbuild (both walk the full reference closure regardless of solution membership) but fails with NU1105 ("not part of the current solution") the moment someone opens the .slnx in Visual Studio. So list the engine projects (FlatRedBall2.Kni, AnimationChain.Common, and FlatRedBall2.BlazorGL for a BlazorGL head) alongside the game's own. tests/FlatRedBall2.Tests/Packaging/SolutionMembershipTests.cs checks this for every .slnx in this repo; there's no equivalent check for a downstream game project, so verify it by hand when scaffolding one.

Read the full file on GitHub · 247 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. yesterday Changed · -14 lines · -7 tokens per session 025d3461a9ca
  2. 4d ago Changed · +1 lines fe0022ce2949
  3. 7d ago Changed · +6 lines 91154f46f545
  4. 13d ago Changed · +44 lines · +16 tokens per session c64c61dad26f
  5. 1mo ago Changed · +2 lines b187e2571b5c
  6. 1mo ago First seen · 208 lines · 88 tokens per session scan A b9b1437e31f0

Subscribe to this mod's changes

multiplatform-conversion is a skill published in the GitHub repository vchelaru/FlatRedBall2 (15 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 5,899 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-09-04.

Related

Other skills, from other repositories

scenario-walkable-room

Use when one interior photo, uploaded or generated on Scenario, should become a room a visitor walks into in a web browser and plays with: props lifted out of the photo and rebuilt as 3D objects to grab, throw, and hear land, inside a Gaussian splat world, or restyled variants of one room. Keywords: image-blaster…

scenario-labs/skills · 113 tokens

browser-a2d9b0b0

A browser gamepad skill for detecting connected controllers and reading their buttons and analogue sticks.

FuRongJun-1999/dsh-memory · 75 tokens

game-dev

Build, extend, and verify playable browser games, optionally using SandBase for generated concept art and game assets. Use for substantial 2D or 3D web-game work; use a general frontend workflow for non-game interactive sites.

sandbaseai/sandbase-skills · 50 tokens

3d-browser-game

Build a complete Three.js game or bounded production phase through mechanics experiments, Blender assets, QA and independent playtests.

DanMcInerney/orchflows · 28 tokens

agent-casino-gambling

Interact with MoltCasino - a 3D Vegas-style casino built for AI agents.

rondoflow/rondoflow · 24 tokens

bg3-steam-launcher

Launch Baldur's Gate 3 through Steam on macOS and load saved games using macos-automator and peekaboo MCP servers. Designed for testing bg3se-macos (Script Extender) development. Use when: (1) launching BG3 from Steam, (2) loading a BG3 saved game, (3) testing SE mod injection, (4) user asks to "start BG3", "load my…

tdimino/bg3se-macos · 129 tokens