unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-get-hierarchy/SKILL.md

uloop-get-hierarchy is a skill for Claude Code, Codex from hatayama/unity-cli-loop. It costs 36 tokens per session (398 once invoked), scanned A, original, MIT.

A Unity scene-hierarchy reader that returns a structured tree of GameObjects, showing parent-child relationships and optionally components, paths, and inactive objects.

In plain words
What is it for?
Use it to inspect the whole scene, a selected object, or a subtree; limit the depth; include inactive objects; and view component details.
Why use it?
It makes a large Unity scene easier to inspect when you need to understand what objects exist and how they are nested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is hatayama/unity-cli-loop's own configuration. It tells Claude Code and Codex how to work on unity-cli-loop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unity-cli-loop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hatayama/unity-cli-loop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hatayama/unity-cli-loop/main/.agents/skills/uloop-get-hierarchy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hatayama/unity-cli-loop

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 uloop-get-hierarchy

README.md
[![agentmods](https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-get-hierarchy/github.svg)](https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-get-hierarchy)
Your own site
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-get-hierarchy"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-get-hierarchy/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 uloop-get-hierarchy

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-get-hierarchy"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-get-hierarchy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00398
Opus 5.5 $0.00014 $0.00159
Sonnet 5.5 $0.00007 $0.00080
Haiku 4.5 $0.00004 $0.00040

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

Security

Grade A, and why

uloop-get-hierarchy 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.

.agents/skills/uloop-get-hierarchy/SKILL.md · 39 lines

What it actually says

uloop get-hierarchy

Get Unity Hierarchy structure from the whole scene, a root path, or selected Hierarchy objects.

Use this for hierarchy structure, especially descendants under the current selection. Use find-game-objects --search-mode selected when you need selected object details or component properties.

Usage

uloop get-hierarchy [options]

Parameters

Parameter Type Default Description
--root-path string - Root GameObject path to start from
--max-depth integer -1 Maximum depth (-1 for unlimited)
--no-include-components flag - Exclude component information
--no-include-inactive flag - Exclude inactive GameObjects
--include-paths flag - Include full path information
--use-components-lut string auto Use LUT for components (auto, true, false)
--use-selection flag - Use selected GameObject(s) as root(s). When set, --root-path is ignored.

Output

Returns JSON with:

  • Message (string): Human-readable guidance pointing at the saved file
  • HierarchyFilePath (string): Filesystem path to the JSON file that contains the actual hierarchy data

The hierarchy itself is not in the response — it is written to the file at HierarchyFilePath. Open that file to read the Context and Hierarchy payload (GameObject tree, components, etc.).

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 Changed 70b7735b3628
  2. 1mo ago Changed · -23 lines 60c401431bbf
  3. 2mo ago First seen · 62 lines · 36 tokens per session scan A ace11404c7b2

Subscribe to this mod's changes

uloop-get-hierarchy is a skill published in the GitHub repository hatayama/unity-cli-loop (586 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 398 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.