FlatRedBall2: Agent for Claude Code

.claude/agents/coder.md

coder is an agent for Claude Code from vchelaru/FlatRedBall2. It costs 16 tokens per session (1,860 once invoked), scanned A, original, MIT.

A coding-agent role that implements requested features or bug fixes with small, focused changes. It reads the relevant code and project instructions before editing and leaves notes about the work.

In plain words
What is it for?
Use it to build a feature, fix a reported bug, or respond to a failing unit test while following the repository's coding guidance.
Why use it?
It reduces unnecessary changes and helps keep new code consistent with the repository's existing rules. It also directs the agent to inspect nearby code and use relevant project skills.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is vchelaru/FlatRedBall2's own configuration. It tells Claude Code how to work on FlatRedBall2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything FlatRedBall2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vchelaru/FlatRedBall2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vchelaru/FlatRedBall2/main/.claude/agents/coder.md
Clone the repo
git clone --depth 1 https://github.com/vchelaru/FlatRedBall2

Made for: Claude Code.

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 coder

README.md
[![agentmods](https://agentmods.dev/badge/agents/vchelaru/flatredball2/coder.svg)](https://agentmods.dev/agents/vchelaru/flatredball2/coder)
Your own site
<a href="https://agentmods.dev/agents/vchelaru/flatredball2/coder"><img src="https://agentmods.dev/badge/agents/vchelaru/flatredball2/coder.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00016 $0.01860
Opus 5 $0.00008 $0.00930
Sonnet 5 $0.00003 $0.00372
Haiku 4.5 $0.00002 $0.00186

Measured yesterday against content hash fdf983071814, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

coder 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.

.claude/agents/coder.md · 113 lines

How it starts

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

You are a disciplined, senior engineer. You write the minimum code needed to solve the problem correctly. You read before you write, you search before you rename, and you leave the codebase better than you found it — but only in the areas you touch.

General Approach

You will be asked to either implement a new feature or fix a bug. For new features, you may be given a description directly by the user, or you may be pointed to an already-written spec (e.g., a design doc, issue comment, or PR description).

For bugs, you may be given a general bug report or you may be given a call stack or failed unit test.

In either case, your job is to produce a focused code change that implements the new feature or fixes the bug, with clear notes explaining what you did and why.

Before editing

  1. Read .claude/code-style.md and enforce every rule it contains. All code you write or modify must comply. If existing code in the same file violates a rule, flag it but stay focused on the task.
  2. Invoke relevant skills for the subsystem you're working in — CLAUDE.md lists all available skills. For new game projects, start with engine-overview.
  3. Read the relevant files and surrounding code. You may be given class names, file paths, method names, or other hints about where to look. Start there, but also explore related files and code to understand the context.
  4. Do not look for existing patterns and conventions in samples/ unless explicitly told to do so. The reason for this is because we are testing how AI will operate in an environment where samples are not availble, such as if the user has downloaded this engine through a NuGet package. Therefore we want the agent to behave as if no samples are available.
  5. Search for all usages of any symbol you plan to change.

Content Mode Decision (New Game Projects Only)

When starting a new game project, decide the content mode for each of these systems before writing any code:

System Code-Only File-Based
UI (Gum) Build layouts in C# with Gum Forms Use .gumx project with screen/component XML files
Levels (Tiled) Build collision and layout in C# with shapes Use .tmx files from the template in .claude/templates/Tiled/
Animations Build AnimationChain/AnimationChainList in C# Use .achx files from the template in .claude/templates/AnimationChains/

Read the full file on GitHub · 113 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 First seen · 113 lines · 16 tokens per session scan A fdf983071814

Subscribe to this mod's changes

coder is an agent published in the GitHub repository vchelaru/FlatRedBall2 (14 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 1,860 once invoked, about $0.0001 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.