adielmag/clashup/assets-modify
- community
Checking that the SKILL.md file is still in the repository.
Modify an asset file in the project. Use 'assets-get-data' first to inspect the asset structure before modifying. Not allowed to modify asset files in the 'Packages/' folder — modify them in 'Assets/'. Three modification surfaces are available (content, pathPatches, jsonPatch) — see the skill body for details.
Install
npx vskill@latest install adielmag/clashup/assets-modifySKILL.md
Assets / Modify
Three modification surfaces
Use whichever fits the task:
content— fullSerializedMemberoverride (legacy, backwards compatible).pathPatches— list of{path, value}pairs routed throughReflector.TryModifyAt.jsonPatch— JSON Merge Patch routed throughReflector.TryPatch.
When more than one is supplied they run in this order: jsonPatch → pathPatches → content. At least one is required.
Path syntax
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
How to Call
For complex input (multi-line strings, code), save the JSON to a file and use:```bashunity-mcp-cli run-tool assets-modify --input-file args.json```Or pipe via stdin (recommended):```bashunity-mcp-cli run-tool assets-modify --input-file - <<'EOF'{"param": "value"}EOF```
Troubleshooting
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description | |
|---|---|---|---|---|
assetRef | any | Yes | Reference to UnityEngine.Object asset instance. It could be Material, ScriptableObject, Prefab, and any other Asset. Anything located in the Assets and Packages folders. | |
content | any | No | Optional. The asset content. It overrides the existing asset content (legacy path). | |
pathPatches | any | No | Optional. List of path-scoped patches routed through Reflector.TryModifyAt. | |
jsonPatch | string | No | Optional. JSON Merge Patch (RFC 7396, extended with [i]/[key] keys) routed through Reflector.TryPatch. |
Input JSON Schema
Output
Output JSON Schema
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclient/ClashUp.Unity/.claude/skills/assets-modify/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adielmag/clashup/assets-modify)