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 | Level | Why |
|---|---|---|
| Code & shell execution | 2 (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 access | 2 (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 reach | 2 (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 & credentials | 0 (none) | There is no evidence of token, password, keychain, `.env`, browser-session, or other credential access. |
| Privilege & persistence | 0 (none) | The shipped code does not request sudo, service installation, shell startup edits, or OS-level configuration. |
| Instruction hijack surface | 0 (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 actions | 2 (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. |
| Transparency | 1 (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
- Read `resources/spriteatlasprebuildgenerator.cs` and `resources/buildaddressablespostprocess.cs`; they run automatically during builds.
- Decide whether Addressables should be local-only or remote before using the late-binding path.
- Open `resources/updatebuildscripts.cs` before trusting the full skill, since it was not reviewed here.
- Check for existing `// [UNITY-SKILL:SPRITEATLAS]` scripts so you know whether installation may overwrite project files.
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
Related skills
- sprite-editor — Edits Unity sprite properties by generating C# editor scripts using ISpriteEditorDataProvider APIs.
- stitch::manage-design-system — Manage design systems in Stitch using MCP tools. Includes retrieval of assets, creating/updating design systems in Stitch, and applying them to screens.
- optimize-web — Optimizes Unity 6 WebGL and WebGPU builds for smaller download size, faster initial load, and efficient browser runtime performance.
- sega-32x-gamedev — Create, improve, optimize, and port games for the Sega 32X (Sega Mars) using Chilly Willy's 32XDK toolchain and the DOOM 32X Resurrection (d32xr) codebase as.
- ab-testing — When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.
- ads — When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms.