agentleFS
AlexeyPerovAlexeyPerov/Unity-Open-MCP/skills/extensions/vfx/SKILL.md

vfx

Skill15 starsChanged 5 months agoMITView on GitHub

Skill for AI agents driving the Unity Visual Effect Graph package (com.unity.visualeffectgraph) in a Unity project through the unity-open-mcp MCP server. This domain is embedded in the bridge, compile-gated on com.unity.visualeffectgraph, and auto-activating. Its tools compile in only when the project has com.unity.visualeffectgraph installed (the bridge sets the UNITY_OPEN_MCP_EXT_VFX define automatically). When the package is present, the vfx group activates automatically for the session — its tools appear in ListTools with no manual manage_tools call. - Unity Editor is open…

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If capabilities reports the vfx group as available: false, install the package (and a Scriptable Render Pipeline) and let the bridge …

    line 19
  2. Very specific:

    All tools in this pack use unity_open_mcp_vfx_*.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unity Open MCP — VFX Graph Extension

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

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

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The project has com.unity.visualeffectgraph installed (requires URP or HDRP). If capabilities reports the vfx group as available: false, install the package (and a Scriptable Render Pipeline) and let the bridge recompile.
  • The vfx 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="vfx").

Tool prefix

All tools in this pack use unity_open_mcp_vfx_*.

Vocabulary

A VisualEffectGraph is a .vfx asset — the authored effect graph. It holds contexts (Spawn / Init / Update / Output) which contain blocks (the per-particle operations). It exposes properties (named, agent-addressable parameters) that can be set per-instance at runtime.

Version-stability note

VFX Graph's editor graph model (UnityEditor.VFX: VFXGraph, VFXContext, VFXBlock, VFXSlot) is largely internal/unstable — more so than Shader Graph's. This pack's tools split cleanly along that boundary:

  • vfx_list and vfx_open work over the public runtime UnityEngine.VFX.VisualEffectAsset type and the serialized file format — always work, stable across versions.
  • vfx_block_edit reflects over the editor graph model, which requires the VFX Graph window to be open (there is no stable public headless entry point to load + edit + save a graph). When the window is closed, the tool returns a structured vfx_block_edit_requires_editor_window error — open the graph in the window (vfx_open) and retry, or edit the block manually.

Canonical workflow: discover + inspect

  1. List effects — unity_open_mcp_vfx_list enumerates every .vfx under Assets/. Optional filter substring + max_results cap. Returns each asset's path, name, and file size.
  2. Open + inspect — unity_open_mcp_vfx_open brings up the VFX Graph editor window for a .vfx and returns a structured summary: context count, block count, exposed property count, and property names. Read-only, no paths_hint.
  3. Patch a block (when the window is open) — unity_open_mcp_vfx_block_edit patches a single property on a block. block_selector is a type-name fragment (e.g. SetVelocity, SetColor) — the first block whose type name contains the fragment is patched. property is the field; value_json is the new value. Mutating: paths_hint is the .vfx asset path.

Common recipes

Inspect an effect

  1. vfx_list → find the .vfx path.
  2. vfx_open on the path → read the context/block counts and property names.

Tune a property on a block

  1. vfx_open to bring up the window (block_edit requires the window open).
  2. vfx_block_edit with block_selector: "SetVelocity", property: "<field>", value_json: "<new value>". If the tool returns vfx_block_edit_requires_editor_window, the graph window was not open in the Editor — open it (the agent cannot open it headlessly) and retry.
  3. vfx_open again to confirm.

Agent-sense pairing

  • unity_senses_screenshot (view: "game") visually confirms the effect on a VisualEffect component after assignment.
  • unity_senses_profiler_memory / unity_open_mcp_profiler_get_script_stats give CPU/frame context — pair with the broader profiler family to profile a heavy effect.
  • unity_open_mcp_execute_csharp is the fallback for advanced operations the reflection layer can't reach (custom blocks, Subgraph wiring, event setup).

Tool reference

ToolMutatingLifecycleNotes
vfx_listno (read-only)noneEnumerate .vfx assets under Assets/. Gate = Off.
vfx_openno (read-only)noneWindow bring-up + structured context/block/property summary. Gate = Off.
vfx_block_edityeseditor_settlePatch one property on one block. Requires the VFX Graph window open.

Address every graph by asset_path (Assets/.../*.vfx). The mutating tool requires a non-empty paths_hint scoped to the graph asset path — the gate has no whole-project fallback. When vfx_block_edit returns vfx_block_edit_requires_editor_window, the editor graph model could not be reached — open the graph in the VFX Graph window and retry, or edit the block manually.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.