Agent skill

Hz Unity Project Analyzer

by meta-quest in meta-quest/agentic-tools

Analyzes, documents, and maintains a living .agent-docs/ knowledge base for Unity projects targeting Meta VR and Horizon OS.

Apache-2.0Auto-check passedGame Development

Install Hz Unity Project Analyzer

skills CLI
$ npx skills add meta-quest/agentic-tools --skill hz-unity-project-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install meta-quest/agentic-tools hz-unity-project-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/meta-quest/agentic-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hz-unity-project-analyzer .claude/skills/hz-unity-project-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hz-unity-project-analyzer
GitHub stars
215
Token cost
~2.4k tokens
SKILL.md length
1,118 words
Files
1
Skills in repo
34
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyzes, documents, and maintains a living .agent-docs/ knowledge base for Unity projects targeting Meta VR and Horizon OS.

  • Works in 5 steps: Gather Project Overview → Ask Clarifying Questions → Analyze and Document → …
  • The user asks to scan project structure
  • SKILL.md covers Modes of Operation, Instructions for Full Scan…, Instructions for Incremental… and Instructions for Ingestion…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hz Unity Project Analyzer is an agent skill from meta-quest/agentic-tools. Analyzes, documents, and maintains a living .agent-docs/ knowledge base for Unity projects targeting Meta VR and Horizon OS. Use when the user asks to scan project structure, explain how a Unity system works, or update project docs after structural changes.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Knowledge bases. The repository describes itself as: Agent Skills for Meta Quest/Horizon OS VR Development. The licence is Apache-2.0.

When your agent uses it

  • The user asks to scan project structure
  • Explain how a Unity system works
  • Update project docs after structural changes

Example prompts

  • “/hz-unity-project-analyzer”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Gather Project Overview
  2. Ask Clarifying Questions
  3. Analyze and Document
  4. Build the Index
  5. Create Config

What it can do on your machine

Read from SKILL.md and the folder at commit 3a8553d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and mermaid).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hz Unity Project Analyzer loads about 2.4k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 1,118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from meta-quest/agentic-tools at commit 3a8553d, republished under its Apache-2.0 licence (© meta-quest). 1,118 words, ~2,424 tokens.

