One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-decal-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-decal
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/decal
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-decal-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually placing and tuning decals in Unity's Universal Render Pipeline requires repetitive editor work, and verifying that the renderer supports decals is easy to forget. This Skill exposes programmatic operations to create, inspect, modify, batch-edit, and delete Decal Projectors, and to ensure the Decal Renderer Feature exists on the active URP renderer. ## Core Features & Use Cases - Decal Projector lifecycle: Create projectors with optional material and world position, inspect them by name, instance ID, or hierarchy path, and delete them when no longer needed. - Property and batch editing: Adjust draw distance, fade settings, UV tiling, size, pivot, rendering layer mask, and scale mode on one projector or many via a JSON batch payload. - Renderer readiness: Ensure the target URP renderer has a DecalRendererFeature before relying on decal rendering, with an idempotent result when the feature already exists. - Use Case: While building a URP scene, ask the agent to scatter grime decals across a wall, then batch-tune their fade distances and confirm the renderer feature is enabled. ## Quick Start Create a URP Decal Projector named WallGrime at position 0, 1, -2 using the material at Assets/Materials/Grime.mat, then verify the renderer has the Decal Renderer Feature enabled.

Frequently Asked Questions about unity-decal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a decal in Unity URP programmatically?

Use decal_create with an optional name, material asset path, and world position to spawn a Decal Projector in the scene. Then call decal_ensure_renderer_feature to confirm the active URP renderer can actually render decals.

How do I edit multiple Decal Projectors at once in Unity?

Use decal_set_properties_batch with a JSON array of items, each containing a locator (name, instanceId, or path) plus the properties to change. Each item supports the same fields as decal_set_properties, such as drawDistance, fadeScale, and size.

Does this decal skill work with HDRP?

No, this module targets the Universal Render Pipeline only and does not cover HDRP decal APIs. It is compiled against com.unity.render-pipelines.universal and returns a stub error when URP is not installed.

Why does the decal skill return a URP not installed error?

Every skill in the module returns a stub error when the Universal Render Pipeline package is missing from the project. This is a diagnostic payload, not a permission denial, so install com.unity.render-pipelines.universal to resolve it.

Why can't I delete a Decal Projector in Approval or Auto mode?

decal_delete carries a Delete operation flag and is auto-forbidden in Approval and Auto modes. It only runs under Bypass mode or when explicitly added to the user-managed allowlist.