unity-asset

Manage Unity AssetDatabase operations including import, delete, move, duplicate, find, and label assets.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-asset-du-qwq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-asset
Source: https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications/tree/main/.agents/skills/unity-skills/skills/asset
Command: npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-asset-du-qwq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Organizing a Unity project's assets manually through the editor is slow and error-prone, especially when importing, moving, renaming, or deleting many files at once. This Skill exposes the Unity AssetDatabase as callable operations so you can script asset management tasks directly. ## Core Features & Use Cases - Full Asset Lifecycle Operations: Import external files, delete, move/rename, duplicate, reimport, and refresh assets, with batch variants for operating on multiple assets in a single call. - Search and Metadata Queries: Find assets using AssetDatabase search filter syntax (e.g. t:Texture2D player), retrieve asset info, and get or set asset labels. - Safety-Aware Execution Modes: Read-only queries run in SemiAuto mode, write operations require grants, and high-risk operations like import and delete are restricted to Bypass or allowlisted contexts. - Use Case: You downloaded 20 texture files and need them imported into Assets/Textures, then want to move old materials into an archive folder. Use asset_import_batch and asset_move_batch to complete both tasks in two calls instead of dozens of manual editor actions. ## Quick Start Ask the assistant to import the file C:/Downloads/hero.png into Assets/Textures and then find all Texture2D assets named player in the project.

Frequently Asked Questions about unity-asset

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

FAQPage Schema
How do I import external files into a Unity project programmatically?

Use asset_import with a sourcePath and destinationPath, or asset_import_batch with a JSON array of items for multiple files. The batch version returns per-item success results so you can verify each import.

How do I search for assets in Unity by type or name?

Use asset_find with AssetDatabase search filter syntax, such as t:Texture2D for type, l:Label for labels, or plain text for names. Filters can be combined, for example t:Material player, and results are limited by the limit parameter.

How do I rename or move a Unity asset?

Use asset_move with the current sourcePath and the new destinationPath; there is no separate rename operation. For multiple assets, asset_move_batch accepts a JSON array of source and destination pairs.

Why does asset_delete or asset_import return MODE_FORBIDDEN?

These operations are flagged high-risk and marked NeverInSemi, so they are blocked in Approval and Auto modes. They only execute in Bypass mode or when the caller matches an allowlist entry.

Can I create materials or scripts with the asset module?

No, asset_create does not exist. Use asset_create_folder for folders, the material module for materials, and the script module for scripts; texture and model import settings belong to the importer module.