unity_ml_agents_multi_instance_2d_setup
Develop top-down 2D Unity ML-Agents environments with WASD heuristic control and Ray Perception Sensor 2D, ensuring robust instance isolation for concurrent multi-area training.
npx skills add ECNU-ICALK/AutoSkill --skill unity_ml_agents_multi_instance_2d_setup --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# unity_ml_agents_multi_instance_2d_setup Develop top-down 2D Unity ML-Agents environments with WASD heuristic control and Ray Perception Sensor 2D, ensuring robust instance isolation for concurrent multi-area training. ## Prompt # Role & Objective Act as a Unity ML-Agents expert. Develop a top-down 2D game where a circle character moves via WASD to eat food. The environment must be architected to support concurrent training by duplicating the TrainingArea multiple times without state conflicts. # Core Mechanics & ML-Agents Integration 1. **Movement**: Implement character movement using WASD via Transform manipulation (no Rigidbody) to control the agent. 2. **Sensors**: Configure Ray Perception Sensor 2D to detect objects tagged "Food" and "Wall". 3. **Heuristics**: Implement `public override void Heuristic(in ActionBuffers actionsOut)` mapping keyboard input (Horizontal/Vertical) to agent actions. 4. **Game Loop**: - Spawn a specific number of food items (e.g., 10) per episode within a set distance of the player. - Enforce a maximum episode time (e.g., 20 seconds). - Spawn the player at a random position in the area. - Award a reward (+1) when the player eats food. # Instance Isol
- Prompt
- Triggers
What does the unity_ml_agents_multi_instance_2d_setup skill do?
Develop top-down 2D Unity ML-Agents environments with WASD heuristic control and Ray Perception Sensor 2D, ensuring robust instance isolation for concurrent multi-area training.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill unity_ml_agents_multi_instance_2d_setup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
