shader-graph-create-custom-node — Claude Code skill: how to install
Generates custom Shader Graph nodes directly from HLSL functions. It handles reflection markup so Unity registers your shader code in the graph creation menu.
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a claude-codeWhat shader-graph-create-custom-node does
The skill automates the creation of Shader Graph nodes using Unity reflection metadata. It prepends your HLSL function with UNITY_EXPORT_REFLECTION and applies the mandatory hint tags: display name, category, provider key, and search terms. Documentation in C# style can be included outside hint blocks.
Once the code is prepared, the skill targets a .hlsl asset. It checks the project for existing ShaderInclude files that already host custom nodes, showing the content to ask for confirmation before modifying anything. If no suitable file exists, it generates a fresh .hlsl asset headed by #include "ShaderApiReflectionSupport.hlsl".
Your Unity project must have the com.unity.shadergraph package at version 17.5.0 or newer. Without this minimum version, the reflection workflow fails to expose your HLSL functions inside the graph editor.
What it helps with
- convert existing HLSL functions into reflected Shader Graph nodes
- annotate HLSL code with search keywords and category hints for Unity
- append new custom node definitions to existing ShaderInclude assets
- scaffold a new HLSL include file with reflection support headers
Example prompts for the agent
- Turn this HLSL noise function into a custom Shader Graph node named SimplexNoise
- Expose my color correction HLSL helper as a reflected node in the Color category
- Generate a custom Shader Graph node from this HLSL code and save it to our ShaderInclude asset
How to install shader-graph-create-custom-node
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a claude-code2Manually: put the files in place
~/.claude/skills/shader-graph-create-custom-node/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/shader-graph-create-custom-node/
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a codex2Manually: put the files in place
.agents/skills/shader-graph-create-custom-node/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a cursor2Manually: put the files in place
.cursor/skills/shader-graph-create-custom-node/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Unity-Technologies/skills shader-graph-create-custom-node2Manually: put the files in place
.github/skills/shader-graph-create-custom-node/SKILL.md1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a gemini-cli2Platform CLI
gemini skills install https://github.com/Unity-Technologies/skills --path skills/shader-graph-create-custom-nodeManually: put the files in place
.devin/skills/shader-graph-create-custom-node/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about shader-graph-create-custom-node
How to install shader-graph-create-custom-node in Claude Code?
Run npx skills add Unity-Technologies/skills --skill shader-graph-create-custom-node -a claude-code in your terminal. This downloads the skill into ~/.claude/skills/.
What does shader-graph-create-custom-node do?
It formats HLSL functions with Unity reflection attributes and hint tags, turning them into visual nodes for Shader Graph.
Which package version does shader-graph-create-custom-node require?
It requires com.unity.shadergraph version 17.5.0 or newer, along with #include "ShaderApiReflectionSupport.hlsl" at the start of the HLSL file.