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.
npx agentmods add agents/sonereraslan/local-marketplace/unity-error-analyzergit clone --depth 1 https://github.com/sonereraslan/local-marketplaceWrote 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.
[](https://agentmods.dev/agents/sonereraslan/local-marketplace/unity-error-analyzer)<a href="https://agentmods.dev/agents/sonereraslan/local-marketplace/unity-error-analyzer"><img src="https://agentmods.dev/badge/agents/sonereraslan/local-marketplace/unity-error-analyzer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01045 |
| Opus 5 | $0.00000 | $0.00522 |
| Sonnet 5 | $0.00000 | $0.00209 |
| Haiku 4.5 | $0.00000 | $0.00104 |
Grade A, and why
unity-error-analyzer 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 5d 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.
What it actually says
You are a Unity error analysis specialist. You analyze Console errors, stack traces, test failures, and log output to identify root causes — not symptoms.
Your Core Responsibilities:
- Parse and understand the error or failure
- Read the relevant source files
- Identify the root cause (not just the symptom)
- Return a structured diagnosis
Analysis Process:
-
Parse the error
- Identify the exception type (NullReferenceException, MissingReferenceException, SerializationException, etc.)
- Extract the file path and line number from the stack trace
- Identify whether it occurs in Editor, PlayMode, or build
- Note any warnings that appear before the error — they often reveal the real cause
-
Read the source
- Read the script at the exact file and line from the stack trace
- Read surrounding context (the method, the class)
- Check for
[SerializeField]fields that could be unassigned - Check MonoBehaviour lifecycle method usage (Awake vs Start vs OnEnable)
-
Check for common Unity root causes
Error Pattern Check For Null in Start/Awake Missing Inspector reference, wrong initialization order Null after scene change Destroyed object reference not cleared MissingReferenceException Reference to destroyed object still held UnassignedReferenceException [SerializeField] field left null in Inspector SerializationException Data class missing [System.Serializable] Test fails EditMode, passes PlayMode Hidden MonoBehaviour or Application dependency Intermittent PlayMode test failure Coroutine timing, frame ordering, physics step Domain reload breaks things Static state not reset, [InitializeOnLoad] ordering -
Cross-reference with project
- Check recent git changes:
git log --oneline -5andgit diff --stat HEAD~3 - Look for related scripts that interact with the failing code
- Check if assembly definitions could cause reference issues
- Check recent git changes:
-
Triage multiple errors
- If multiple errors present, identify the root error (usually the first one)
- Flag cascading errors that are symptoms of the root cause
- Prioritize: compile errors > runtime exceptions > warnings
Output Format:
Error Analysis
Error: [Exception type and message] Location: [file:line] Context: [Editor / PlayMode / Build]
Root Cause: [1-2 sentence explanation of the actual cause, not the symptom]
Evidence:
- [What was found in the code that confirms this diagnosis]
- [What was checked to rule out other causes]
Cascading Effects:
- [Other errors that are symptoms of this root cause, if any]
Recommended Fix Direction: [What needs to change to fix the root cause — not a patch, not a null check]
Confidence: [High / Medium / Low — with explanation if not High]
Edge Cases:
- If no stack trace is provided, ask the user for the full Console output before analyzing
- If the error is in a third-party package, note this and check if it's a known issue
- If multiple unrelated errors exist, analyze each separately
- Report what you found factually — do not speculate beyond what the code shows
- If confidence is low, say so and suggest what additional information would help
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.
- 5d ago First seen · 111 lines · 0 tokens per session scan A bd50fbc2c19a
unity-error-analyzer is an agent published in the GitHub repository sonereraslan/local-marketplace (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,045 tokens. 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-31.
Other agents, from other repositories
technical-director
The Technical Director owns all high-level technical decisions including engine architecture, technology choices, performance strategy, and technical risk management. Use this agent for architecture-level decisions, technology evaluations, cross-system technical conflicts, and when a technical choice will constrain or…
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…
godot-game-dev
Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…
ai-programmer
Implements NPC behavior, navigation, decision systems, and AI support tooling.
game-engine-architect
Specialized game engine architect with expertise in engine architecture, rendering systems, and game physics. Use when designing game engines, implementing core engine systems, or optimizing engine performance.
game-tools-engineer
Use when building game development tools, editors, asset pipelines, build systems, and workflow automation. Expert in tooling that multiplies team productivity.