particlesystem
Skill15 starsChanged 5 months agoMITView on GitHub
Skill for AI agents driving Unity Particle System components in a project through the unity-open-mcp MCP server. This domain is embedded in the bridge and opt-in. Its tools use the built-in ParticleSystem module — no Unity package install is required, and they compile into every bridge build. Its tool group is hidden from ListTools until the connected session activates it. - Unity Editor is open with the target project. - unity_open_mcp_ping returns connected: true. - The particle-system tool group is…
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- demo/AGENTS.mdAGENTS.md
- hub/AGENTS.mdAGENTS.md
- mcp-server/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- animationSkill
- audioSkill
- cinemachineSkill
- constraintsSkill
- input-simulationSkill
- inputsystemSkill
- lightingSkill
- memoryprofilerSkill
- navigationSkill
- probuilderSkill
- shadergraphSkill
- splinesSkill
- spriteatlasSkill
- terrainSkill
- textureSkill
- tilemapSkill
- timelineSkill
- uiSkill
- vfxSkill
- unity-open-mcpSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 23
All tools in this pack use unity_open_mcp_particle_system_*.
- Distinctive: line 31
read the current value of any module so you can decide what to patch.
- Very specific: line 37
Only the documented fields per module are accepted.
≈ “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.
Files
Unity Open MCP — Particle System Extension
Skill for AI agents driving Unity Particle System components in a project through the unity-open-mcp MCP server.
This domain is embedded in the bridge and opt-in. Its tools use the built-in ParticleSystem module — no Unity package install is required, and they compile into every bridge build. Its tool group is hidden from
ListToolsuntil the connected session activates it.
Preconditions
- Unity Editor is open with the target project.
unity_open_mcp_pingreturnsconnected: true.- The
particle-systemtool group is activated — callunity_open_mcp_manage_tools(action="activate", group="particle-system")before invoking anyparticle_system_*tool. Fresh sessions start with two default-on groups (coreandgate-and-verify); activate the other groups you need on demand. Because ParticleSystem is built-in,capabilitiesalways reports theparticle-systemgroup asavailable: true.
Tool prefix
All tools in this pack use unity_open_mcp_particle_system_*. ParticleSystem is a scene component — the lone mutator (particle_system_modify) runs the full gate path with paths_hint scoped to the host's scene path; the read-only tool (particle_system_get) is gate-free.
Always get before you modify
particle_system_get is cheap (gate-free, read-only). Call it first to:
- confirm the target actually has a
ParticleSystemcomponent (returnscomponent_not_foundotherwise), - see the runtime state (
isPlaying,particleCount,time), - read the current value of any module so you can decide what to patch.
Module surface (modify)
particle_system_modify takes a module discriminator + a fields_json JSON object of {field: value} entries to apply to that module. One module per call — chain multiple calls for multi-module edits.
Only the documented fields per module are accepted. Unknown fields land in unknownFields (and are skipped); the call still succeeds so the agent can iterate on the valid subset. Bad-typed values land in errors.
| Module | Fields (scalar types) |
main | duration(read-only) / loop(bool) / prewarm(bool) / startDelay(float) / startLifetime(float) / startSpeed(float) / startSize(float) / startSize3D(bool) / startRotation3D(bool) / startRotation(float, radians) / gravityModifier(float) / playOnAwake(bool) / maxParticles(int) / simulationSpace(Local/World/Custom) / scalingMode(Hierarchy/Local/Shape) |
emission | enabled(bool) / rateOverTime(float) / rateOverDistance(float) |
shape | enabled(bool) / shapeType(enum — see particle_system_get) / radius(float) / radiusThickness(float 0-1) / angle(float degrees) / arc(float degrees) / position("x,y,z") / rotation("x,y,z") / scale("x,y,z") |
color_over_lifetime | enabled(bool) — gradient editing is out of scope; use execute_csharp for fine-grained gradient authoring |
size_over_lifetime | enabled(bool) / separateAxes(bool) |
rotation_over_lifetime | enabled(bool) / separateAxes(bool) / x(float rad/s) / y(float rad/s) / z(float rad/s) |
noise | enabled(bool) / strength(float) / frequency(float) / scrollSpeed(float) / damping(bool) / octaveCount(int) / quality(Low/Medium/High) |
collision | enabled(bool) / type(Planes/World) / dampen(float 0-1) / bounce(float) / lifetimeLoss(float 0-1) |
trails | enabled(bool) / ratio(float 0-1) / lifetime(float) |
renderer | renderMode(Billboard/Mesh/HorizontalBillboard/VerticalBillboard/Stretch3D) / alignment(View/World/Facing/Velocity) / sortMode(None/Distance/OldestInFront/YoungestInFront) / maskInteraction(None/VisibleInsideMask/VisibleOutsideMask) |
The modify tool accepts scalar values only (it sets the constant mode of any MinMaxCurve / MinMaxGradient implicitly). For curve / gradient authoring, drop down to
execute_csharpand edit theAnimationCurve/Gradientdirectly.
Canonical workflows
Inspect a particle effect
- Address the host — by
instance_id(best) orpath/name. - Read —
unity_open_mcp_particle_system_getwithinclude_all: truefor a full snapshot, or toggle the per-module flags for a focused read.
Tune an existing effect
- Read —
unity_open_mcp_particle_system_getwithinclude_main: true, include_emission: true. - Patch the main module —
unity_open_mcp_particle_system_modifywithmodule: "main",fields_json: "{\"maxParticles\": 5000, \"loop\": false}". - Patch emission — another
particle_system_modifycall withmodule: "emission",fields_json: "{\"rateOverTime\": 42.0}". - Re-read —
particle_system_getto confirm the change persisted.
Common recipes
- Fire: emission
rateOverTime: 20-40, shapeshapeType: Cone, angle: 25, radius: 0.1, mainstartLifetime: 1.5, startSpeed: 3, startSize: 0.5, color_over_lifetime enabled (use execute_csharp for the orange→red→smoke gradient). - Smoke: emission
rateOverTime: 10, mainstartLifetime: 4, startSpeed: 0.5, startSize: 1, noise enabledstrength: 1, frequency: 0.5. - Burst: emission
rateOverTime: 0+ use execute_csharp to add a Burst entry toemission.bursts.
Error codes
| Code | Meaning |
paths_hint_required | particle_system_modify called with no paths_hint. |
target_not_found | No GameObject resolved by instance_id / path / name. |
component_not_found | Target has no ParticleSystem (or no ParticleSystemRenderer for the renderer module). |
missing_parameter | Missing module or fields_json. |
invalid_module | Unknown module value (see the table above). |
invalid_fields_json | fields_json is not a flat JSON object of scalars. |
Per-field type mismatches and unknown field names do not fail the call — they land in the response's errors and unknownFields arrays respectively, and the valid subset still applies.
Tool reference
| Tool | Mutating | Destructive | Lifecycle | Notes |
particle_system_get | no | no | none | Runtime state + opt-in module data. |
particle_system_modify | yes | no | editor_settle | Per-module field patch (scalars only). |
Address every target by instance_id > path > name (same model as gameobject_* / component_*). particle_system_modify requires a non-empty paths_hint scoped to the host's scene path — the gate has no whole-project fallback.
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
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.

