unity-light

unity-light is a skill for Claude Code, Codex from batihandev/unity-mcp-skills. It costs 21 tokens per session (1,719 once invoked), scanned A, original, MIT.

Unity lighting tools for creating and configuring directional, point, spot, and area lights. Lights control how objects appear in a Unity scene.

In plain words
What is it for?
Use them to create lights, change color, intensity, range, and shadows, enable or disable lights, and configure lightmaps, reflection probes, or light probe groups.
Why use it?
They provide the correct operations for changing light properties and handling several lights at once, avoiding unsupported commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them to create lights, change color, intensity, range, and shadows, enable or disable lights, and configure lightmaps, reflection probes, or light probe groups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/batihandev/unity-mcp-skills/light
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.

Any agent
npx skills add batihandev/unity-mcp-skills --skill light
Clone the repo
git clone --depth 1 https://github.com/batihandev/unity-mcp-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-light

README.md
[![agentmods](https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/light/github.svg)](https://agentmods.dev/skills/batihandev/unity-mcp-skills/light)
Your own site
<a href="https://agentmods.dev/skills/batihandev/unity-mcp-skills/light"><img src="https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/light/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unity-light

Your own site · 80×15
<a href="https://agentmods.dev/skills/batihandev/unity-mcp-skills/light"><img src="https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/light.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.01719
Opus 5.5 $0.00008 $0.00688
Sonnet 5.5 $0.00004 $0.00344
Haiku 4.5 $0.00002 $0.00172

Measured 3mo ago against content hash 17432a05e369, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-light 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 3mo 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.

skills/light/SKILL.md · 176 lines

How it starts

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

Unity Light Skills

Overview

BATCH-FIRST: Use *_batch skills when operating on 2+ lights.

Common Mistakes

DO NOT (common hallucinations):

  • light_add does not exist → use light_create (creates a new light GameObject)
  • light_set_color / light_set_intensity do not exist → use light_set_properties (sets color, intensity, range, shadows together)
  • light_delete does not exist → use gameobject_delete on the light's GameObject
  • light_set_shadow does not exist → use light_set_properties with shadows parameter ("none"/"hard"/"soft")

Routing:

  • For lightmap baking settings → light_get_lightmap_settings (this module)
  • For reflection probes → light_add_reflection_probe (this module)
  • For light probe groups → light_add_probe_group (this module)

Object Targeting: All single-object skills accept name (string) and instanceId (int, preferred). Provide at least one. path (hierarchy path) is also accepted where noted.

Skills Overview

Single Object Batch Version Use Batch When
light_set_properties light_set_properties_batch Configuring 2+ lights
light_set_enabled light_set_enabled_batch Toggling 2+ lights

No batch needed:

  • light_create - Create a light
  • light_get_info - Get light information
  • light_find_all - Find all lights (returns list)

Light Types

Type Description Use Case
Directional Parallel rays, no position Sun, moon
Point Omnidirectional from a point Torches, bulbs
Spot Cone-shaped beam Flashlights, spotlights
Area Rectangle/disc (baked only) Windows, soft lights

Skills

light_create

Create a new light.

Parameter Type Required Default Description
name string No "New Light" Light name
lightType string No "Point" Directional/Point/Spot/Area
x, y, z float No 0,3,0 Position
r, g, b float No 1,1,1 Color (0-1)
intensity float No 1 Light intensity
range float No 10 Range (Point/Spot)
spotAngle float No 30 Cone angle (Spot only)
shadows string No "soft" none/hard/soft

Read the full file on GitHub · 176 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. 3mo ago First seen · 176 lines · 21 tokens per session scan A 17432a05e369

Subscribe to this mod's changes

unity-light is a skill published in the GitHub repository batihandev/unity-mcp-skills (7 stars, last pushed 18d ago), licensed MIT. It adds 21 tokens to every session and 1,719 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

unity-light compared with skills from other repositories

unity-light next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-lightbatihandev/unity-mcp-skillsSkill718d agoMITA21Claude Code, Codex
unity-csharpWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA28Claude Code, Codex
godot-csharpgamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A111Claude Code
pufferlibforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A83Claude Code, Codex
ability-systemjame581/GodotPrompterSkill1.0kyesterdayMITA37Claude Code
addon-developmentjame581/GodotPrompterSkill1.0kyesterdayMITA24Claude Code
ai-navigationjame581/GodotPrompterSkill1.0kyesterdayMITA26Claude Code