unity-decal

unity-decal is a skill for Claude Code, Codex from Besty0728/Unity-Skills. It costs 13 tokens per session (1,598 once invoked), scanned A, original, MIT.

A skill for creating and configuring Decal Projectors in Unity’s Universal Render Pipeline, the part of Unity that draws game scenes. Decals are images or materials projected onto surfaces such as walls, floors, or characters.

In plain words
What is it for?
Use it to add decals, change Decal Projector properties, find existing projectors, or enable the required Decal Renderer Feature.
Why use it?
It handles the Unity settings needed for decals to appear correctly, including the renderer feature that enables them.

Skill for Claude CodeCodex

About the project

UnitySkills is a REST API-based automation engine that lets AI coding agents control Unity Editor projects, including scenes and other editor operations. It is for developers using Unity with supported coding agents and IDEs. The catalogue skills and commands provide the agent workflows used to operate Unity projects through the engine.

Besty0728/Unity-Skills · 1,707 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/besty0728/unity-skills/decal
Any agent
npx skills add Besty0728/Unity-Skills --skill decal
Clone the repo
git clone --depth 1 https://github.com/Besty0728/Unity-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unity-decal

README.md
[![agentmods](https://agentmods.dev/badge/skills/besty0728/unity-skills/decal.svg)](https://agentmods.dev/skills/besty0728/unity-skills/decal)
Your own site
<a href="https://agentmods.dev/skills/besty0728/unity-skills/decal"><img src="https://agentmods.dev/badge/skills/besty0728/unity-skills/decal.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00013 $0.01598
Opus 5 $0.00006 $0.00799
Sonnet 5 $0.00003 $0.00320
Haiku 4.5 $0.00001 $0.00160

Measured 5d ago against content hash 5c977f3d8a90, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

unity-decal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SkillsForUnity/unity-skills~/skills/decal/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Adding decals in URP
  • Configuring a Decal Projector
  • Enabling the Decal Renderer Feature
  • 在 URP 中添加贴花、配置 Decal Projector、启用 Decal Renderer Feature

Decal Skills

URP Decal Projector creation and configuration (URP only; HDRP decal APIs are not covered here).

Operating Mode

  • Query skills (decal_get_info, decal_find_all) are SkillMode.SemiAuto — they run in all three modes without grant.
  • Mutating skills (decal_create, decal_set_properties, decal_set_properties_batch, decal_ensure_renderer_feature) are SkillMode.FullAuto — under Approval they need user grant (grant triggers one server-side execute returning the result); under Auto / Bypass they execute directly.
  • decal_delete carries SkillOperation.Delete and is auto-forbidden in Approval / Auto modes (NeverInSemi). Only Bypass or the user-managed Allowlist can run it.

URP Package Stub

This module is compiled against com.unity.render-pipelines.universal (URP). When URP is not installed, every skill returns a stub { error: "Universal Render Pipeline package … is not installed." } (RenderPipelineSkillsCommon.NoURP()). The stub is a diagnostic payload, not a permission denial — it does not require grant and is not treated as NeverInSemi.

Guardrails

Routing:

  • For renderer feature management in general: urp
  • For DecalProjector scene operations: this module

Runtime-first rules:

  • Call decal_ensure_renderer_feature before assuming the current URP renderer is decal-ready
  • Use decal_get_info / decal_find_all to discover real projector state before editing
  • decal_set_properties_batch expects items to be a JSON array string
  • This module targets the URP Decal workflow first; do not assume HDRP decal APIs are covered here

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 123 lines · 13 tokens per session scan A 5c977f3d8a90

Subscribe to this mod's changes

unity-decal is a skill published in the GitHub repository Besty0728/Unity-Skills (1,707 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 1,598 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

2dimg2motion

Use when a user provides one baseline image and requests game animation frames, sprite sequences, attack/walk/idle/hit/death/casting motion, transparent PNG frames, a spritesheet, keyframe prompts, or consistent whole-character pose animation.

WU-HAOTIAN34/2dimg2motion · 55 tokens

dotcraft-unity

Use when dotcraft-unity MCP, CLI, or unityexecutecsharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides background-first Unity Editor automation through MCP or CLI.

DotHarness/dotcraft-unity · 64 tokens

img2mo-learn

Learn reusable 2D motion-generation knowledge from user-specified action resources with /img2mo-learn . Use when the user provides videos, extracted frame sequences, spritesheets, Spine assets, generated outputs, failed attempts, or reference motion folders and wants to summarize animation timing, pose beats, style…

WU-HAOTIAN34/2dimg2motion · 104 tokens

zu-article-image-skill

为已完成的 Markdown 文章设计语义配图位置,按内置 preset/type/style/palette 样式体系生成可编辑自然语言生图 Prompt,并作为隐藏标签插入文章;用户确认后扫描标签,调用当前运行时原生 imagegen 生成图片并插回文章。用于用户要求为文章配图、规划正文插图、调整文章插图风格或根据文章内 Prompt 标签生成图片时。.

wwenj/zu-article-image-skill · 100 tokens

msh-exam-analysis

名师汇出国自动化工具集。两个功能:(1) 模考错题分析——用户提供 mingshihuichuguo.com/homework/student/ 网址,按"手写版"人味风格产出阅读/听力错题分析 txt;(2) 单词听写自动化——用户要求完成 list 听写/单词测试时,用 playwright-cli + runv5.js 自动答题。根据用户意图自动判断用哪个。When the user mentions 错题分析 / 模考 / 听写 / 单词 / list / mingshihuichuguo URL, use this skill.

JiHuiYiYou/msh-skill · 144 tokens

drift-auditor

中文漂移审计。用于项目或学习过程变乱、上下文漂移、任务分叉、多个方案冲突时。由 workflow-system 或其他子技能调用。.

1139030773-cmd/agent-workflow-system · 44 tokens