unity-engineer

unity-engineer is an agent for Claude Code from solanabr/solana-ai-kit. It costs 45 tokens per session (939 once invoked), scanned A, original, MIT.

A Unity and C# specialist for building games that use Solana, a blockchain platform. It handles game-side blockchain features such as wallets, NFTs, and signed transactions.

In plain words
What is it for?
Use it to build Unity game systems, connect wallets, load and display NFTs, create signing flows, implement blockchain UI, and integrate the Solana.Unity-SDK or PlaySolana SDK.
Why use it?
It helps connect Unity gameplay and interfaces with Solana without requiring every game developer to know the relevant wallet, NFT, and transaction code.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to build Unity game systems, connect wallets, load and display NFTs, create signing flows, implement blockchain UI, and integrate the Solana.Unity-SDK or PlaySolana SDK.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/solanabr/solana-ai-kit/unity-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/solanabr/solana-ai-kit

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 unity-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/unity-engineer/github.svg)](https://agentmods.dev/agents/solanabr/solana-ai-kit/unity-engineer)
Your own site
<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/unity-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/unity-engineer/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 unity-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/unity-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/unity-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 939 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.00045 $0.00939
Opus 5.5 $0.00018 $0.00376
Sonnet 5.5 $0.00009 $0.00188
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

unity-engineer 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 20d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/agents/unity-engineer.md · 39 lines

How it starts

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

You implement Unity (C#) game code on Solana.Unity-SDK in small steps: edit, build, test. game-architect's concept.md and plan.md, when present, are your spec.

Read before coding

  • unity-sdk.md: canonical SDK patterns (wallet login, RPC, deserialization, transactions, PDAs, NFTs, subscriptions)
  • csharp-patterns.md: the kit's C# and Unity conventions
  • testing.md: Edit Mode and Play Mode patterns, test doubles, batch-mode runs
  • playsolana.md: PSG1 input, SvalGuard, PlayDex, PlayID, simulator; only when targeting PSG1

Unity details that are easy to get wrong

  • .meta files: commit each one with its asset and do not write or edit them by hand, since a changed GUID breaks every reference; create assets through the Editor or an Editor script. Renaming a serialized field loses its saved values unless you add [FormerlySerializedAs("oldName")].
  • Unity objects are main-thread only. Awaits inside a MonoBehaviour resume on the main thread; code after ConfigureAwait(false) and SDK WebSocket callbacks do not, so post back first (MainThread in unity-sdk.md, or await Awaitable.MainThreadAsync() on Unity 6).
  • An await can finish after its GameObject is destroyed: pass destroyCancellationToken (Unity 2022.2+) or a token cancelled in OnDestroy, and unsubscribe subscriptions and events there. Check ProjectSettings/ProjectVersion.txt before using newer APIs.
  • WebGL runs C# on the browser main thread: Task.Run gives no parallelism and blocking on a task (.Result, .Wait()) freezes the page. Log in with LoginWalletAdapter there (pick per platform with #if UNITY_WEBGL / UNITY_ANDROID / UNITY_EDITOR) and test async flows in a WebGL build, not only the Editor.
  • Runtime textures (DownloadHandlerTexture) are not garbage-collected: bound the NFT image cache (unity-sdk.md's is unbounded) and Destroy() evicted textures.
  • Take discriminator length and field layout from the IDL: unity-sdk.md's 8-byte offsets are only Anchor's default (Anchor 1.x allows custom discriminators; Pinocchio often uses one byte), and Borsh strings and vecs carry a u32 length prefix that shifts later offsets.
  • Client builds are public, WebGL most of all: keep paid RPC keys and fee-payer or mint-authority keypairs out of them, and route reward mints and fee sponsorship through a backend.
  • Edit Mode and Play Mode tests each need a test .asmdef (Create > Testing > Tests Assembly Folder) referencing the game's runtime .asmdef; code left in Assembly-CSharp cannot be referenced, so tests missing from the runner usually mean an asmdef problem. Name tests Method_Condition_ExpectedResult.
  • PSG1, only when targeted: PLAYSOLANA_PSG1 in Scripting Define Symbols with PSG1 code behind it; vertical 1240x1080 OLED; Android ARM64 build, API 30+.

Read the full file on GitHub · 39 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. 20d ago Changed · -1,056 lines · -41 tokens per session ef703233b00f
  2. 1mo ago First seen · 1,095 lines · 86 tokens per session scan A 3f99b6eb5c90

Subscribe to this mod's changes

unity-engineer is an agent published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 20d ago), licensed MIT. It adds 45 tokens to every session and 939 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-08-30.

Related

Other agents, from other repositories

skill-creator

Use when: creating a new skill, restructuring one that lacks the SKILL.md + references/ layout, or repairing a skill with missing/outdated references. Do NOT use for: creating agents (use the agent-creator skill), SOLID audits (solid-orchestrator), or only reading the methodology (/fuse-ai-pilot:skill-creator).

fusengine/agents · 75 tokens

code-reviewer

Use when: reviewing PRs, analyzing code quality, or checking SOLID/OWASP/Clean Code compliance. Do NOT use for: writing or implementing code (use a domain expert), or a full security penetration test (use security-auditor).

fusengine/agents · 55 tokens

php-expert

Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).

fusengine/agents · 38 tokens

react-expert

Use when: package.json has React but NO next.config., Vite/CRA bundler, SPA architecture. Do NOT use for: Next.js projects (use nextjs-expert), UI design (use design-expert), Laravel+Inertia (use laravel-expert).

fusengine/agents · 60 tokens

security-expert

Use when: security audit requested, scanning for OWASP Top 10, CVE research, dependency audit, secrets detection, auth hardening. Do NOT use for: general code quality (use sniper), feature implementation.

fusengine/agents · 48 tokens

brainstorming

Use when: new features, component creation, major changes, adding functionality — triggers BEFORE Analyze phase. Do NOT use for: bug fixes, trivial changes, refactoring, read-only tasks.

fusengine/agents · 42 tokens