assets-material-create

Creates a new Unity material asset with a specified shader at a given asset path.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill assets-material-create-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: assets-material-create
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/assets-material-create
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill assets-material-create-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Manually creating material assets in Unity through the editor is repetitive, especially when automating project setup or generating assets in bulk. This Skill creates a new .mat material asset with a chosen shader directly through the unity-mcp-cli, creating any missing folders automatically. ## Core Features & Use Cases - Material Asset Creation: Creates a new Unity material at a specified path starting with 'Assets/' and ending with '.mat'. - Shader Assignment: Assigns a shader by name at creation time; use the 'assets-shader-list-all' tool to discover available shaders. - Recursive Folder Creation: Automatically creates any missing folders in the target asset path. - Use Case: When building a scene programmatically, create a material at 'Assets/Materials/Metal.mat' using the Standard shader, then assign it to generated meshes. ## Quick Start Ask the AI to create a new Unity material at Assets/Materials/MyMaterial.mat using the Standard shader.

Frequently Asked Questions about assets-material-create

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

FAQPage Schema
How do I create a material in Unity from the command line?▼

Run unity-mcp-cli run-tool assets-material-create with a JSON input containing assetPath and shaderName. The asset path must start with 'Assets/' and end with '.mat', and missing folders are created automatically.

How do I find available shader names for a Unity material?▼

Use the assets-shader-list-all tool to list all shaders available in the Unity project. Pass one of the returned shader names as the shaderName parameter when creating the material.

What asset path format does Unity material creation require?▼

The assetPath must start with 'Assets/' and end with the '.mat' extension, for example 'Assets/Materials/Metal.mat'. Parent folders that do not exist are created recursively.

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

The CLI is either not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli, and check the unity-initial-setup skill for details.

What does the material creation tool return?▼

It returns an AssetObjectRef containing the instanceID, asset type, asset path, and asset GUID of the newly created material. This reference can be used to identify the material in subsequent Unity operations.