Skills Explorer Add Skills

sprite-editor

An agent skill by Unity-Technologies, from Unity-Technologies/unity-agent-plugin. Tags: assets, automation, editor, sprites, validation.

What it does

Edits Unity sprite properties by generating C# editor scripts using ISpriteEditorDataProvider APIs. Handles sprite rectangles, borders, pivots, outlines, and slicing operations (automatic, grid, isometric). Use when working with sprite assets, sprite sheets, texture atlases, or sprite slicing.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add Unity-Technologies/unity-agent-plugin --skill sprite-editor

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/Unity-Technologies/unity-agent-plugin
cp -r unity-agent-plugin/skills/sprite-editor ~/.claude/skills/sprite-editor

Safety box score

Grade C, moderate risk: 21 of 100 risk points, rated 2026-10-14. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill runs C# inside the user’s open Unity Editor to edit sprite importer metadata such as rects, pivots, borders, outlines, and slicing. The main risk is broad in-editor code execution with the ability to bulk rewrite or delete sprite definitions in project assets.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution3 (high)It explicitly runs code with `unity command eval --code '<snippet>'` and says to "Run C# through the connected Editor"; that is live code execution in the Unity Editor.
Network access0 (none)The shipped files do not download from or send data to remote hosts; `SKILL.md` and the helper scripts only describe local Unity Editor and asset operations.
Filesystem reach1 (low)The skill writes sprite metadata back through importer APIs like `SetSpriteRects(...)`, `SetOutlines(...)`, `Apply()`, and `SaveAndReimport()`, but the scope is the project/importer rather than outside the working tree.
Secrets & credentials0 (none)No code or instructions access tokens, keys, passwords, `.env` files, browser sessions, or CLI logins.
Privilege & persistence0 (none)There is no sudo, global install, service registration, shell startup editing, or OS-level privilege change in the shipped files.
Instruction hijack surface0 (none)The files do not tell the agent to ignore rules, hide actions, or follow remote instructions; instead they emphasize capability checks and avoiding manual `.meta` edits.
Irreversible actions2 (moderate)The slicing helpers can bulk replace or delete sprite rects, e.g. `AddNewSpriteMethod.DeleteAll` and `spriteDataProvider.SetSpriteRects(newRects.ToArray())`, which is a real destructive edit even though it stays inside the Unity project.
Transparency0 (none)All reviewed files are plain text source and markdown; there are no binaries, embedded blobs, or runtime-downloaded code in the skill itself.

Before installing

Rated 2026-10-14 by an automated review of 14 files from the skill's repository.

Source

Repository
Unity-Technologies/unity-agent-plugin (all skills from this repository)
Path
skills/sprite-editor/SKILL.md
Branch
main
Updated
2026-09-22