asset-audit

asset-audit is a skill for Claude Code from pixel-cellar/Claude-Code-Game-Studios. It costs 0 tokens per session (664 once invoked), scanned A, original, MIT.

A game-asset audit guide that checks files against naming rules, size budgets, formats, pipeline requirements, and code references. An orphaned asset is a file that nothing uses; a missing asset is one the code expects but cannot find.

In plain words
What is it for?
Use it to scan art, audio, effects, shader, and data directories, validate files and references, and produce an audit report.
Why use it?
It helps detect inconsistent, invalid, unused, or missing assets before they cause build or runtime problems.

Skill for Claude Code

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

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/pixel-cellar/claude-code-game-studios/asset-audit
Any agent
npx skills add pixel-cellar/Claude-Code-Game-Studios --skill asset-audit
Clone the repo
git clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-Studios

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 asset-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/asset-audit.svg)](https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/asset-audit)
Your own site
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/asset-audit"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/asset-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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.00000 $0.00664
Opus 5 $0.00000 $0.00332
Sonnet 5 $0.00000 $0.00133
Haiku 4.5 $0.00000 $0.00066

Measured 6d ago against content hash 336a4947fa7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

asset-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 6d 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.

.claude/skills/asset-audit/SKILL.md · 73 lines

What it actually says

---
name: asset-audit
description: "审核游戏资产是否符合命名约定、文件大小预算、格式标准和管线要求。识别孤立项(Orphaned Assets)、缺失引用和标准违规。"
argument-hint: "[category|all]"
user-invocable: true
allowed-tools: Read, Glob, Grep
---

当此技能被调用时:

1. **从相关设计文档和 CLAUDE.md 命名约定中读取美术圣经(Art Bible)或资产标准**。

2. **使用 Glob 扫描目标资产目录**:
   - `assets/art/**/*` — 美术资产
   - `assets/audio/**/*` — 音频资产
   - `assets/vfx/**/*` — 视觉特效(VFX)资产
   - `assets/shaders/**/*` — 着色器(Shader)
   - `assets/data/**/*` — 数据文件

3. **检查命名约定(Naming Conventions)**:
   - 美术:`[category]_[name]_[variant]_[size].[ext]`
   - 音频:`[category]_[context]_[name]_[variant].[ext]`
   - 所有文件必须为小写,使用下划线分隔

4. **检查文件标准**:
   - 纹理(Texture):2 的幂次尺寸(Power-of-two),格式正确(UI 使用 PNG,3D 使用压缩格式),在大小预算内
   - 音频:采样率正确,格式正确(音效使用 OGG,音乐使用 OGG/MP3),在时长限制内
   - 数据:有效的 JSON/YAML,符合 Schema(模式定义)

5. **通过在代码中搜索对每个资产文件的引用,检查孤立项(Orphaned Assets)**。

6. **通过在代码中搜索资产引用并验证文件是否存在,检查缺失资产(Missing Assets)**。

7. **输出审核报告**:

```markdown
# Asset Audit Report -- [Category] -- [Date]

## Summary
- **Total assets scanned**: [N]
- **Naming violations**: [N]
- **Size violations**: [N]
- **Format violations**: [N]
- **Orphaned assets**: [N]
- **Missing assets**: [N]
- **Overall health**: [CLEAN / MINOR ISSUES / NEEDS ATTENTION]

## Naming Violations
| File | Expected Pattern | Issue |
|------|-----------------|-------|

## Size Violations
| File | Budget | Actual | Overage |
|------|--------|--------|---------|

## Format Violations
| File | Expected Format | Actual Format |
|------|----------------|---------------|

## Orphaned Assets (no code references found)
| File | Last Modified | Size | Recommendation |
|------|-------------|------|---------------|

## Missing Assets (referenced but not found)
| Reference Location | Expected Path |
|-------------------|---------------|

## Recommendations
[Prioritized list of fixes]
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. 6d ago First seen · 73 lines · 0 tokens per session scan A 336a4947fa7c

Subscribe to this mod's changes

asset-audit is a skill published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (326 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 664 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-30.

Related

Other skills, from other repositories

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

playtest-report

Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

Donchitos/Claude-Code-Game-Studios · 35 tokens

unity-manual-component

Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.

Besty0728/Unity-Skills · 36 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens