From unity-cli
Manages Unity prefab assets with unity-cli: create from scene objects, open in edit mode, save changes, instantiate into scenes, update properties.
npx claudepluginhub akiojin/unity-cli --plugin unity-cliThis skill is limited to using the following tools:
Create, open, edit, and instantiate prefabs.
Builds Unity scenes via CLI: inspect hierarchy, create/modify/delete gameobjects, add/edit components, prefab assets, save scenes. For scene construction workflows.
CLI for reading scenes/prefabs/assets, small updates, deletes, and utilities in Unity projects without live editor bridge. Emits structured JSON; boot with setup/status.
Creates, edits, and manages Unity assets including prefabs, materials, asset database, and Addressables with dependency analysis and import settings. Use for prefab workflows, material editing, asset search.
Share bugs, ideas, or general feedback.
Create, open, edit, and instantiate prefabs.
Read references/prefab-edit-mode.md when you need a safe sequence for edit mode, scene handoff, or instantiation checks.
# Create prefab from scene object
unity-cli raw create_prefab --json '{"gameObjectPath":"/Player","prefabPath":"Assets/Prefabs/Player.prefab"}'
# Prefab editing mode
unity-cli raw open_prefab --json '{"prefabPath":"Assets/Prefabs/Player.prefab"}'
unity-cli raw save_prefab --json '{}'
unity-cli raw exit_prefab_mode --json '{}'
# Instantiate
unity-cli raw instantiate_prefab --json '{"prefabPath":"Assets/Prefabs/Player.prefab","position":{"x":0,"y":0,"z":0}}'
# Modify prefab properties
unity-cli raw modify_prefab --json '{"prefabPath":"Assets/Prefabs/Player.prefab","modifications":{"name":"UpdatedPlayer"}}'
open_prefab to enter edit modesave_prefab to persistexit_prefab_mode to return to scene/Player and save it under Assets/Prefabs/Player.prefab."save_prefab before exiting edit mode.exit_prefab_mode before switching scenes.unity-gameobject-edit.position or rotation values during instantiation when placement matters.