assets-modify

Automate Unity asset modifications using reflection, path-based changes, and JSON patching.

Updated Aug 26, 2025
One-click install
npx skills add https://github.com/infotechsrealm/PanicAtThePond --skill assets-modify-infotechsrealm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-modify
Source: https://github.com/infotechsrealm/PanicAtThePond/tree/main/.claude/skills/assets-modify
Command: npx skills add https://github.com/infotechsrealm/PanicAtThePond --skill assets-modify-infotechsrealm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of modifying asset files within Unity projects, eliminating the need for manual editing.

Core Features & Use Cases

  • Modify Asset Content: Replace or override the content of existing assets.
  • Path-based Modifications: Apply changes to specific fields within an asset.
  • JSON Patch Support: Utilize JSON Merge Patch for complex modifications.
  • Use Case: If you need to update a material's color for all instances in a scene, this Skill can automate that process without manually modifying each instance.

Quick Start

Use the assets-modify skill to update the color of all Materials in 'Assets/Textures' to blue.

Frequently Asked Questions about assets-modify

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

FAQPage Schema
How do I automate Unity asset modification for multiple files?

Automating Unity asset modification is handled by applying path-based changes, full content replacement, or JSON patching via reflection. This eliminates manual editing when you need to update multiple asset files simultaneously.

Can I use JSON patch to update specific fields in Unity assets?

Yes, JSON patch support allows you to utilize JSON Merge Patch for complex modifications. This mechanism applies changes to specific fields within an asset without replacing the entire file content.

What is the best way to batch update material properties in a Unity scene?

Batch updating material properties in a Unity scene is achieved by applying path-based modifications to target specific fields. You can automate updating a material's color across all instances without manual intervention.

Does this asset modification approach require manual Unity scene interaction?

No, this asset modification approach does not require manual Unity scene interaction. It automates precise asset adjustments using reflection, directly targeting files in directories like 'Assets/Textures' programmatically.

When should I use reflection-based asset modification over manual editing in Unity?

Reflection-based asset modification should be used when you need precise asset adjustments across many files. It replaces manual editing by supporting full content replacement and targeted path-based changes automatically.

Are there limitations to modifying Unity assets via reflection and JSON patches?

Modifying Unity assets via reflection and JSON patches is limited to replacing content, applying path-based field changes, and JSON Merge Patching. Complex structural asset transformations outside these patching methods are not supported.