Unity Asset logo

Unity Asset

CommunityPopular
Besty0728
unity-asset

Manage Unity AssetDatabase operations

Overview

PublisherBesty0728
RepositoryUnity-Skills
Skill nameunity-asset
Stars
1.8K
Forks
164
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Besty0728 on GitHub. Read the source before you install it.

Installation

Install the Unity Asset AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Unity Asset in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Unity Asset on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Unity Asset is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Organizing project assets
  • Importing or relocating files
  • Querying asset metadata
  • Scripting AssetDatabase operations
  • 整理工程资源、导入或移动文件、查询资源元数据、脚本化 AssetDatabase 操作

Unity Asset Skills

BATCH-FIRST: Use *_batch skills when operating on 2+ assets.

Operating Mode

  • Approval:本模块 Mixed —— asset_find / asset_get_info / asset_get_labelsSkillMode.SemiAuto,可直接执行;写类 skill (asset_move / asset_move_batch / asset_duplicate / asset_create_folder / asset_create_folder_batch / asset_refresh / asset_reimport* / asset_set_labels) 走默认 SkillMode.FullAuto,需 grant。
  • Auto / Bypass:FullAuto 直接执行。
  • 含 NeverInSemi 高危 skillasset_import / asset_import_batch (标 RiskLevel = "high" —— 写入项目);asset_delete / asset_delete_batch (Operation.Delete)。这些在 Approval/Auto 下返 MODE_FORBIDDEN,仅 Bypass 或 Allowlist 命中可调。

DO NOT (common hallucinations):

  • asset_create does not exist → use asset_create_folder (folders), material_create (materials), script_create (scripts)
  • asset_rename does not exist → use asset_move with new path
  • asset_search does not exist → use asset_find with searchFilter syntax (e.g. t:Texture2D player)
  • asset_copy does not exist → use asset_duplicate

Routing:

  • For texture/model/audio import settings → use importer module (SkillMode.FullAuto)
  • For material creation → use material module (SkillMode.FullAuto)
  • For script creation → use script module

Skills Overview

Single ObjectBatch VersionUse Batch When
asset_importasset_import_batchImporting 2+ files
asset_deleteasset_delete_batchDeleting 2+ assets
asset_moveasset_move_batchMoving 2+ assets
asset_create_folderasset_create_folder_batchCreating 2+ folders

No batch needed:

  • asset_duplicate - Duplicate single asset
  • asset_find - Search assets (returns list)
  • asset_refresh - Refresh AssetDatabase
  • asset_get_info - Get asset information
  • asset_reimport - Force reimport asset
  • asset_reimport_batch - Reimport multiple assets

Skills

asset_import

Import an external file into the project.

ParameterTypeRequiredDescription
sourcePathstringYesExternal file path
destinationPathstringYesProject destination

asset_import_batch

Import multiple external files.

ParameterTypeRequiredDefaultDescription
itemsjson stringYes-JSON array of per-item objects (see example below)

items currently expects a JSON string, not a native array.

Returns: {success, totalItems, successCount, failCount, results: [{success, sourcePath, destinationPath}]}

python
import json

unity_skills.call_skill("asset_import_batch", items=json.dumps([
    {"sourcePath": "C:/Downloads/tex1.png", "destinationPath": "Assets/Textures/tex1.png"},
    {"sourcePath": "C:/Downloads/tex2.png", "destinationPath": "Assets/Textures/tex2.png"}
]))

asset_delete

Delete an asset from the project.

ParameterTypeRequiredDescription
assetPathstringYesAsset path to delete

asset_delete_batch

Delete multiple assets.

ParameterTypeRequiredDefaultDescription
itemsjson stringYes-JSON array of per-item objects (see example below)

items currently expects a JSON string, not a native array.

Returns: {success, totalItems, successCount, failCount, results: [{success, path}]}

python
import json

unity_skills.call_skill("asset_delete_batch", items=json.dumps([
    {"path": "Assets/Textures/old1.png"},
    {"path": "Assets/Textures/old2.png"}
]))

asset_move

Move or rename an asset.

ParameterTypeRequiredDescription
sourcePathstringYesCurrent asset path
destinationPathstringYesNew path/name

asset_move_batch

Move multiple assets.

ParameterTypeRequiredDefaultDescription
itemsjson stringYes-JSON array of per-item objects (see example below)

items currently expects a JSON string, not a native array.

Returns: {success, totalItems, successCount, failCount, results: [{success, sourcePath, destinationPath}]}

python
import json

