npx skills add ...
npx skills add unity-technologies/skills --skill generate-editor-search-query
Generates Unity Search / Quick Search queries and opens the Unity Search window for read-only Unity Editor asset or scene-object lookup requests. Always use when the user asks to find, search, show, locate, filter, look up, query, or list concrete assets or scene objects in the current project or scene, even if Unity Search is not named. Covers materials, textures, prefabs, scenes, scripts, shaders, GameObjects, components, Lights, Cameras, UI objects, labels, paths, references, selected or named assets, and asset types. Also use when the user explicitly mentions Unity Search, Quick Search, Search window, open Search, or asks what Unity Search query to use. Do not use for general project overview, project structure, folder-purpose summaries, gameplay/system explanations, how-to programming questions, web search, repository text search, build logs, package installation, menu or settings search, modifying results, or non-Unity filesystem search unless the user explicitly asks to use Unity Search.
npx skills add unity-technologies/skills --skill generate-editor-search-query
Translate natural-language Unity Editor search requests into useful Unity Search queries, explain them briefly, and open the Unity Search window with the query when appropriate.
If the prompt explicitly says Unity Search, Quick Search, Search window, open Search, or asks for a Unity Search query, handle the search request with this skill even when the target belongs to another domain such as lighting, UI, physics, audio, or animation.
For requests such as "find", "search", "locate", "list", "filter", "look up", "where is", "which assets use", or "what references" concrete Unity assets or scene objects:
Do not open Search when the user says "do not open Search", "query only", "what query should I use", "just give me the query", or similar.
If the user asks for a general explanation, project overview, folder-structure summary, architecture walkthrough, gameplay-system summary, or "how do I" programming answer, do not use this skill unless the prompt explicitly asks for Unity Search, a Search query, or opening the Search window.
If the user refers to "this", "selected", or "current" without an attached asset, scene object, visible name, or path, ask for the name/path instead of inventing one.
Scope read-only Unity Search / Quick Search queries to:
Do not install packages, run menu commands, edit assets, modify scenes, search external documentation, search repository text, inspect build logs, delete results, fix search results, or perform dependency graph analysis. If the user asks to act on results, first open Search or provide the query, then ask for confirmation before any separate modifying skill or workflow.
Before generating non-trivial queries, read references/query-patterns.md.
Before opening the Search window, read references/open-search-window.md.
Official English references:
evaleval compiles a statement block, not a file. Two consequences, both compile errors:
using directives. The compiler reads using UnityEditor; as a resource-disposal
statement and rejects it (CS0210).SearchService does not resolve (CS0246), and a
bare Object is ambiguous with object (CS0104).The unity-cli skill owns the prerequisites — installing the CLI, confirming a connected Editor,
adding the project's com.unity.pipeline package, and discovering the command catalog. You need
eval in particular; if it is absent, generate the query text and say the window can't be opened.
Use the simplest query that is likely to produce the requested result.
t:material, t:texture, t:prefab, t:scene, t:script, t:shader, t:Light, or t:Rigidbody.dir: when the user gives a folder or says "in Assets/..." or "under ...".l: when the user asks for a Unity asset label.ref= when the user asks what references, uses, depends on, contains, or is connected to an asset.t:prefab ref={t:texture} or t:scene ref={t:prefab}.Run C# in the Editor only to open the Search window. This is an Editor UI action and must not change project assets or scene contents.
When opening Search:
Keep the user-facing response short:
If not opening Search:
If the request is ambiguous but still searchable, choose the most likely query and mention the assumption. Ask a question only when the search target cannot be inferred, such as "find the thing" with no asset, scene, type, name, or context.
Before reporting success: