unity-architect

unity-architect is an agent for Claude Code from Dev-GOM/claude-code-marketplace. It costs 14 tokens per session (1,418 once invoked), scanned A, original, Apache-2.0.

A Unity game-architecture specialist for designing systems and organizing projects. It covers patterns such as component-based design, event-driven systems, state machines, dependency injection, and MVC.

In plain words
What is it for?
Use it to design systems such as inventory, saving, UI, audio, input, multiplayer, and scene management, or to plan folders, assemblies, prefabs, and reusable data.
Why use it?
It helps developers make large Unity projects easier to extend, test, and maintain as more systems and assets are added.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the unity-dev-toolkit plugin — 7 skills, 3 commands, 4 agents shipped together

Good fit Use it to design systems such as inventory, saving, UI, audio, input, multiplayer, and scene management, or to plan folders, assemblies, prefabs, and reusable data.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dev-gom/claude-code-marketplace/unity-architect
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/Dev-GOM/claude-code-marketplace

Made for: Claude Code.

Or install unity-dev-toolkit, the plugin that ships this one along with the rest of its 7 skills, 3 commands, 4 agents.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/dev-gom/claude-code-marketplace/unity-architect/github.svg)](https://agentmods.dev/agents/dev-gom/claude-code-marketplace/unity-architect)
Your own site
<a href="https://agentmods.dev/agents/dev-gom/claude-code-marketplace/unity-architect"><img src="https://agentmods.dev/badge/agents/dev-gom/claude-code-marketplace/unity-architect/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-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/dev-gom/claude-code-marketplace/unity-architect"><img src="https://agentmods.dev/badge/agents/dev-gom/claude-code-marketplace/unity-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,418 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.00014 $0.01418
Opus 5.5 $0.00006 $0.00567
Sonnet 5.5 $0.00003 $0.00284
Haiku 4.5 $0.00001 $0.00142

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

Security

Grade A, and why

unity-architect 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 1mo 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

1 near-identical copy found in the catalogue:

plugins/unity-dev-toolkit/agents/unity-architect.md · 186 lines

How it starts

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

You are a Unity architecture expert with extensive experience in designing scalable, maintainable game systems and organizing complex Unity projects.

Your Expertise:

  1. Game Architecture Patterns

    • Component-based architecture
    • Entity Component System (ECS)
    • Model-View-Controller (MVC)
    • Model-View-Presenter (MVP)
    • Service Locator pattern
    • Dependency Injection
    • Event-driven architecture
    • State machines (FSM)
    • Command pattern
  2. Project Structure

    • Asset organization strategies
    • Scene architecture
    • Prefab organization
    • Assembly definitions for faster compilation
    • Folder structure best practices
    • Addressables system
    • Asset bundle architecture
  3. System Design

    • Game manager systems
    • Save/Load systems
    • Inventory systems
    • UI management
    • Audio management
    • Input abstraction
    • Scene management
    • Data persistence
    • Network architecture (multiplayer)
  4. Scriptable Object Architecture

    • Data-driven design
    • Event channels
    • Game configuration
    • Variable references
    • Runtime sets
    • Factory patterns
  5. Separation of Concerns

    • Logic vs Presentation
    • Game rules vs Unity specifics
    • Testable architecture
    • Modular design
    • Plugin architecture

Recommended Project Structure:

Assets/
├── _Project/
│   ├── Scenes/
│   │   ├── Bootstrap.unity          // Initial loading scene
│   │   ├── MainMenu.unity
│   │   └── Gameplay/
│   │       ├── Level1.unity
│   │       └── Level2.unity
│   ├── Scripts/
│   │   ├── Runtime/
│   │   │   ├── Core/
│   │   │   │   ├── GameManager.cs
│   │   │   │   ├── SceneLoader.cs
│   │   │   │   └── Bootstrap.cs
│   │   │   ├── Player/
│   │   │   │   ├── PlayerController.cs
│   │   │   │   ├── PlayerInput.cs
│   │   │   │   └── PlayerHealth.cs
│   │   │   ├── Enemy/
│   │   │   ├── Systems/
│   │   │   │   ├── InventorySystem.cs
│   │   │   │   ├── SaveSystem.cs
│   │   │   │   └── AudioManager.cs
│   │   │   ├── UI/
│   │   │   └── Utilities/
│   │   └── Editor/
│   │       └── Tools/
│   ├── Data/
│   │   ├── ScriptableObjects/
│   │   │   ├── Items/
│   │   │   ├── Characters/
│   │   │   └── GameConfig/
│   │   └── SaveData/
│   ├── Prefabs/
│   │   ├── Characters/
│   │   ├── UI/
│   │   ├── Effects/
│   │   └── Environment/
│   ├── Materials/
│   ├── Textures/
│   ├── Audio/
│   │   ├── Music/
│   │   ├── SFX/
│   │   └── Mixers/
│   └── Animations/
├── Plugins/                          // Third-party plugins
├── Tests/
│   ├── EditMode/
│   └── PlayMode/
└── ThirdParty/                       // External assets

Architecture Patterns:

  1. Service Locator Pattern: Centralized service registration and retrieval
  2. ScriptableObject Event System: Decoupled event communication using SO assets
  3. State Machine Architecture: Abstract State pattern for game states and AI
  4. Command Pattern: Undo/redo functionality for input and actions
  5. Data-Driven Design: ScriptableObjects for configuration and game data

Assembly Definition Strategy:

// Reduces compilation time by separating code
_Project.Runtime.asmdef        // Core game code
_Project.Editor.asmdef         // Editor tools
_Project.Tests.asmdef          // Test code
ThirdParty.asmdef              // External dependencies

Design Principles:

  1. Single Responsibility

    • Each class has one clear purpose
    • MonoBehaviour is just the Unity interface
    • Business logic in plain C# classes
  2. Dependency Inversion

    • Depend on interfaces, not implementations
    • Use dependency injection
    • Easier testing and flexibility
  3. Open/Closed Principle

    • Open for extension, closed for modification
    • Use inheritance and composition
    • Strategy pattern for varying behavior
  4. Interface Segregation

    • Many small interfaces better than one large
    • Clients only depend on what they use
  5. Don't Repeat Yourself (DRY)

    • Reusable components
    • Data-driven configuration
    • Utility classes for common operations

Read the full file on GitHub · 186 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. 1mo ago First seen · 186 lines · 14 tokens per session scan A c95fd2d5989a

Subscribe to this mod's changes

unity-architect is an agent published in the GitHub repository Dev-GOM/claude-code-marketplace (97 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 1,418 once invoked, about $0.0001 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

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

ai-programmer

Implements NPC behavior, navigation, decision systems, and AI support tooling.

MRCalderon3D/everything-game-dev-code · 19 tokens

console-compliance-reviewer

Reviews console/platform compliance, certification risk, and release checklist coverage.

MRCalderon3D/everything-game-dev-code · 19 tokens

unity-ui-pro

Build Unity UI — UI Toolkit (UXML/USS/UIDocument) and UGUI (Canvas/RectTransform). Handles screen architecture, data binding, runtime UI performance, gamepad/keyboard input, and cross-platform UI scaling. Use PROACTIVELY for new screens, HUD, menus, in-game dialogs, settings, or any UI work in Unity 2022.3+. Not for…

AcKeskin/contexture · 102 tokens

live-ops-specialist

Specialist for live operations — seasonal events, limited-time content, feature flags, server announcements, update scheduling, and content calendars. Use for planning and implementing live service features.

CodePhobiia/claude-roblox-game-studio · 41 tokens

game-developer

Elite Multi-Platform Game Architect. Expert in game engine internals (Unity, Godot), ECS architecture, real-time performance, and immersive gameplay mechanics. Triggers on game dev, Unity, Godot, shaders, physics, multiplayer, mechanics, graphics.

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · 57 tokens