用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-project命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | unity-project |
| description | Read Unity project metadata and package lists |
Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via
GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
Project information and configuration.
build_player 为 RiskLevel=high 的实际出包操作,仅 Bypass 或 Allowlist 放行后可执行;project_add_tag 默认 FullAuto。其余 8 个查询 skill 均为 SemiAuto 只读操作。
Player Settings、Build Settings、Layer 通过本模块只读获取;如需编辑,请使用
editor_execute_menu打开Edit/Project Settings...或File/Build Settings...。注意editor_execute_menu自身是 auto-forbidden(editor 模块,标MayTriggerReload = true):Approval 和 Auto 下都返MODE_FORBIDDEN且 grant 不解锁,仅 Bypass 或 Allowlist 命中可调。其他模式下只能改为指导用户手动打开这些窗口。
DO NOT (common hallucinations):
project_save does not exist → use scene_save (scene module) or editor_execute_menu menuPath="File/Save" —— 两者都是 auto-forbidden(RiskLevel="high" / MayTriggerReload),仅 Bypass 或 Allowlist 可调project_settings does not exist → use specific skills: project_get_render_pipeline, project_get_build_settings, etc.project_set_resolution / project_set_player_settings do not exist → Player Settings are read-only via project_get_player_settings; to edit, open Project Settings via editor_execute_menu with Edit/Project Settings...(该 skill auto-forbidden,仅 Bypass 或 Allowlist 可调,否则请指导用户手动打开)project_create does not exist → projects are created via Unity Hub, not REST APIRouting:
graphics moduleproject_add_tag (this module); Layers are read-only via project_get_layers(编辑需 editor_execute_menu → Edit/Project Settings...,而该 skill auto-forbidden,仅 Bypass 或 Allowlist 可调)project_get_build_settings; for producing a player → build_playerproject_get_infoGet project information including render pipeline, Unity version, and settings. Parameters: None.
project_get_render_pipelineGet current render pipeline type and recommended shaders. Parameters: None.
project_list_shadersList all available shaders in the project. Parameters:
filter (string, optional): Filter by name.limit (int, optional): Max results (default 50).project_get_build_settingsGet build settings (platform, scenes).
Parameters: None.
Returns: { success, activeBuildTarget, buildTargetGroup, sceneCount, scenes }
build_playerBuild a player through BuildPipeline.BuildPlayer and return immediately with an asynchronous Job.
Parameters: outputPath?, target?, scenes?, development=false, overwrite=false. Output must remain inside the project and outside Unity-managed folders.
Returns: {success, status:"accepted", jobId, kind, platform, outputPath, scenes}. Poll /jobs/{id}; the final result contains the BuildReport summary.
project_get_packagesList installed UPM packages.
Parameters: None.
Returns: { success, manifest }
project_get_layersGet all Layer definitions.
Parameters: None.
Returns: { success, count, layers }
project_get_tagsGet all Tag definitions.
Parameters: None.
Returns: { success, count, tags }
project_add_tagAdd a custom Tag.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| tagName | string | Yes | - | The tag name to add |
Returns: { success, tag }
project_get_player_settingsGet Player Settings.
Parameters: None.
Returns: { success, productName, companyName, bundleVersion, defaultScreenWidth, defaultScreenHeight, fullscreen, apiCompatibility, scriptingBackend }
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.