content-and-assets

content-and-assets is a skill for Claude Code, Codex from vchelaru/FlatRedBall2. It costs 59 tokens per session (1,590 once invoked), scanned A, original, MIT.

A guide to loading and displaying content in FlatRedBall2, including textures, fonts, sprites, shapes, and Gum user-interface elements. It distinguishes simple geometry from graphics that need content files.

In plain words
What is it for?
It is for adding sprites and textures, loading content, displaying labels and fonts, and creating simple graphics with shapes.
Why use it?
It helps developers choose the right way to show game objects, text, and interface elements without unnecessary asset setup.

Skill for Claude CodeCodex

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

Good fit It is for adding sprites and textures, loading content, displaying labels and fonts, and creating simple graphics with shapes.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vchelaru/flatredball2/content-and-assets"><img src="https://agentmods.dev/badge/skills/vchelaru/flatredball2/content-and-assets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,590 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.00059 $0.01590
Opus 5 $0.00030 $0.00795
Sonnet 5 $0.00012 $0.00318
Haiku 4.5 $0.00006 $0.00159

Measured 4d ago against content hash 3e281446da37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

content-and-assets 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/content-and-assets/SKILL.md · 167 lines

How it starts

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

Content and Assets in FlatRedBall2

Decision: Shapes, Sprites, or Gum?

Need Use Content files required?
Simple geometry (paddles, walls, bullets) Shapes (AARect, Circle, Polygon) No
Textured game objects (ships, characters) Sprite with Texture2D Yes (.mgcb pipeline)
On-screen text (scores, labels, menus) Gum Label or TextRuntime No (default font auto-loaded)

Text / Fonts — Use Gum Labels

Gum's default font is loaded automatically — no .mgcb setup required. See the gum-integration skill for Label examples and full layout details.

Graphics Without Art — Use Shapes

Shapes require no content files and are ready to use immediately.

var rect = new AARect { Width = 20, Height = 120, Color = Color.White, IsVisible = true };
Add(rect);

See the shapes skill for all shape types and visual properties.

Sprites and Textures

Load textures via MonoGame's content pipeline and render them with Sprite.

Loading a Texture

// Compiled xnb pipeline — bare asset name (no extension, as defined in the .mgcb):
var texture = Engine.Content.Load<Texture2D>("ship_0001");

// Raw PNG from disk — full path with extension. Participates in PNG hot-reload
// via Engine.Content.TryReload(path). See the content-hot-reload skill.
var bear = Engine.Content.Load<Texture2D>("Content/Bear.png");

Load<Texture2D> routes on the presence of a file extension:

  • Bare name → MonoGame's xnb pipeline (requires a .mgcb entry). Not hot-reloadable.
  • Path with extension → loaded directly from disk via Texture2D.FromFile, tracked for hot-reload. Requires the file to be copied to the build output (see Content Pipeline Setup below or use a <Content Include="Content/*.png" CopyToOutputDirectory="PreserveNewest" /> item).

Creating a Sprite

var sprite = new Sprite
{
    Texture = texture,
    TextureScale = 1.5f,   // 1.5x the texture's pixel size
    IsVisible = true,
};
Add(sprite);

Read the full file on GitHub · 167 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 First seen · 167 lines · 59 tokens per session scan A 3e281446da37

Subscribe to this mod's changes

content-and-assets is a skill published in the GitHub repository vchelaru/FlatRedBall2 (14 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,590 once invoked, about $0.0003 per session on Opus 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.