optimize-text-mesh-pro
An agent skill by Unity-Technologies, from Unity-Technologies/unity-agent-plugin. Tags: localization, optimization, performance, text, ui-ux.
What it does
Covers TextMeshPro font stacks, dynamic fallback atlases, padding and sampling ratios, SDF16, AutoSize discipline, worldspace vs UGUI, and Memory Profiler font-data capture. Use when the user mentions TextMeshPro, Text Mesh Pro, TMP (TextMeshPro), font asset, dynamic atlas, TMP localization, CJK (Chinese, Japanese, Korean) fonts, font alignment across scripts, mixed western and eastern fonts, text rendering performance, profiler markers related to text generation or glyph rasterization, font fallback strategy, font normalization, multilingual or localized text rendering, SDF font quality, or text-related memory issues—not for UI Toolkit layout (unity-ui-toolkit) or non-TMP uGUI (unity-ui).
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add Unity-Technologies/unity-agent-plugin --skill optimize-text-mesh-pro
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/optimize-text-mesh-pro ~/.claude/skills/optimize-text-mesh-pro
Safety box score
Grade A, minimal risk: 4 of 100 risk points, rated 2026-10-20. 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 is a documentation-only Unity/TextMeshPro optimization skill: it does not ship code, run commands, or contact external services. The main impact is project-local configuration changes to TMP/font import settings, plus one optional import step that can perturb the Unity project.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 0 (none) | No scripts, shell commands, or code-evaluation paths are present; the file is plain guidance text. |
| Network access | 0 (none) | It only cites a Unity Manual URL; there is no code that downloads or sends data anywhere. |
| Filesystem reach | 1 (low) | The skill directs Unity editor/project-local changes such as `Include Font Data`, `Clear Dynamic Data On Build`, `Create Material Preset`, and `Import TMP Example & Extras`, but nothing outside the project tree. |
| Secrets & credentials | 0 (none) | There is no handling of tokens, passwords, keychains, `.env` files, or browser/session data. |
| Privilege & persistence | 0 (none) | No sudo, service registration, shell startup edits, or OS-level configuration is requested. |
| Instruction hijack surface | 0 (none) | The text contains no hidden prompts or instructions to bypass safeguards; it is straightforward TMP optimization advice. |
| Irreversible actions | 0 (none) | It does not send messages, deploy, publish, pay, book, or delete anything. |
| Transparency | 0 (none) | All content is readable markdown; there are no binaries, installers, or encoded payloads. |
Before installing
- Read the TMP import sections first: they change project font/import settings and may affect existing assets.
- If you rely on TMP Examples & Extras, test the import in a throwaway Unity project because the skill warns about an infinite import loop.
- Check whether `Dynamic OS` and `Clear Dynamic Data On Build` are compatible with your target platforms and localization needs.
Rated 2026-10-20 by an automated review of 1 file from the skill's repository.
Source
- Repository
- Unity-Technologies/unity-agent-plugin (all skills from this repository)
- Path
- skills/optimize-text-mesh-pro/SKILL.md
- Branch
- main
- Updated
- 2026-09-22
Related skills
- expo-animation — Framework (OSS). Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate.
- seo-images — Image optimization analysis for SEO and performance.
- 2d-pixel-perfect — Sets up, diagnoses, and fixes pixel perfect 2D rendering in Unity projects. Use when working on any retro-style or pixel art 2D game.
- localization — Sets up and configures Unity Localization, including locales, String/Asset Tables, CJK font support, and Addressables workflows.
- optimize-audio — Optimizes Unity 6 audio memory, CPU cost, and playback quality through correct import settings and mixer configuration.
- optimize-web — Optimizes Unity 6 WebGL and WebGPU builds for smaller download size, faster initial load, and efficient browser runtime performance.