desktop-distribution

desktop-distribution is a skill for Claude Code, Codex from vchelaru/FlatRedBall2. It costs 52 tokens per session (550 once invoked), scanned A, original, MIT.

A desktop game distribution guide for publishing self-contained .NET builds, including the macOS .app folder layout. A self-contained build includes the runtime needed to run without a separate .NET installation.

In plain words
What is it for?
It helps configure per-platform publish profiles, package macOS applications, and create archives whose launch files remain executable.
Why use it?
It prevents builds that work on the developer's machine but fail on a player's computer. It also covers platform-specific file placement and executable permissions.

Skill for Claude CodeCodex

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

Good fit It helps configure per-platform publish profiles, package macOS applications, and create archives whose launch files remain executable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vchelaru/flatredball2/desktop-distribution
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 desktop-distribution
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 desktop-distribution

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vchelaru/flatredball2/desktop-distribution"><img src="https://agentmods.dev/badge/skills/vchelaru/flatredball2/desktop-distribution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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.00052 $0.00550
Opus 5.5 $0.00021 $0.00220
Sonnet 5.5 $0.00010 $0.00110
Haiku 4.5 $0.00005 $0.00055

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

Security

Grade A, and why

desktop-distribution 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 11d 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/desktop-distribution/SKILL.md · 19 lines

How it starts

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

Desktop Distribution

FRB2 ships no publish profiles or packaging targets, so the game project owns them. samples/Solitaire/Solitaire.GumPackage.targets shows the pattern for a game-owned targets file that stays inert unless a property turns it on. For the web head see multiplatform-conversion.

Landmines

  • A framework-dependent publish builds clean but won't launch on a player's machine. Each RID needs its own profile in Properties/PublishProfiles/ (a profile anywhere else is skipped with only a NETSDK1198 warning) that sets RuntimeIdentifier and SelfContained=true. A self-contained artifact's runtimeconfig.json lists includedFrameworks rather than framework. Configuration in a .pubxml is ignored, so pass -c instead (dotnet publish defaults to Release).
  • On macOS, Content/ goes in <App>.app/Contents/Resources/. Once that folder exists (it holds the .icns), MonoGame's TitleContainer and FlatRedBallService.OutputContentRoot read all content from it and never look beside the .dll in Contents/MacOS/.
  • The .app needs Contents/Info.plist whose CFBundleExecutable names the published apphost, or macOS has nothing to launch.
  • Compress-Archive stores no Unix file modes, so a zip made on Windows ships an apphost that macOS and Linux won't execute. Setting mode 0755 through ZipArchiveEntry.ExternalAttributes (the high 16 bits) fixes it. Re-zipping that artifact with Explorer or 7-Zip drops the bit again (macOS reports error -10810), so upload the archive the tooling produced.
  • AfterTargets/BeforeTargets lists are ;-separated. A space-separated list names one nonexistent target, and the hook never runs with no warning.
  • A target runs at most once per build. One target with both BeforeTargets and AfterTargets fires only at the first hook, so a payload step and a post-publish step need two targets.
  • A relative PublishDir resolves against the project directory, while dotnet publish -o resolves against the current directory.

Read the full file on GitHub · 19 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. 11d ago Changed · +52 tokens per session eb2f8b1c0931
  2. 13d ago Changed · +4 lines f50a78db2134
  3. 22d ago First seen · 15 lines · 0 tokens per session scan A 7fb3e9c4bc25

Subscribe to this mod's changes

desktop-distribution is a skill published in the GitHub repository vchelaru/FlatRedBall2 (15 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 550 once invoked, about $0.0002 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-28.

Related

Other skills, from other repositories

scenario-unity-web

Use when a Unity 6.3 game must run in a browser: 'export to WebGL', Web build settings or Build Profiles, gzip or Brotli, Decompression Fallback, server headers, 'Unable to parse .framework.js.br', build too big or slow to load, itch.io, CrazyGames or Poki limits, Addressables or AssetBundles on the Web, 'Could not…

scenario-labs/skills · 136 tokens

scenario-godot-performance-export

Use when a Godot game stutters, drops frames, hitches when entering new areas, overheats a phone, or must ship: profiling and Performance monitors, CPU or GPU bound, draw calls, MultiMesh, occlusion culling, LOD, shader compilation hitches, export to macOS, Windows, Linux, Steam, Android (APK, AAB, keystore), iOS…

scenario-labs/skills · 126 tokens

fivem-deployment

Trigger: server artifacts, FXServer, txAdmin, server.cfg, gamebuild, svenforceGameBuild, update server, deploy, EOL, recommended build. Pick, pin and deploy a supported FXServer build.

germanfndez/fiveai-skills · 51 tokens

godot-prompter-dedicated-server

Imported GodotPrompter guidance for dedicated-server workflows in game development projects. Use when building a headless Godot dedicated server: export, server loop, and deployment.

bgrenat/godot-game-dev-studio · 45 tokens

studio-performance-release-lead

Use when you need to coordinate Godot profiling, optimization, export readiness, platform checks, release checklists, store workflow, and post-launch patch planning.

bgrenat/godot-game-dev-studio · 37 tokens

unity-ugs-cloud

Use when auditing Unity Gaming Services: Authentication, Cloud Code, Economy, Cloud Save, Remote Config, and Unity Connect project linkage.

rachitkumarrastogi/unity-mcp-server · 31 tokens