assets-get-data

Retrieve serialized fields and properties from Unity project assets.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill assets-get-data-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: assets-get-data
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/assets-get-data
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill assets-get-data-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Inspecting the internal data of Unity assets such as Materials, ScriptableObjects, and Prefabs normally requires opening the Unity Editor and clicking through the Inspector. This Skill lets you programmatically read all serializable fields and properties of any asset in the Assets or Packages folders directly from the command line. ## Core Features & Use Cases - Full Asset Serialization: Returns every serializable field and property of a UnityEngine.Object asset as structured JSON, including nested fields and properties. - Flexible Asset Referencing: Locate assets by instanceID, asset path (starting with 'Assets/'), or asset GUID. - Use Case: You want to audit the configuration of a ScriptableObject used for game settings. Run the tool with the asset's path to get a complete JSON dump of its values without launching the Unity Editor. ## Quick Start Ask the AI to get the data of the asset at 'Assets/Settings/GameConfig.asset' using the assets-get-data tool.

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 without opening the Editor?▼

Run the assets-get-data tool through unity-mcp-cli with an assetRef pointing to the asset by instanceID, path, or GUID. It returns all serializable fields and properties as structured JSON.

What asset types can I inspect with this Unity tool?▼

Any UnityEngine.Object asset located in the Assets or Packages folders works, including Materials, ScriptableObjects, and Prefabs. The tool serializes all readable fields and properties regardless of asset type.

How do I reference a Unity asset if I don't know its instanceID?▼

Provide the assetPath starting with 'Assets/' or the assetGuid instead of the instanceID. You can also use the assets-find tool first to locate the asset and obtain its reference values.

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 objects are recursively serialized into nested member lists.