Logo : Unity Skills

Unity Skills

CommunautéPopulaire
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

Présentation

ÉditeurBesty0728
DépôtUnity-Skills
Nom de la compétenceunity-skills
Étoiles
1.8K
Forks
164
Fichiers inclus
92
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 92

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par Besty0728 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Unity Skills dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.

Utilisez cette compétence dans TypingMind

Activez Unity Skills dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Unity Skills dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Unity Skills n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Nombre de fichiers supplémentaires : 32.

Foire aux questions

À quoi sert la compétence IA 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 编辑器(创建/修改/批量编辑/运行测试)时使用,任何语言均可触发;纯概念问答无需本协议。

Pourquoi utiliser Unity Skills sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Unity Skills se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Unity Skills dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Unity Skills ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Unity Skills ?

Autant que vous le souhaitez. Vous pouvez utiliser Unity Skills avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Unity Skills est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par Besty0728 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