Skills Explorer Add Skills

manage-sprite-atlas

An agent skill by Unity-Technologies, from Unity-Technologies/unity-agent-plugin. Tags: assets, automation, build-tool, optimization, sprites.

What it does

Manage SpriteAtlas using prebuild pipeline with IPreprocessBuildWithReport (DEFAULT approach). Use it to configure master atlases, variant atlases, texture settings, packing settings, and platform-specific configurations. Use when the user asks about creating sprite atlases, optimizing sprites, configuring atlas settings, adding sprites to atlases, creating variant atlases, implementing automated atlas generation, or runtime sprite atlas access. Always use prebuild approach unless user explicitly requests manual authoring.

Install

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

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

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/manage-sprite-atlas ~/.claude/skills/manage-sprite-atlas

Safety box score

Grade C, moderate risk: 32 of 100 risk points, rated 2026-10-19. 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 automates SpriteAtlas authoring inside Unity, including build-time generation/configuration, importer changes, and an optional Addressables-based runtime loader. The main risks are automatic project-file writes during builds and the Addressables path, which can load atlas content on demand and may move data off-machine depending on project setup.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It ships executable C# that Unity will run in-editor/build, including `resources/spriteatlasprebuildgenerator.cs` (`IPreprocessBuildWithReport`) and `resources/buildaddressablespostprocess.cs` (`IPostprocessBuildWithReport`), but it is bounded to the Unity build pipeline rather than arbitrary shell execution.
Network access2 (moderate)The late-binding path uses Addressables (`resources/spriteatlaslatebinding.cs`: `Addressables.LoadAssetAsync<SpriteAtlas>(tag)`) and the docs explicitly describe "On-Demand Loading" with a "network dependency", so atlas content can be fetched externally depending on Addressables configuration.
Filesystem reach2 (moderate)The scripts create, save, import, and refresh `.spriteatlasv2` assets (`SpriteAtlasAsset.Save`, `AssetDatabase.ImportAsset`, `AssetDatabase.Refresh`), and one example deletes/recreates an existing file, so the skill can modify project files broadly under `Assets/`.
Secrets & credentials0 (none)There is no evidence of token, password, keychain, `.env`, browser-session, or other credential access.
Privilege & persistence0 (none)The shipped code does not request sudo, service installation, shell startup edits, or OS-level configuration.
Instruction hijack surface0 (none)I found no hidden text, remote-instruction fetching, or prompts to ignore safety rules; the files are imperative documentation, but not prompt injection.
Irreversible actions2 (moderate)The default flow runs automatically in `OnPreprocessBuild()` and the docs say "No manual menu clicks required", so the skill can generate/update atlases and Addressables entries without a separate human step during builds.
Transparency1 (low)Most shipped source is readable, but `resources/updatebuildscripts.cs` could not be read (`not read: size or budget`), leaving one unreviewed part of the skill.

Before installing

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

Source

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