AgentSkillsCN

uloop-unity-search

通过uloop CLI搜索Unity项目。适用场景:(1) 按名称或类型查找资源(场景、预制件、脚本、材质)、(2) 使用Unity搜索系统搜索项目资源、(3) 定位Unity项目内的文件。

SKILL.md
--- frontmatter
name: uloop-unity-search
description: "Search Unity project for assets. Use when: finding scenes, prefabs, scripts, materials, or other assets by name/type, or when user asks to search project files. Returns asset paths and metadata."

uloop unity-search

Search Unity project using Unity Search.

Usage

bash
uloop unity-search [options]

Parameters

ParameterTypeDefaultDescription
--search-querystring-Search query
--providersarray-Search providers (e.g., asset, scene, find)
--max-resultsinteger50Maximum number of results
--save-to-filebooleanfalseSave results to file

Examples

bash
# Search for assets
uloop unity-search --search-query "Player"

# Search with specific provider
uloop unity-search --search-query "t:Prefab" --providers asset

# Limit results
uloop unity-search --search-query "*.cs" --max-results 20

Output

Returns JSON array of search results with paths and metadata.

Notes

Use uloop get-provider-details to discover available search providers.