Logo van Unity Skills

Unity Skills

CommunityPopulair
Besty0728
unity-skills

Automate the Unity Editor through a local REST API — create and edit scripts, build scenes and prefabs, manage assets/materials/lighting, run tests, and drive hundreds of Editor operations across modules. Use when the user wants to actually operate the Unity Editor from chat — create or modify GameObjects/scripts/scenes/assets, batch-edit, or run Editor automation — in any language. Not needed for conceptual Unity Q&A that touches no Editor state — read the matching advisory doc under skills/ instead. 当用户要从对话里实际操作 Unity 编辑器(创建/修改/批量编辑/运行测试)时使用,任何语言均可触发;纯概念问答无需本协议。

Add to TypingMind

Overzicht

UitgeverBesty0728
RepositoryUnity-Skills
Skillnaamunity-skills
Sterren
1.8K
Forks
164
Meegeleverde bestanden
92
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 92

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Besty0728 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Unity Skills in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.

Gebruik deze skill in TypingMind

Schakel Unity Skills in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Unity Skills automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Unity Skills niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Unity Skills

Module and reference docs are English-only. Match requests to modules by meaning in any language, and always reply in the user's language.

Route first: automate, or guide the user?

  • Automate — you call REST skills and drive the Editor yourself. Stay here when the user asked you to do it, or the task needs traversal, search, batch, exact numeric values, or consistency across many objects.
  • Guide — you name the menus and Inspector fields and write nothing through REST. Switch to SKILL_GUIDE.md (guidance boundary table + manual-* routing) when the user asked how to do it themselves, or /health reports a surfaceProfile other than full.

First Contact Checklist

Before the first skill call in a session:

  1. GET /health — discover the server (ports 8090–8100); read currentMode ("approval" / "auto" / "bypass"), panelApprovalRequired, pendingCount, and surfaceProfile (full / guide / noSceneAuthoring). surfaceProfileHint is text only when the profile is not full, else null.
  2. Branch on currentMode: under approval the first write to any FullAuto skill returns MODE_RESTRICTED and needs a grant; under auto/bypass writes execute directly (self-assess risk under auto). Grants are single-shot; the permanent form is the user-managed Allowlist. Gates, grant protocol and mode table → operating mode.
  3. GET /skills/meta — once per session: the constants shared by every skill (categories, operationTypes, reservedBodyParameters, workflowTrackedSkills, schemaVersion, defaults). Read them here, not out of each manifest, then start discovery.

Schema: pick the cheapest layer

Server-cached (ETag/304), off the main thread; send Accept-Encoding: gzip.

LayerEndpointSizeUse when
Default: start hereGET /skills/recommend?intent=...&includeSchema=true4–14 KBOne intent; scored candidates + schemas. topN caps how many (default 10), wire=v2 about halves it.
directory + categoryGET /skills then GET /skills/schema?category=<Category>~19 KB + 13–44 KBTouches one or two areas.
summaryGET /skills?summary=1~143 KBExploratory / cross-module, or cheaper layers left you unsure.
full schemaGET /skills/schema~618 KBRare; many modules' signatures at once.

Bare GET /skills is the brief directory — names by category only; the old full listing needs ?full=1.

Module docs and the scoped schema are complements: schema has exact signatures; the module doc has guardrails, return shapes and traps schema omits. On an unfamiliar module read both.

Wire format v2 (?wire=v2)

?wire=v2 slims per-skill entries on ?full=1, /skills/schema (full or scoped), a filtered /skills, and recommend — never bare GET /skills (always the brief directory). v1 is default:

  • A flags array replaces v1's six booleans and adds v2-only longRunning: readOnly, tracksWorkflow, mutatesScene, mutatesAssets, mayTriggerReload, mayEnterPlayMode, longRunning. An absent flag is false.
  • Omitted means default: riskLevel appears only when not "low", supportsDryRun only when false, null members are dropped — an absent key never reads as null.
  • Every v2 response carries a defaults block — take the rule from the payload, don't memorize it.

Execute: batch, dryRun gate, anti-hallucination rules

