assets-create-folder

Create a Unity folder under an Assets path and return its GUID.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/igot-ai/os-twin --skill assets-create-folder-igot-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-create-folder
Source: https://github.com/igot-ai/os-twin/tree/main/.agents/skills/roles/game-engineer/develop-unity-ui/references/assets-create-folder
Command: npx skills add https://github.com/igot-ai/os-twin --skill assets-create-folder-igot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of nested Unity folders within the Assets directory, ensuring parent folders exist before creation and returning the new folder's GUID.

Core Features & Use Cases

  • Enforces Assets-only path usage and validates that all parent folders exist before creation.
  • Returns the GUID of the newly created folder for easy reference.
  • Calls AssetDatabase.Refresh() to ensure the Unity editor recognizes the new folder.
  • Use case: organize scripts and assets in large Unity projects with strict folder hierarchies.

Quick Start

Call the tool with a path like Assets/ParentFolder1/ParentFolder2/ to create the new folder.

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 Unity folder programmatically and get its GUID?

To create a Unity folder programmatically and get its GUID, use a tool that generates a new directory under an Assets path and returns the new folder's GUID for immediate reference.

What happens if parent folders do not exist when creating nested Unity asset directories?

When creating nested Unity asset directories, the operation requires that all parent folders exist before creation and will not proceed if the hierarchy is incomplete.

Does creating a folder in Unity automatically update the AssetDatabase?

Yes, creating a folder in Unity triggers AssetDatabase.Refresh() to ensure the Unity editor immediately recognizes and registers the newly created asset directory.

Can I create Unity folders outside the Assets directory path?

No, you cannot create Unity folders outside the Assets directory path. The creation process enforces Assets-only path usage to maintain proper project organization.

Why do I need the GUID of a newly created Unity folder?

You need the GUID of a newly created Unity folder to establish reliable references for scripts and assets, especially when structuring large projects with strict nested folder hierarchies.