assets-get-data

Retrieve serialized fields and properties from Unity project assets.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-get-data-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-get-data
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/assets-get-data
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-get-data-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Inspecting Unity assets such as Materials, ScriptableObjects, and Prefabs normally requires opening the Unity Editor and manually checking the Inspector. This Skill lets you programmatically read all serializable fields and properties of any asset in the Assets or Packages folders through the unity-mcp-cli command line. ## Core Features & Use Cases - Asset Data Retrieval: Returns every serializable field and property of a UnityEngine.Object asset as structured JSON. - Flexible Asset References: Locate assets by instanceID, asset path, or GUID. - Use Case: After finding a Material with the assets-find tool, pass its reference to this tool to inspect shader properties, colors, and texture assignments without opening the Unity Editor. ## Quick Start Ask the AI to get the data of a Unity asset by providing its asset reference, for example to inspect a Material's serialized properties.

Frequently Asked Questions about assets-get-data

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

FAQPage Schema
How do I get data from a Unity asset programmatically?

Run unity-mcp-cli run-tool assets-get-data with a JSON input containing an assetRef. The assetRef can specify an instanceID, asset path starting with Assets/, or a GUID, and the tool returns all serializable fields and properties as JSON.

What Unity asset types can I inspect with this tool?

Any UnityEngine.Object asset located in the Assets or Packages folders can be inspected, including Materials, ScriptableObjects, and Prefabs. The tool returns the full serialized structure of the asset.

How do I find an asset reference before getting its data?

Use the assets-find tool first to locate the asset and obtain its reference. The description explicitly recommends running assets-find before calling assets-get-data so you have a valid assetRef.

What should I do if unity-mcp-cli is not found?

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.

What format does the asset data output use?

The output is JSON following the SerializedMember schema, containing typeName, name, value, and nested fields and props arrays. Complex input can be passed via a file with --input-file or piped through stdin.