shadergraph-editor
Author, load, and troubleshoot Reality Composer Pro Shader Graph materials for RealityKit on visionOS. Use when building Shader Graph materials, exposing promoted inputs for runtime control, debugging exported USD and MaterialX interop, or building shader graphs programmatically in Swift on visionOS 27.
How do I install this agent skill?
npx skills add https://github.com/tomkrikorian/visionosagents --skill shadergraph-editorIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides instructions and samples for authoring RealityKit Shader Graph materials on visionOS. No security issues were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
ShaderGraph Editor
Quick Start
Default to Reality Composer Pro. Use raw USD or MaterialX inspection only when debugging exports or interoperability.
- Decide whether the task is node selection, runtime parameter control, export debugging, or sample selection.
- Identify whether the material is authored in Reality Composer Pro, loaded
from USD /
.reality, intentionally created from MaterialX data, or built programmatically with the visionOS 27ShaderGraphAPI. - Load only the matching reference files.
- Route text-level USD structure edits to
usd-editor.
Load References When
| Reference | When to Use |
|---|---|
references/shadergraph-node-reference.md | When choosing RealityKit Shader Graph nodes by category. |
references/runtime-api.md | When loading ShaderGraphMaterial, working with promoted inputs, or updating parameters at runtime. |
references/programmatic-shader-graphs.md | When building shader graphs in Swift with the ShaderGraph API (new in visionOS 27), ShaderGraphMaterial.Program, PortalMaterial.Program, LightingModel, or PBR subsurface scattering. |
references/export-debug.md | When inspecting exported USD or MaterialX, or when a graph fails to load or render as expected. |
references/samples.md | When selecting the closest repo sample before authoring a new effect from scratch. |
references/apple-material-boundaries.md | When deciding whether to author in Reality Composer Pro, load a ShaderGraphMaterial, or debug named material/resource failures. |
Workflow
- Start from the closest existing sample when possible.
- Author or refine the graph in Reality Composer Pro.
- Promote the inputs that need runtime control.
- Load entire authored entities with RealityKit entity-loading APIs, or load a
standalone material with
ShaderGraphMaterialonly when the app needs the material itself. - Match material prim paths, file names, bundle names, and promoted parameter names exactly.
- Load and update the material through the runtime API.
- Inspect exports only when the normal authoring path stops explaining the failure.
When To Switch Skills
- Switch to
usd-editorwhen the task is really about prim paths, composition, or text-level USD authoring. - Switch to
realitykit-visionos-developerwhen the blocker is entity setup, material application, or scene integration rather than graph authoring.
Guardrails
- Treat Reality Composer Pro as the default authoring surface.
- Keep Shader Graph material structure in Reality Composer Pro unless the task is explicitly USD / MaterialX export repair.
- Use official RealityKit material APIs such as
ShaderGraphMaterial,MaterialParameters.Value, andTextureResource; do not introduce undocumented material-resource types. - For USD-backed materials,
ShaderGraphMaterialnames are full material prim paths such as/Root/MyMaterial, not informal display labels. - Do not treat exported
info:idstrings or raw graph layout as stable public API unless Apple documents them directly.
Output Expectations
Provide:
- the selected effect or sample starting point
- which references were used
- how the material is authored or loaded
- whether the issue is a graph problem, runtime problem, or export problem
- explicit routing to
usd-editoror RealityKit work if needed
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/tomkrikorian/visionosagents/shadergraph-editor">View shadergraph-editor on skillZs</a>