uloop-find-game-objects

A Unity editor skill for finding GameObjects, which are objects in a Unity game scene, and inspecting their details. It can search by name or path and filter by components, tags, layers, or selection.

In plain words
What is it for?
Use it to inspect currently selected objects, search the Unity hierarchy, include inactive objects, or find objects with particular components, tags, or layers.
Why use it?
It helps locate the correct scene objects before inspecting or changing them with code.

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/hatayama/unity-cli-loop/uloop-find-game-objects
Any agent
npx skills add hatayama/unity-cli-loop --skill uloop-find-game-objects
Clone the repo
git clone --depth 1 https://github.com/hatayama/unity-cli-loop

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 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.00040 $0.00798
Opus 5 $0.00020 $0.00399
Sonnet 5 $0.00008 $0.00160
Haiku 4.5 $0.00004 $0.00080

Measured yesterday against content hash 84282187cdc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

uloop-find-game-objects 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 yesterday.

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-find-game-objects/SKILL.md · 65 lines

How it starts

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

uloop find-game-objects

Find GameObjects with search criteria or get details for currently selected Hierarchy objects.

Use this before execute-dynamic-code when identifying or inspecting selected GameObjects. Use get-hierarchy instead when you need the child tree, parent-child structure, or descendants under the selection.

Usage

uloop find-game-objects [options]

Parameters

Parameter Type Default Description
--name-pattern string - Name pattern to search
--search-mode string Exact Search mode: Exact, Path, Regex, Contains, Selected
--required-components array - Required components
--tag string - Tag filter
--layer integer - Layer filter (layer number)
--max-count integer 20 Maximum number of results
--include-inactive flag - Include inactive GameObjects
--include-inherited-properties flag - Include inherited properties in results

Search Modes

Mode Description
Exact Exact name match (default). Trap: --name-pattern "Camera" will not match a GameObject named "Main Camera" — use Contains or Regex for partial matching. A zero-hit Exact search returns a Message hint pointing this out.
Path Hierarchy path search (e.g., Canvas/Button)
Regex Regular expression pattern
Contains Partial name match
Selected Get currently selected GameObjects in Unity Editor

Output

Returns JSON with:

  • Results (array): Matching GameObjects, each containing:
    • Name (string): GameObject name
    • Path (string): Hierarchy path (e.g., Canvas/Panel/Button)
    • IsActive (boolean): Active state in hierarchy
    • Tag (string): GameObject tag
    • Layer (number): Layer index
    • Components (array): Each entry has Type (short name, e.g., Rigidbody), FullTypeName (e.g., UnityEngine.Rigidbody), and Properties (array of Inspector-visible {Name, Type, Value} pairs)
  • TotalFound (number): Results returned (after --max-count clipping). For multi-selection file export, this is the number exported.
  • ErrorMessage (string): Top-level failure summary (empty on success)
  • ProcessingErrors (array): Selected-mode per-GameObject serialization failures, each {GameObjectName, GameObjectPath, Error}. Omitted/null or empty on clean runs.

Read the full file on GitHub · 65 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. yesterday Changed · -25 lines 84282187cdc3
  2. 2d ago First seen · 90 lines · 40 tokens per session scan A 817b1b047586

Subscribe to this mod's changes

uloop-find-game-objects is a skill published in the GitHub repository hatayama/unity-cli-loop (522 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 798 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

unity

Compile, test, and drive Unity for this repo's C# packages (unity/core, jint, quickjs, clearscript) and the two Unity projects (tests/, kitchen-sink/). Use when a change touches C# under unity/, when Unity test results are needed, when a rendering snapshot has to be checked or regenerated, or when the app has to be…

ReactUnity/core · 108 tokens

test-designing-guide

Provides test design methodology for Unity projects. Use this skill whenever designing test cases from requirements or specifications, including selecting test techniques, deriving test cases, and formatting them. Even for small features, load this skill to ensure test design rigor.

nowsprinting/unity-coding-skills · 52 tokens

test-writing-guide

Provides guidelines for writing test code for Unity projects. Make sure to use this skill whenever writing, creating, editing, or modifying test code files (files under Tests/). This includes implementing new tests, fixing test failures, adding test cases, or any task that results in test code changes. Even for small…

nowsprinting/unity-coding-skills · 81 tokens

unity-pipeline

Drive this repo's running Unity Editor from the shell via the official unity CLI and the com.unity.pipeline package — recompile/test loop, C# eval, console logs, Game/Scene screenshots, the srgate SerializeReference check, and authoring new [CliCommand] commands. Use whenever a task needs to compile, test, inspect, or…

VPDPersonal/Aspid.FastTools · 93 tokens

editor-media-capture

Shoot Unity Editor screenshots and GIFs for this package's documentation without the user touching Unity — floating Inspectors, TypeSelectorWindow dropdowns, prefab-mode states, and ffmpeg GIF assembly. Use when a task asks for docs media (PNG/GIF) of editor UI under Documentation/Images, or when scripting…

VPDPersonal/Aspid.FastTools · 73 tokens

sync-readmes

Verify and update Aspid.FastTools README files against the actual codebase — namespaces, public API, CreateAssetMenu paths — keeping EN/RU and root/Documentation copies in sync.

VPDPersonal/Aspid.FastTools · 40 tokens