unity_skills.call_skill("asset_move_batch", items=json.dumps([
    {"sourcePath": "Assets/Old/mat1.mat", "destinationPath": "Assets/New/mat1.mat"},
    {"sourcePath": "Assets/Old/mat2.mat", "destinationPath": "Assets/New/mat2.mat"}
]))

asset_duplicate

Duplicate an asset.

ParameterTypeRequiredDescription
assetPathstringYesAsset to duplicate

asset_find

Find assets by search filter.

ParameterTypeRequiredDefaultDescription
searchFilterstringYes-Search query
limitintNo50Max results to return

Search Filter Syntax:

FilterExampleDescription
t:Typet:Texture2DBy type
l:Labell:ArchitectureBy label
nameplayerBy name
Combinedt:Material playerMultiple filters

Returns: {count, totalFound, assets: [{path, name, type}]}

asset_create_folder

Create a folder in the project.

ParameterTypeRequiredDescription
folderPathstringYesFull folder path

asset_create_folder_batch

Create multiple folders.

ParameterTypeRequiredDefaultDescription
itemsjson stringYes-JSON array of per-item objects (see example below)

items currently expects a JSON string, not a native array. The parent folder of each entry must already exist, so order nested folders outermost-first within one call.

Returns: {success, totalItems, successCount, failCount, results: [{target, success, path, guid}]}

python
import json

unity_skills.call_skill("asset_create_folder_batch", items=json.dumps([
    {"folderPath": "Assets/Art"},
    {"folderPath": "Assets/Art/Textures"}
]))

asset_refresh

Refresh the AssetDatabase after external changes.

No parameters.

asset_get_info

Get information about an asset.

ParameterTypeRequiredDescription
assetPathstringYesAsset path

asset_reimport

Force reimport of an asset.

ParameterTypeRequiredDescription
assetPathstringYesAsset path to reimport

asset_reimport_batch

Reimport multiple assets matching a pattern.

ParameterTypeRequiredDescription
searchFilterstringNoAssetDatabase search filter (default *)
folderstringNoFolder root to search (default Assets)
limitintNoMax assets to reimport (default 100)

asset_set_labels

Set labels on an asset (overwrites existing labels).

ParameterTypeRequiredDescription
assetPathstringYesAsset path
labelsstringYesComma-separated labels (e.g. "ui,icon,hud"). Empty entries are dropped

Returns: {success, assetPath, labels: [...]}

asset_get_labels

Get the labels currently attached to an asset.

ParameterTypeRequiredDescription
assetPathstringYesAsset path

Returns: {success, assetPath, labels: [...]}


Minimal Example

python
import unity_skills

# GOOD: 1 API call instead of 4
unity_skills.call_skill("asset_move_batch", items=[
    {"sourcePath": "Assets/tex1.png", "destinationPath": "Assets/Textures/tex1.png"},
    {"sourcePath": "Assets/tex2.png", "destinationPath": "Assets/Textures/tex2.png"},
    {"sourcePath": "Assets/tex3.png", "destinationPath": "Assets/Textures/tex3.png"},
    {"sourcePath": "Assets/tex4.png", "destinationPath": "Assets/Textures/tex4.png"}
])

Best Practices

  1. Organize assets in logical folders
  2. Use consistent naming conventions
  3. Refresh after external file changes
  4. Use search filters for efficiency
  5. Backup before bulk delete operations

Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

Common Errors

Full transport-level codes (COMPILING/RATE_LIMIT etc.) → ../../references/protocol-error-codes.md

ErrorTriggerFix
TARGET_NOT_FOUNDThe source file, asset path, or target asset could not be found.Verify the path with asset_find / asset_get_info, ensure the file exists, and retry with the exact project-relative path.
MISSING_PARAMA required path parameter is empty or not provided (caught by path validation).Provide the required assetPath, sourcePath, destinationPath, or folderPath.
SEMANTIC_INVALIDThe path is invalid (e.g., contains .., does not start with Assets//Packages/, or the folder already exists).Use a normalized project-relative path under Assets/ or Packages/; choose a different folder name if it already exists.
SKILL_ERRORA low-level AssetDatabase or filesystem operation failed, such as Failed to delete asset, AssetDatabase.MoveAsset returned an error, or folder creation failed.Resolve the issue described in the message (e.g., close locked files, fix parent path) and retry.

Frequently asked questions

What does the Unity Asset AI skill do?

Manage Unity AssetDatabase operations

Why use Unity Asset on TypingMind?

Because you install it once and use it with any model. Unity Asset is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Unity Asset in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~/skills/asset. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Unity Asset?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Unity Asset?

As many as you like. As long as a model supports skills, you can use Unity Asset with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Unity Asset AI skill free?

Yes. It is published on GitHub by Besty0728 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