unity-guide-audit

unity-guide-audit is a skill for Claude Code, Codex from krogh-jacobsen/unity-code-style-guide. It costs 105 tokens per session (3,624 once invoked), scanned A, original, MIT.

A Unity project audit against documented project style and reference guides. Unity is a game-development platform, and an audit checks whether a project follows specified rules.

In plain words
What is it for?
Use it to check naming, class structure, performance-sensitive code, event subscriptions, asset usage, user-interface conventions, folders, and project settings.
Why use it?
It finds convention and configuration violations with evidence instead of giving a general code review or relying on remembered Unity practices.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/krogh-jacobsen/unity-code-style-guide/unity-guide-audit
Any agent
npx skills add krogh-jacobsen/unity-code-style-guide --skill unity-guide-audit
Clone the repo
git clone --depth 1 https://github.com/krogh-jacobsen/unity-code-style-guide

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 unity-guide-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/krogh-jacobsen/unity-code-style-guide/unity-guide-audit.svg)](https://agentmods.dev/skills/krogh-jacobsen/unity-code-style-guide/unity-guide-audit)
Your own site
<a href="https://agentmods.dev/skills/krogh-jacobsen/unity-code-style-guide/unity-guide-audit"><img src="https://agentmods.dev/badge/skills/krogh-jacobsen/unity-code-style-guide/unity-guide-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,624 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 $0.00105 $0.03624
Opus 5 $0.00053 $0.01812
Sonnet 5 $0.00021 $0.00725
Haiku 4.5 $0.00011 $0.00362

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

Security

Grade A, and why

unity-guide-audit 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.

Skills/unity-guide-audit/SKILL.md · 276 lines

How it starts

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

Unity Guide Audit

Check a Unity project against the conventions in this repository and report violations with file, line, and the specific rule broken.

This is a conformance check, not a general code review. If the user wants generic Unity pitfall detection, the unity-project-review skill covers that. This skill answers a narrower question: does this project follow the documented conventions in UnityStyleGuide.md and UnityReferenceGuides/?

Before starting

  1. Locate the guides. Look for UnityStyleGuide.md, AGENTS.md, or UnityReferenceGuides/ in the project root, a parent directory, or a sibling checkout. If none exist, ask the user where they are — do not audit against remembered defaults.
  2. Know which guides exist. UnityReferenceGuides/ currently holds: Performance, Assets & Memory, Design Patterns, Scenes & Lifecycle, UI Toolkit, uGUI, Input System, Animation, Audio, Assembly Definitions, Testing, Editor Tooling, Debugging. Cite the specific one in every finding.
  3. Read the tech stack. UnityCustomInstructions/UnityTechStack.md says which input, UI, and render systems are in use. A uGUI finding is noise in a UI Toolkit project.
  4. Confirm the scope with the user: whole project, one folder, or changes on the current branch.
  5. Establish the naming convention from the guide, not from memory. The prefixes (m_/k_/s_) and their casing are configurable preferences. Read them out of the guide before flagging anything.

Phase 1 — Static analysis (always runs)

Needs no Unity Editor. Works in CI. Scan .cs, .uxml, .uss, .asmdef, and ProjectSettings/*.asset.

Skip Library/, Temp/, obj/, Build/, and any Packages/ cache. Do not report findings inside third-party plugin folders unless the user asks.

Asset integrity (check these first)

These detect damage, not drift. A finding here is a corrupted project, not a style opinion, so it outranks everything below it.

Check How
Duplicate GUIDs Parse guid: from every .meta; any GUID appearing twice is a corrupted project — references resolve non-deterministically
Orphaned .meta A .meta with no matching asset beside it
Missing .meta An asset under Assets/ with no .meta (excluding ignored folders)
Malformed .meta Missing guid:, or a GUID that isn't 32 hex characters
Unsafe field rename In a diff: a serialized field renamed with no [FormerlySerializedAs] on it
Enum renumbering In a diff: members of a serialized enum reordered or given new explicit values
Unpaired asset editing AssetDatabase.StartAssetEditing() without StopAssetEditing() in a finally
Committed generated data Library/, Temp/, obj/, Logs/, UserSettings/ tracked in git

Read the full file on GitHub · 276 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 · 276 lines · 105 tokens per session scan A b7b16ef8712b

Subscribe to this mod's changes

unity-guide-audit is a skill published in the GitHub repository krogh-jacobsen/unity-code-style-guide (20 stars, last pushed 6d ago), licensed MIT. It adds 105 tokens to every session and 3,624 once invoked, about $0.0005 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-08-30.