POST /skills/batch — up to 50 steps per call ({"steps":[{"skill","args"}],"continueOnError":false}; ?mode=dryRun validates every step): the largest round-trip saving available → batch.

Before executing any skill whose exact parameters you don't already hold, dryRun it: POST /skill/<name>?mode=dryRun. Iterate until valid: true, then execute without ?mode=dryRun. valid: true means the four validation error buckets are empty — warnings never block, and target existence is never checked. The top-level authorization ({allowed, blockedBy, currentMode, allowlisted, hint}, plus surfaceProfile on a SURFACE_EXCLUDED block) previews interception: blockedBy is MODE_RESTRICTED, MODE_FORBIDDEN, SURFACE_EXCLUDED, or null when the call would run — settle grants and exclusions there, not on the real call.

After a write, verify in the Editor, not from the echo: *_get_info / *_get_properties, or find_objects_by_name.

RuleRequirement
Uncertain parametersMust dryRun first. Never guess parameters from a skill name.
Skill name mismatchIf the name does not appear in schema/recommend results, do not invent it.
Call failureRead suggestedFixes; when pointed to a module doc, actually read it.

Surface profile

surfaceProfile says which slice of the skill surface the user exposed. You cannot change it — the user switches it in the UnitySkills panel. (guideMode is legacy; surfaceProfile is authoritative.)

ProfileHiddenWhat to do
fullnothingNormal automation.
guidewrite skills in GameObject, Component, Material, Scene and SampleGive manual steps via SKILL_GUIDE.md and the manual-* docs. Read-only skills there still work, as does every other module.
noSceneAuthoringevery scene-authoring write, incl. any mutatesScene skillDo the rest of the task normally; if it genuinely needs scene authoring, say so and let the user switch back to full.

Calling a hidden skill returns SURFACE_EXCLUDED, and the response names the document to read (or the profile to leave). It is a configuration boundary, not a failure: never retry it, never route around it through another module.

Module routing

Every skill is named module_verb, so the prefix is the routing key. GET /skills/recommend?intent=... ranks candidates, or read the index — all 80 modules with mode labels, incl. docs-only ones (manual-*, *-design, unity-cli) that define no REST skills → module index.

Error codes quick reference

CodeMeaningPointer
MODE_RESTRICTED / MODE_FORBIDDENNeeds a user grant / needs Bypass or Allowlist.operating mode
SURFACE_EXCLUDEDHidden by the current surfaceProfile."Surface profile" above; read the doc named in the response.
MISSING_PARAM / TARGET_NOT_FOUNDBad or unresolvable arguments.dryRun for the schema; locate the target first.
any other code—error codes — transient ones (COMPILING/RATE_LIMIT/QUEUE_FULL/SERVER_STOPPED) are auto-retried by the Python client.

Observability and Unity CLI pointers

Compilation status, events, analytics → observability. Unity CLI cold start (opt-in, v2.3+) → unity-cli.

Current snapshot: 805 REST skills, 56 source files, 54 categories, 82 module documentation directories (54 REST/module docs + 28 advisory docs), Unity 2022.3+, default timeout 15 minutes.

Python helper: unity-skills/scripts/unity_skills.py

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Aantal overige bestanden: 32.

Veelgestelde vragen

Wat doet de AI-skill Unity Skills?

Automate the Unity Editor through a local REST API — create and edit scripts, build scenes and prefabs, manage assets/materials/lighting, run tests, and drive hundreds of Editor operations across modules. Use when the user wants to actually operate the Unity Editor from chat — create or modify GameObjects/scripts/scenes/assets, batch-edit, or run Editor automation — in any language. Not needed for conceptual Unity Q&A that touches no Editor state — read the matching advisory doc under skills/ instead. 当用户要从对话里实际操作 Unity 编辑器(创建/修改/批量编辑/运行测试)时使用,任何语言均可触发;纯概念问答无需本协议。

Waarom Unity Skills gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Unity Skills bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Unity Skills in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Unity Skills gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Unity Skills gebruiken?

Zoveel als je wilt. Je kunt Unity Skills gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Unity Skills gratis?

Ja. Deze skill is door Besty0728 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