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

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…

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
  1. Very specific:

    All tools in this pack use unity_open_mcp_particle_system_*.

    line 23
  2. Distinctive:

    read the current value of any module so you can decide what to patch.

    line 31
  3. Very specific:

    Only the documented fields per module are accepted.

    line 37

≈ “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 — 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 ListTools until the connected session activates it.

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The particle-system tool group is activated — call unity_open_mcp_manage_tools(action="activate", group="particle-system") before invoking any particle_system_* tool. Fresh sessions start with two default-on groups (core and gate-and-verify); activate the other groups you need on demand. Because ParticleSystem is built-in, capabilities always reports the particle-system group as available: 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 ParticleSystem component (returns component_not_found otherwise),
  • 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.

ModuleFields (scalar types)
mainduration(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)
emissionenabled(bool) / rateOverTime(float) / rateOverDistance(float)
shapeenabled(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_lifetimeenabled(bool) — gradient editing is out of scope; use execute_csharp for fine-grained gradient authoring
size_over_lifetimeenabled(bool) / separateAxes(bool)
rotation_over_lifetimeenabled(bool) / separateAxes(bool) / x(float rad/s) / y(float rad/s) / z(float rad/s)
noiseenabled(bool) / strength(float) / frequency(float) / scrollSpeed(float) / damping(bool) / octaveCount(int) / quality(Low/Medium/High)
collisionenabled(bool) / type(Planes/World) / dampen(float 0-1) / bounce(float) / lifetimeLoss(float 0-1)
trailsenabled(bool) / ratio(float 0-1) / lifetime(float)
rendererrenderMode(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_csharp and edit the AnimationCurve / Gradient directly.

Canonical workflows

Inspect a particle effect

  1. Address the host — by instance_id (best) or path / name.
  2. Read — unity_open_mcp_particle_system_get with include_all: true for a full snapshot, or toggle the per-module flags for a focused read.

Tune an existing effect

  1. Read — unity_open_mcp_particle_system_get with include_main: true, include_emission: true.
  2. Patch the main module — unity_open_mcp_particle_system_modify with module: "main", fields_json: "{\"maxParticles\": 5000, \"loop\": false}".
  3. Patch emission — another particle_system_modify call with module: "emission", fields_json: "{\"rateOverTime\": 42.0}".
  4. Re-read — particle_system_get to confirm the change persisted.

Common recipes

  • Fire: emission rateOverTime: 20-40, shape shapeType: Cone, angle: 25, radius: 0.1, main startLifetime: 1.5, startSpeed: 3, startSize: 0.5, color_over_lifetime enabled (use execute_csharp for the orange→red→smoke gradient).
  • Smoke: emission rateOverTime: 10, main startLifetime: 4, startSpeed: 0.5, startSize: 1, noise enabled strength: 1, frequency: 0.5.
  • Burst: emission rateOverTime: 0 + use execute_csharp to add a Burst entry to emission.bursts.

Error codes

CodeMeaning
paths_hint_requiredparticle_system_modify called with no paths_hint.
target_not_foundNo GameObject resolved by instance_id / path / name.
component_not_foundTarget has no ParticleSystem (or no ParticleSystemRenderer for the renderer module).
missing_parameterMissing module or fields_json.
invalid_moduleUnknown module value (see the table above).
invalid_fields_jsonfields_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

ToolMutatingDestructiveLifecycleNotes
particle_system_getnonononeRuntime state + opt-in module data.
particle_system_modifyyesnoeditor_settlePer-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.

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.