assets-modify

Modifies Unity asset files in the Assets folder via the unity-mcp-cli tool.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Editing Unity assets such as Materials, ScriptableObjects, and Prefabs normally requires manual work in the Unity Editor. This Skill lets you modify asset content programmatically through the unity-mcp-cli command line, using structured JSON input. ## Core Features & Use Cases - Asset Content Modification: Override the content of any UnityEngine.Object asset (Material, ScriptableObject, Prefab) located in the Assets folder. - Flexible Asset Referencing: Target assets by instanceID, asset path, or GUID. - Safety Constraint: Assets in the Packages folder are protected and cannot be modified; only Assets folder content is editable. - Use Case: You need to update a Material's color property across a project. First inspect the asset with the assets-get-data tool, then call assets-modify with the new serialized content to apply the change. ## Quick Start Ask the AI to modify a Unity asset by first inspecting it with assets-get-data, then running assets-modify with the asset reference and new content.

Frequently Asked Questions about assets-modify

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

FAQPage Schema
How do I modify a Unity asset from the command line?

Run unity-mcp-cli run-tool assets-modify with a JSON input containing an assetRef (instanceID, path, or GUID) and the new serialized content. For complex multi-line input, save the JSON to a file or pipe it via stdin.

How do I inspect a Unity asset before modifying it?

Use the assets-get-data tool first to inspect the asset's structure and current serialized values. This ensures the content you pass to assets-modify matches the expected SerializedMember schema.

Can I modify assets in the Unity Packages folder?

No, modifying assets in the Packages folder is not allowed. The tool only permits changes to assets located in the Assets folder of the project.

What types of Unity assets can be modified?

Any UnityEngine.Object asset can be modified, including Materials, ScriptableObjects, and Prefabs. The asset is referenced by instanceID, asset path starting with Assets/, or its GUID.

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

Install it globally with npm install -g unity-mcp-cli, or invoke it through npx unity-mcp-cli. Detailed setup steps are available in the unity-initial-setup skill.