unity-skill

Control the Unity Editor via a localhost HTTP bridge on port 8081.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Losomz/AI-Unity-Skill --skill unity-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-skill
Source: https://github.com/Losomz/AI-Unity-Skill/tree/main
Command: npx skills add https://github.com/Losomz/AI-Unity-Skill --skill unity-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

The Unity AI control skill enables AI agents to control the Unity Editor by providing an HTTP bridge that runs inside Unity to remotely issue commands.

Core Features & Use Cases

  • Deploys an HTTP server in Unity
  • Exposes endpoints to create and manipulate scene objects and query hierarchy
  • Works in Unity Editor for remote automation tasks

Quick Start

Copy the templates into your Unity project, wait for Unity to compile, and the HTTP server starts listening on localhost:8081.

Frequently Asked Questions about unity-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity Editor scene manipulation from an AI agent?

You can automate Unity scene manipulation by deploying a local HTTP bridge that accepts JSON commands from AI agents to create, delete, and query objects. The bridge runs a localhost server on port 8081 inside the Unity Editor.

Does the Unity HTTP bridge support main-thread safe API calls for remote object creation?

Yes, the Unity HTTP bridge ensures main-thread safety for all Unity API calls. It parses JSON-based commands using Unity JsonUtility to safely execute remote object creation and hierarchy queries.

How do I set up an HTTP server in Unity for remote automation tasks?

To set up the HTTP server in Unity, copy the provided templates into your Unity project. Once Unity compiles the assets, the server automatically starts listening on localhost:8081 for remote automation commands.

Can I use AI to control Unity Editor for automated testing workflows?

Yes, AI agents can control the Unity Editor for automated testing workflows. The HTTP bridge enables remote scene manipulation, object creation, deletion, and hierarchy queries during testing and design automation.

What are the limitations of using a localhost HTTP bridge for Unity AI control?

The HTTP bridge operates on localhost:8081, meaning it is designed for local remote control rather than broad network deployment. It focuses strictly on scene manipulation and hierarchy queries via JSON commands parsed by Unity JsonUtility.

What is the best way to query the Unity hierarchy remotely from a script?

The best way to query the hierarchy remotely is sending JSON-based commands to the local HTTP bridge. The server processes these requests in the Unity Editor and returns hierarchy data safely from the main thread.