shadergraph

shadergraph is a skill for Claude Code, Codex from AlexeyPerov/Unity-Open-MCP. It costs 0 tokens per session (1,704 once invoked), scanned A, original, MIT.

A bridge for controlling Unity Shader Graph, the visual tool for building materials and surface effects, from an AI agent.

In plain words
What is it for?
Creating or editing Shader Graph materials in Unity projects that have the Shader Graph package and a supported rendering system installed.
Why use it?
It lets an agent work with Shader Graph inside an open Unity project instead of handling the editor manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating or editing Shader Graph materials in Unity projects that have the Shader Graph package and a supported rendering system installed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyperov/unity-open-mcp/shadergraph
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AlexeyPerov/Unity-Open-MCP --skill shadergraph
Clone the repo
git clone --depth 1 https://github.com/AlexeyPerov/Unity-Open-MCP

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shadergraph

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/shadergraph.svg)](https://agentmods.dev/skills/alexeyperov/unity-open-mcp/shadergraph)
Your own site
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/shadergraph"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/shadergraph.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01704
Opus 5 $0.00000 $0.00852
Sonnet 5 $0.00000 $0.00341
Haiku 4.5 $0.00000 $0.00170

Measured 7d ago against content hash 2c9026d51515, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

shadergraph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/extensions/shadergraph/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unity Open MCP — Shader Graph Extension

Skill for AI agents driving the Unity Shader Graph package (com.unity.shadergraph) in a Unity project through the unity-open-mcp MCP server.

This domain is embedded in the bridge, compile-gated on com.unity.shadergraph, and auto-activating. Its tools compile in only when the project has com.unity.shadergraph installed (the bridge sets the UNITY_OPEN_MCP_EXT_SHADERGRAPH define automatically). When the package is present, the shadergraph group activates automatically for the session — its tools appear in ListTools with no manual manage_tools call. This is the first domain to ship with package-detection auto-activation.

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The project has com.unity.shadergraph installed. If capabilities reports the shadergraph group as available: false, install the package (and a Scriptable Render Pipeline — URP or HDRP) and let the bridge recompile.
  • The shadergraph group is auto-activated when the package is present — check unity_open_mcp_manage_tools(action="list_groups"); the group should show activationSource: "auto". If you deactivated it manually, re-activate with manage_tools(action="activate", group="shadergraph").

Tool prefix

All tools in this pack use unity_open_mcp_shader_graph_* (note the underscore split — shader_graph, matching the catalog word-boundary convention).

Vocabulary

A Shader Graph is a .shadergraph asset — the authored graph that compiles into a shader. It holds an ordered list of nodes, each exposing input and output slots (identified by integer slot ids). Edges connect an output slot of one node to an input slot of another. The graph has one or more output nodes (Vertex / Fragment / etc.) that the rest of the graph feeds into.

Node ids are stable string GUIDs assigned by Shader Graph — read them via shader_graph_open or the return value of shader_graph_node_add. Slot ids are integers; an open summary lists each node's slots with { id, name }.

Read the full file on GitHub · 139 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 139 lines · 0 tokens per session scan A 2c9026d51515

Subscribe to this mod's changes

shadergraph is a skill published in the GitHub repository AlexeyPerov/Unity-Open-MCP (12 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,704 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories