assets-create-folder

Creates folders under the Assets directory in a Unity project and returns their GUIDs.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Alltwice/Unity-3D-Project --skill assets-create-folder-alltwice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: assets-create-folder
Source: https://github.com/Alltwice/Unity-3D-Project/tree/main/.agents/skills/assets-create-folder
Command: npx skills add https://github.com/Alltwice/Unity-3D-Project --skill assets-create-folder-alltwice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Organizing a Unity project's Assets folder manually through the editor is slow and hard to automate, especially when batch-creating directory structures for scripts and assets. ## Core Features & Use Cases - Batch Folder Creation: Accepts a list of parent path and folder name pairs, processing each entry independently so one bad input does not abort the batch. - Cross-Platform Validation: Rejects invalid folder names containing characters like /, , <, >, :, ", |, ?, *, or control characters, even on Linux and Mac. - GUID Return & Database Refresh: Calls AssetDatabase.Refresh() after creation and returns the GUIDs of all newly created folders. - Use Case: When scaffolding a new Unity feature, create folders like Assets/Scripts/Player and Assets/Art/Characters in one call and immediately receive their GUIDs for further asset operations. ## Quick Start Ask the AI to create a new folder named "Scripts" inside the existing Assets folder of your Unity project and return its GUID.

Frequently Asked Questions about assets-create-folder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a folder in Unity Assets programmatically?▼

Use the unity-mcp-cli run-tool assets-create-folder command with a JSON input listing ParentFolderPath and NewFolderName pairs. The parent path must start with Assets/ and already exist, and the tool returns the GUID of each created folder.

How to create multiple Unity asset folders in one batch?▼

Pass an array of entries in the inputs field, each with a ParentFolderPath and NewFolderName. Every entry is processed independently, and per-entry errors are collected in the response so one failure does not abort the rest.

Why does Unity folder creation fail with an invalid name error?▼

The folder name must be non-empty and cannot contain /, \, <, >, :, ", |, ?, *, or control characters. These checks apply cross-platform, even on Linux and Mac where some characters are normally allowed.

Does the parent folder need to exist before creating a Unity subfolder?▼

Yes. The ParentFolderPath must already exist and pass AssetDatabase.IsValidFolder, and every intermediate folder in the path must exist. A folder with the same target name must also not already exist under the parent.

What if unity-mcp-cli is not found when running the command?▼

Install it globally with npm install -g unity-mcp-cli, or invoke it through npx unity-mcp-cli instead. The unity-initial-setup skill contains detailed installation instructions.