A professional framework for Unity HLSL Shader development focused on the DRY principle and modular file organization.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install unity-shader-optimizer-llm-cleaner
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install unity-shader-optimizer-llm-cleaner using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill establishes a rigorous standard for writing Unity HLSL Shaders, emphasizing the Don't Repeat Yourself (DRY) principle to enhance code maintainability and readability. By utilizing Openclaw Skills, developers can transition from monolithic shader files to a modular architecture using .hlsl header files and shared constant buffers. It specifically addresses Universal Render Pipeline (URP) requirements, ensuring that complex shaders with multiple passes remain clean and efficient while avoiding common pitfalls like inconsistent line endings or improper ShaderLab nesting.
To apply these Openclaw Skills standards to your project, organize your shader directory as follows:
# Create a standard directory structure
mkdir -p Shaders/Common
# Extract shared logic to headers
touch Shaders/Common/ColorAdjustment.hlsl
Ensure your IDE is configured to use CRLF line endings to prevent Unity's 'inconsistent line endings' warnings.
The skill organizes shader data into a clear hierarchy to minimize redundancy and maximize reuse.
| Component | File Extension | Responsibility |
|---|---|---|
| Main Shader | .shader | Defines Properties, SubShader tags, and Pass structure |
| Common Header | .hlsl | Global utility functions and shared CBUFFER definitions |
| Pass Logic | .hlsl | Actual vertex and fragment implementation for inclusion |
| Global Lib | .hlsl | Project-wide math and rendering utilities |
Loading
An AI-powered refinement tool designed to transform fragmented notes and rough drafts into polished, professional communication.

A comprehensive digital guide to Manchester, covering its industrial heritage, world-class football, and vibrant music scene.

A specialized trading intelligence skill for identifying market-leading dragon stocks in the A-share market.

An AI-powered tool that generates highly personalized and concise BOSS Zhipin application greetings by analyzing job descriptions and user resumes.

An analytical brand intelligence skill providing deep insights into M&M's history, iconic marketing strategies, and global market presence.

A comprehensive digital dossier on Macy's, covering its transition from a 19th-century dry goods store to a modern omnichannel retail powerhouse.








































