multiplatform-conversion

multiplatform-conversion is a skill for Claude Code, Codex from vchelaru/FlatRedBall2. It costs 97 tokens per session (6,200 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 6,200 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.06200
Opus 5.5 $0.00039 $0.02480
Sonnet 5.5 $0.00019 $0.01240
Haiku 4.5 $0.00010 $0.00620

Measured 4d ago against content hash 2b29cab49512, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 252 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 · 252 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 Changed 2b29cab49512
  2. 6d ago Changed · +5 lines 537cc8b4c52f
  3. 1mo ago Changed · -14 lines · -7 tokens per session 025d3461a9ca
  4. 1mo ago Changed · +1 lines fe0022ce2949
  5. 1mo ago Changed · +6 lines 91154f46f545
  6. 1mo ago Changed · +44 lines · +16 tokens per session c64c61dad26f
  7. 2mo ago Changed · +2 lines b187e2571b5c
  8. 3mo 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 (17 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 6,200 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

multiplatform-conversion compared with skills from other repositories

multiplatform-conversion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multiplatform-conversionvchelaru/FlatRedBall2Skill17todayMITA97Claude Code, Codex
scenario-walkable-roomscenario-labs/skillsSkill4.8ktodayMITA113Claude Code
browser-a2d9b0b0FuRongJun-1999/dsh-memorySkill778todayMITA75Claude Code
game-devsandbaseai/sandbase-skillsSkill21212d agoApache-2.0A50Claude Code
webg-spec-to-goalnathanonn/agent-skillsSkill232d agoMITA201Claude Code
3d-browser-gameDanMcInerney/orchflowsSkill12713d agoMITA28Claude Code, Codex
agent-casino-gamblingrondoflow/rondoflowSkill374d agoMITA24Claude Code, Codex