agentleFS
batihandevbatihandev/unity-mcp-skills/skills/asset/SKILL.md

unity-asset

Skill7 starsChanged 7 months agoMITView on GitHub

Use when users want to import, move, delete, duplicate, or organize project assets.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this module to import external files into the project, move or rename assets, delete assets, search for assets, create folders, or …

    line 10
  2. Distinctive:

    Import an external file into the project.

    line 43
  3. Distinctive:

    Import multiple external files.

    line 51
  4. Distinctive:

    Delete an asset from the project.

    line 58
  5. Distinctive:

    Create a folder in the project.

    line 112
  6. Distinctive:

    Use consistent naming conventions

    line 172
  7. Distinctive:

    Use search filters for efficiency

    line 174

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unity Asset Skills

When to Use

Use this module to import external files into the project, move or rename assets, delete assets, search for assets, create folders, or refresh the AssetDatabase. For import settings (texture compression, audio load type, model scale) use the importer module instead.

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

Quick Reference

SingleBatchUse Batch When
asset_importasset_import_batchImporting 2+ files
asset_deleteasset_delete_batchDeleting 2+ assets
asset_moveasset_move_batchMoving 2+ assets

No batch needed: asset_duplicate, asset_find, asset_create_folder, asset_refresh, asset_get_info, asset_reimport, asset_reimport_batch, asset_set_labels, asset_get_labels

For asset search, use the native Unity_FindProjectAssets tool. For multi-filter-group searches in a single task, call it once per filter group — the tool takes a single query string plus startIndex pagination, not a batched filter array.

Common Mistakes

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
  • For material creation → use material module
  • For script creation → use script module

Skills

asset_import

Import an external file into the project.

ParameterTypeRequiredDescription
sourcePathstringYesExternal file path
destinationPathstringYesProject destination

asset_import_batch

Import multiple external files.

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

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

asset_delete

Delete an asset from the project.

ParameterTypeRequiredDescription
assetPathstringYesAsset path to delete

asset_delete_batch

Delete multiple assets.

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

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

asset_move

Move or rename an asset.

ParameterTypeRequiredDescription
sourcePathstringYesCurrent asset path
destinationPathstringYesNew path/name

asset_move_batch

Move multiple assets.

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

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

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: {success, count, assets: [path]}

asset_create_folder

Create a folder in the project.

ParameterTypeRequiredDescription
folderPathstringYesFull folder path

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: [...]}


Recipe path rule: ../../recipes/asset/<command>.md

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.