unity-shader
Manage HLSL/ShaderLab .shader files
Install / Use
npx skills add Besty0728/Unity-Skills --skill shaderInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of unity-shader
unity-shader scores 82/100 on our quality scale, 3364th of 4,698 Development & Engineering skills we index.
Its SKILL.md is 8.1 KB long, well organised into 24 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 1,781 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so unity-shader is actively maintained.
- Our last check on 2026-11-07 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-01. Automated pattern scan on 2026-10-01. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
unity-shader compared with similar skills
All 4 of these similar skills score higher than unity-shader; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| unity-shader (this skill)by Besty0728 | 82 | 1.8k | 53d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 116.8k | 8d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.1k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.3k | 2d ago | CLAUDE.md |
| lobehubby lobehub | 100 | 85.6k | today | MCP Server |
Frequently asked questions
- How do I install unity-shader?
- Run
npx skills add Besty0728/Unity-Skills --skill unity-shader. The install tabs above show the steps for each supported agent. - Which AI agents does unity-shader work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is unity-shader safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is unity-shader still maintained?
- The repository was last updated about 2 months ago, so unity-shader is actively maintained.
Skill content
View source on GitHubname: unity-shader description: Manage HLSL/ShaderLab .shader files
Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via
GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
Triggers
- Creating or editing handwritten shaders
- Listing or finding .shader files
- Inspecting properties/keywords
- 创建或编辑手写 shader、列出/查找 .shader 文件、检查属性与关键字
Unity Shader Skills
Work with .shader HLSL/ShaderLab files (create from templates, read source, list, find, get keywords/properties/variants, check errors, delete, toggle global keywords). For node-based ShaderGraph use the shadergraph module.
Operating Mode
- Query skills (
shader_read,shader_list,shader_find,shader_get_properties,shader_check_errors,shader_get_keywords,shader_get_variant_count) areSkillMode.SemiAuto— they run in all three modes without grant. - Mutating skills (
shader_create,shader_create_urp,shader_set_global_keyword) areSkillMode.FullAuto— under Approval they need user grant (grant triggers one server-side execute returning the result); under Auto / Bypass they execute directly. shader_deletecarriesSkillOperation.Deleteand is auto-forbidden in Approval / Auto modes (NeverInSemi). Only Bypass or the user-managed Allowlist can run it.
Guardrails
DO NOT (common hallucinations):
shader_set_propertydoes not exist → usematerial_set_float/material_set_color/etc. on the material, not the shadershader_apply/shader_assigndo not exist → usematerial_set_shaderto change a material's shadershader_get_propertiesreturns shader property definitions (name/type/range), not current values → for material instance values usematerial_get_properties- Shader names are case-sensitive and path-like:
"Standard","Universal Render Pipeline/Lit", not"standard"or"URP Lit"
Routing:
- For material property changes → use
materialmodule - For shader keyword control →
material_set_keyword(material module) - For global shader keywords →
shader_set_global_keyword(this module)
Skills Overview
| Skill | Description |
|-------|-------------|
| shader_create | Create shader file |
| shader_read | Read shader source |
| shader_list | List all shaders |
| shader_find | Find shader by name |
| shader_delete | Delete shader file |
| shader_get_properties | Get shader properties |
| shader_check_errors | Check shader for compilation errors |
| shader_get_keywords | Get shader keyword list |
| shader_get_variant_count | Get shader variant count for performance analysis |
| shader_create_urp | Create a URP shader from template |
| shader_set_global_keyword | Enable or disable a global shader keyword |
Skills
shader_create
Create a shader file. The template parameter is raw shader source code that gets written verbatim into the .shader file — it is not a preset name. If you pass template="Standard" the literal string Standard will be written to disk and the shader will fail to compile.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| shaderName | string | Yes | - | Shader name written into the Shader "..." declaration (e.g., "Custom/MyShader") |
| savePath | string | Yes | - | Save path (e.g., "Assets/Shaders/My.shader") |
| template | string | No | null | Full ShaderLab/HLSL source string. When omitted, a built-in Unlit template (_MainTex + _Color, single CGPROGRAM pass) is used. There are no other built-in presets. |
For a URP Unlit / Lit preset, use
shader_create_urp(type: "Unlit" | "Lit") instead — it actually selects a template by name.
shader_read
Read shader source code.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| shaderPath | string | Yes | Shader asset path |
Returns: {path, lines, content}
shader_list
List all shaders in project.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| filter | string | No | null | Name filter |
| limit | int | No | 100 | Max results |
Returns: {count, shaders: [{path, name, propertyCount}]}
shader_find
Find a shader by name.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| searchName | string | Yes | Shader name to find |
Returns: {found, name, path}
shader_delete
Delete a shader file.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| shaderPath | string | Yes | Shader asset path |
shader_get_properties
Get all properties defined in a shader.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| shaderNameOrPath | string | Yes | Shader name or shader asset path |
Returns: {success, properties: [{name, type, description}]}
shader_check_errors
Check shader for compilation errors.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| shaderNameOrPath | string | Yes | - | Shader name or asset path (e.g., "Custom/MyShader" or "Assets/Shaders/My.shader") |
Returns: { shaderName, hasErrors, messageCount }
shader_get_keywords
Get shader keyword list.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| shaderNameOrPath | string | Yes | - | Shader name or asset path (e.g., "Custom/MyShader" or "Assets/Shaders/My.shader") |
Returns: { shaderName, keywordCount, keywords: [{ name, type }] }
shader_get_variant_count
Get shader variant count for performance analysis.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| shaderNameOrPath | string | Yes | - | Shader name or asset path (e.g., "Custom/MyShader" or "Assets/Shaders/My.shader") |
Returns: { shaderName, subshaderCount, totalPasses }
shader_create_urp
Create a URP shader from template (type: Unlit or Lit).
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| shaderName | string | Yes | - | Shader name (e.g., "Custom/MyURPShader") |
| savePath | string | Yes | - | Save path (e.g., "Assets/Shaders/MyURP.shader") |
| type | string | No | "Unlit" | Template type: "Unlit" or "Lit" |
Returns: { success, shaderName, path, type }
shader_set_global_keyword
Enable or disable a global shader keyword.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| keyword | string | Yes | - | Global shader keyword name |
| enabled | bool | Yes | - | true to enable, false to disable |
Returns: { success, keyword, enabled }
Example Usage
import unity_skills
# Create an unlit shader
unity_skills.call_skill("shader_create",
shaderName="Custom/MyUnlit",
savePath="Assets/Shaders/MyUnlit.shader",
template="Unlit"
)
# Create a surface shader
unity_skills.call_skill("shader_create",
shaderName="Custom/MyPBR",
savePath="Assets/Shaders/MyPBR.shader",
template="Standard"
)
# Read shader source
source = unity_skills.call_skill("shader_read",
shaderPath="Assets/Shaders/MyUnlit.shader"
)
print(source['content'])
# List all custom shaders
shaders = unity_skills.call_skill("shader_list", filter="Custom")
for shader in shaders['shaders']:
print(f"{shader['name']}: {shader['path']}")
Best Practices
- Use consistent shader naming (Category/Name)
- Organize shaders in dedicated folder
- Start with templates, modify as needed
- Test shaders in different lighting conditions
- Consider mobile compatibility for builds
Exact Signatures
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.
Related Skills
taste-skill
116.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
72.1kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.3kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
lobehub
85.6k🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
