assets-shader-get-data

Inspect Unity shader assets for properties, subshaders, passes, and compilation errors.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-shader-get-data-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-shader-get-data
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/assets-shader-get-data
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-shader-get-data-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Debugging or auditing shaders in a Unity project normally requires opening the editor and manually inspecting each asset. This Skill retrieves detailed shader data programmatically through the unity-mcp-cli, including compilation errors, properties, and pass structure. ## Core Features & Use Cases - Compilation Diagnostics: Retrieve shader error and warning messages with line numbers, severity, and target platform. - Property Inspection: List shader uniforms with types, ranges, default textures, and attributes. - Structure Analysis: Examine subshader and pass hierarchies, optionally including full pass source code. - Use Case: A material renders pink in your scene. Use this Skill to check whether the assigned shader has compilation errors on your platform and whether it is supported by the current GPU. ## Quick Start Ask the AI to get the data and compilation errors for the shader asset at a given path such as Assets/Shaders/MyShader.shader.

Frequently Asked Questions about assets-shader-get-data

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

FAQPage Schema
How do I check a Unity shader for compilation errors?

Call the assets-shader-get-data tool with the shader's asset reference and includeMessages set to true. The response lists each error or warning with its message text, line number, severity, and the platform where it occurs.

How to list all properties of a Unity shader?

Set includeProperties to true when calling the tool. It returns each property's name, display description, type such as Color or Range, flags, range limits, default texture, and custom attributes.

Can I get shader source code from a Unity asset?

Yes, set both includeSubshaders and includeSourceCode to true to retrieve pass source code within the subshader data. Be aware this can produce very large responses for complex shaders.

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

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

How do I find shaders in a Unity project before inspecting them?

Use the assets-find tool with the filter 't:Shader' to search for shader assets, or the assets-shader-list-all tool to list all shader names, then pass the resulting reference to this tool.