Download SKILL.mdSave it as .claude/skills/hz-unity-project-analyzer/SKILL.md (or your agent's skills folder).
name
hz-unity-project-analyzer
description
Analyzes, documents, and maintains a living `.agent-docs/` knowledge base for Unity projects targeting Meta VR and Horizon OS. Use when the user asks to scan project structure, explain how a Unity system works, or update project docs after structural changes.
license
Apache-2.0

Unity Project Analyzer

Analyze, document, and maintain a living knowledge base of a Unity project's structure, optimized for AI agent comprehension. Output lives in .agent-docs/ as source-control-friendly markdown files.

Modes of Operation

This skill operates in four modes. Determine which mode to use based on context:

Mode 1: First-Time Full Scan

Trigger: .agent-docs/ directory does not exist or .agent-docs/index.md does not exist.

Mode 2: Incremental Update

Trigger: User asks to update docs, or AI agent has made structural changes (new scenes, scripts, prefabs, systems). Default update mode.

Important: Incremental updates are part of implementation, not a separate step. When creating or modifying scripts, prefabs, or assets, update the corresponding .agent-docs/ files in the same pass before moving on to the next task.

Mode 3: Full Rescan

Trigger: User explicitly requests a full rescan (e.g., "rescan project", "full project analysis").

Mode 4: Ingestion

Trigger: User asks about the project structure or how a system/feature works (e.g., "what does this project do", "how does the ball system work", "project structure", "load project analysis"). Only use this mode when .agent-docs/ exists. This mode is read-only — do not modify docs.


Instructions for Full Scan (Mode 1) and Full Rescan (Mode 3)

Step 1: Gather Project Overview
  1. Read README.md, CHANGELOG.md, and any docs in Documentation/ folder
  2. Read Packages/manifest.json to understand all included packages
  3. List all scenes: Assets/**/*.unity
  4. List all script folders and assembly definitions: Assets/**/*.asmdef
  5. List all prefab folders: find directories containing .prefab files
  6. Identify the project's Unity version from ProjectSettings/ProjectVersion.txt
  7. If an Editor is reachable (unity status --format json shows state ready), inspect it live for richer data than the files alone give — unity command get_scene_hierarchy, find_assets, package_list --scope installed, and the get_*_settings commands (get_player_settings, get_quality_settings, get_graphics_settings). See the unity-cli skill.
  8. If a headset is attached, record the test-device baseline — metavr device list and metavr device info <id> (OS version, form factor) — so later findings can cite the hardware they were observed on.
Step 2: Ask Clarifying Questions

Before documenting, ask the user about anything that is not clear from the code or docs alone. Examples:

  • "I see scenes named X, Y, Z — which is the main entry point?"
  • "There's a folder called [name] with assets I can't determine the purpose of — what is it for?"
  • "I see multiple networking approaches — which is the primary one?"

Only ask about genuinely ambiguous items. If something is clear from naming, folder structure, or code inspection, document it directly.

Step 3: Analyze and Document

For each category below, create or update the corresponding sub-document:

3a. Project Overview (.agent-docs/project-overview.md)
  • Project name, description, Unity version
  • Target platform(s)
  • High-level architecture summary
  • Key third-party packages and how they are used in this project (surface-level only — no internals)
3b. Scene Flow (.agent-docs/scenes/)

Create one file per scene (e.g., .agent-docs/scenes/startup.md).

For each scene document:

  • Purpose and role in the project
  • Key GameObjects and their purpose
  • Which scripts/prefabs are used
  • Scene transitions (what loads this scene, what does this scene load)
  • Whether it's part of the main runtime flow, a test scene, or an example

Create a scene flow diagram in .agent-docs/scenes/_flow.md using mermaid:

mermaid
graph LR
    Startup --> MainMenu --> Gameplay
3c. Systems (.agent-docs/systems/)

Identify logical systems (networking, UI, audio, input, gameplay, etc.) and create one file per system.

For each system document:

  • Purpose and responsibility
  • Key scripts (with file paths) and their roles — focus on how to use them, not implementation
  • Key prefabs the system uses
  • Dependencies on other systems
  • Cross-reference related scenes and other system docs with relative links
3d. Prefabs (.agent-docs/prefabs/)

Group or document individually based on clarity:

  • If a folder of prefabs is self-explanatory by naming → group doc (e.g., .agent-docs/prefabs/ui-elements.md)
  • If individual prefabs have non-obvious purpose → document individually (e.g., .agent-docs/prefabs/player-rig.md)

For each prefab/group:

  • Purpose and when to use it
  • Nested prefab hierarchy (document nested prefabs and variants)
  • Key components attached
  • Which scenes use it
  • Configuration notes (important inspector values, required references)
3e. Assets (.agent-docs/assets/)

Document non-script, non-prefab assets adaptively:

  • Materials, shaders, textures, audio, animations, scriptable objects
  • Group when folder naming is clear; document individually when purpose is non-obvious
  • Focus on: what is it, what is it for, how/where is it used
Show full SKILL.md (436 more words)Show less
3f. Scripts Reference (.agent-docs/scripts/)

Scripts are self-documenting through code. Here, document usage context only:

  • Organize by system or feature area
  • For each script: purpose, how to use it, which prefab/scene it belongs to
  • Do NOT duplicate code or describe implementation details
Step 4: Build the Index

Create or update .agent-docs/index.md as the main entry point:

markdown
# [Project Name] — Agent Documentation

> Auto-generated project knowledge base for AI agent comprehension.
> Last updated: YYYY-MM-DD

## Quick Context
[2-3 sentence project summary]

## Document Map
- [Project Overview](project-overview.md)
- Scenes
  - [Scene Flow](<scenes/_flow.md>)
  - [SceneName](<scenes/scene-name.md>)
  - ...
- Systems
  - [SystemName](<systems/system-name.md>)
  - ...
- Prefabs
  - [PrefabGroup](<prefabs/group-name.md>)
  - ...
- Assets
  - [AssetGroup](<assets/group-name.md>)
  - ...
- Scripts
  - [ScriptArea](<scripts/area-name.md>)
  - ...

## Runtime Flow
[Brief description of app lifecycle from launch to gameplay]
Step 5: Create Config

Create .agent-docs/_config.md:

markdown
---
last_full_scan: YYYY-MM-DD
last_update: YYYY-MM-DD
documented_systems:
  - system-name-1
  - system-name-2
documented_scenes:
  - scene-name-1
  - scene-name-2
documented_prefab_groups:
  - group-name-1
  - group-name-2
---

Instructions for Incremental Update (Mode 2)

  1. Read .agent-docs/_config.md and .agent-docs/index.md
  2. Identify what changed:
    • If the AI agent just made changes: update only the docs affected by those changes
    • If the user asks to update: compare current project state against documented state
      • Check for new/removed/renamed scenes, scripts, prefabs
      • Check for new packages in Packages/manifest.json
      • Check git status for recently modified files if helpful
  3. Update only the affected sub-documents
  4. Clean up stale references: If a script, prefab, or asset was deleted or renamed, remove or update references to it in the affected docs. Do not leave broken references.
  5. Update .agent-docs/index.md if new docs were added or removed
  6. Update last_update and the documented lists in .agent-docs/_config.md

Do NOT rewrite docs that haven't changed.


Instructions for Ingestion (Mode 4)

  1. Check if .agent-docs/index.md exists — if not, skip (no docs to ingest)
  2. Read .agent-docs/index.md to get the document map and quick context
  3. Based on the user's question, read only the sub-docs relevant to what they are asking about. For example:
    • "What does this project do?" → read project-overview.md
    • "How does the ball system work?" → read systems/balls.md
    • "What scenes are there?" → read scenes/_flow.md
    • General project questions → read project-overview.md and scenes/_flow.md
  4. Do NOT eagerly read all sub-docs — read on-demand to keep context focused

Document Writing Guidelines

  • Audience: AI agents first. Be explicit, structured, and unambiguous.
  • Size: Keep each sub-doc concise. Prefer structured lists over paragraphs. Target under 200 lines per doc.
  • Cross-references: Use relative markdown links between docs when there's an actual dependency or relationship.
  • Diagrams: Use mermaid when it clarifies flow or architecture better than prose. Skip when prose is clearer.
  • Third-party packages: Document how the project uses them. Do not document their internals.
  • Scripts: Document purpose and usage, not implementation. The code is self-documenting.
  • Prefabs: Document nested hierarchies. Note important inspector configuration.
  • Source control: One concept per file. Use descriptive filenames. Avoid large monolithic docs.
  • Staleness: Include Last updated: YYYY-MM-DD at the top of each sub-doc. This helps identify docs that may need refresh.
  • Dates: Use only the date in Last updated fields — no parenthetical annotations.

File Naming Convention

  • Use lowercase kebab-case for all filenames: player-controller.md, main-menu.md
  • Prefix flow/index files with underscore: _flow.md, _config.md
  • Match scene/system names but in kebab-case: Startup.unity → startup.md

© meta-quest, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/hz-unity-project-analyzer of meta-quest/agentic-tools.

Open the folder on GitHubat commit 3a8553d

Compare with similar skills

Hz Unity Project Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hz Unity Project Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hz Unity Project Analyzer this skillmeta-quest/agentic-tools215—~2.4kAutomated safety check: PassApache-2.0
Book to Skill Convertervirgiliojr94/book-to-skill34k—~14kAutomated safety check: PassMIT
DeepTutor CLIHKUDS/DeepTutor41k—~2.8kAutomated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Capture Conversationoutline/outline41k—~474Automated safety check: PassCustom licence
Personal Knowledge Wikizhayujie/CowAgent47k—~924Automated safety check: PassMIT

Similar skills

  • Book to Skill Converter

    virgiliojr94/book-to-skill

    Converts books and documents in PDF, EPUB, DOCX, HTML, Markdown, text, RTF or MOBI form into agent skills built from frameworks, principles, techniques and anti-patterns.

    34k GitHub stars~14k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • DeepTutor CLI

    HKUDS/DeepTutor

    Teaches the agent to set up and run DeepTutor from the command line: chat and capabilities, knowledge bases, partners, memory, sessions, notebooks and the server or Web app.

    41k GitHub stars~2.8k tokensUpdated yesterday
    EducationAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Capture Conversation

    outline/outline

    Save the current conversation, a decision, or a set of notes as a document in an Outline collection; use when the user wants to keep what was discussed in their knowledge base.

    41k GitHub stars~474 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Personal Knowledge Wiki

    zhayujie/CowAgent

    Maintains a structured Markdown knowledge base in a knowledge/ folder by ingesting shared articles, synthesizing conversations and answering questions from it.

    47k GitHub stars~924 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Answers questions from a local knowledge base folder by walking hierarchical index files and searching with grep, pdfplumber and pandas instead of loading whole files.

    715 GitHub starsUsed in 2 repos~1.7k tokens
    Knowledge ManagementAuto-check passed

More from meta-quest/agentic-tools

All 34 skills in this repo
  • Hz Android 2D Porting

    meta-quest/agentic-tools

    Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements.

    215 GitHub stars~2.1k tokensUpdated 14 days ago
    Auto-check passed
  • Hz API Upgrade

    meta-quest/agentic-tools

    Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog.

    215 GitHub stars~1.8k tokensUpdated 14 days ago
    Auto-check passed
  • Hz Iwsdk Webxr

    meta-quest/agentic-tools

    Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration, spatial UI.

    215 GitHub stars~3k tokensUpdated 14 days ago
    Auto-check passed
  • Hz Metavrx Layout SDK

    meta-quest/agentic-tools

    Build multi-window Meta Horizon OS experiences with the MetaVrx Layout SDK in Jetpack Compose or React Native.

    215 GitHub stars~855 tokensUpdated 14 days ago
    Auto-check passed
  • Hz New Project Creation

    meta-quest/agentic-tools

    Scaffolds new Meta VR and Horizon OS projects after the build path is selected — Standard Android, Meta Spatial SDK, Unity, Unreal, or WebXR.

    215 GitHub stars~2.3k tokensUpdated 14 days ago
    Auto-check passed
  • Hz Perfetto Debug

    meta-quest/agentic-tools

    Analyzes Meta VR and Horizon OS VR performance using Perfetto traces — frame timing, CPU/GPU bottlenecks, render pass analysis.

    215 GitHub stars~2.8k tokensUpdated 14 days ago
    Auto-check passed

Questions about Hz Unity Project Analyzer

What does Hz Unity Project Analyzer do?

Analyzes, documents, and maintains a living .agent-docs/ knowledge base for Unity projects targeting Meta VR and Horizon OS. Hz Unity Project Analyzer is an agent skill from meta-quest/agentic-tools.agent-docs/ knowledge base for Unity projects targeting Meta VR and Horizon OS.

When should I use Hz Unity Project Analyzer?

Hz Unity Project Analyzer fits situations like: the user asks to scan project structure; explain how a Unity system works; update project docs after structural changes.

How do I install Hz Unity Project Analyzer in Claude Code?

Run `npx skills add meta-quest/agentic-tools --skill hz-unity-project-analyzer -a claude-code`. Or copy the skill folder (skills/hz-unity-project-analyzer in meta-quest/agentic-tools) into .claude/skills/hz-unity-project-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Hz Unity Project Analyzer in Codex?

Run `npx skills add meta-quest/agentic-tools --skill hz-unity-project-analyzer -a codex`. Or copy the skill folder (skills/hz-unity-project-analyzer in meta-quest/agentic-tools) into .agents/skills/hz-unity-project-analyzer in your project. Codex loads it when a task matches its description.

Can I use Hz Unity Project Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add meta-quest/agentic-tools --skill hz-unity-project-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hz-unity-project-analyzer, .gemini/skills/hz-unity-project-analyzer, .github/skills/hz-unity-project-analyzer and .opencode/skills/hz-unity-project-analyzer in your project.

What does Hz Unity Project Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: Hz Unity Project Analyzer is instructions for the agent only.

Does Hz Unity Project Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hz Unity Project Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hz Unity Project Analyzer use?

Hz Unity Project Analyzer is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hz Unity Project Analyzer use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hz Unity Project Analyzer?

Skills that share tags, products or a category with Hz Unity Project Analyzer: Book to Skill Converter (virgiliojr94/book-to-skill, 34k stars), DeepTutor CLI (HKUDS/DeepTutor, 41k stars), MemPalace Memory Search (MemPalace/mempalace, 59k stars) and Capture Conversation (outline/outline, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hz Unity Project Analyzer?

meta-quest (a GitHub organization) maintains it in meta-quest/agentic-tools, which has 215 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on September 24, 2026.

Source: meta-quest/agentic-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.