unity-technologies/unity-agent-plugin71 installs
shader-graph-create-custom-node
Generates custom Shader Graph nodes from HLSL code. Use when the user wants a new Shader Graph node or to make existing HLSL work as a reflected function node.
How do I install this agent skill?
npx skills add https://github.com/unity-technologies/unity-agent-plugin --skill shader-graph-create-custom-nodeIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill facilitates the creation of custom Shader Graph nodes in Unity by generating and appending HLSL code to project assets. It follows standard Unity development patterns and poses no significant security risks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Generating a custom Shader Graph node
Step 1: Generate an HLSL function definition
- The function must be preceded by the preprocessor define
UNITY_EXPORT_REFLECTION
Step 2: Decorate with Shader Graph hint tags
- See
resources/all_hints.hlslfor all valid hint tags and usage patterns - C#-style documentation tags are supported outside of
funchintsorparamhintsblocks - Required function hints:
sg:ProviderKeysg:SearchCategorysg:SearchTermssg:DisplayName
Step 3: Write the code to an asset
- Search the project for a
ShaderIncludeasset (.hlsl) that already contains custom Shader Graph nodes - If a matching asset exists, show the user its current contents and ask for confirmation before appending the new code
- If no matching asset exists, create a new
.hlslasset - Ensure the file begins with
#include "ShaderApiReflectionSupport.hlsl"
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/unity-technologies/unity-agent-plugin/shader-graph-create-custom-node">View shader-graph-create-custom-node on skillZs</a>