orklev2-lighting

orklev2-lighting is a skill for Claude Code, Codex from tweakoz/orkid. It costs 69 tokens per session (4,471 once invoked), scanned A, original, MIT.

A reference guide for Orkid’s lighting system, covering lights, shadows, light probes, and Python bindings. Orkid is a graphics engine for building real-time 3D scenes.

In plain words
What is it for?
Use it to answer questions about point, directional, spot, and ambient lights, shadow mapping, light probes, light management, and the data sent to the graphics processor.
Why use it?
It saves you from searching through scattered engine source files when you need to understand or change how lighting works.

Skill for Claude CodeCodex

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/tweakoz/orkid/orklev2-lighting
Any agent
npx skills add tweakoz/orkid --skill orklev2-lighting
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

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 orklev2-lighting

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-lighting.svg)](https://agentmods.dev/skills/tweakoz/orkid/orklev2-lighting)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orklev2-lighting"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-lighting.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,471 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.00069 $0.04471
Opus 5 $0.00034 $0.02235
Sonnet 5 $0.00014 $0.00894
Haiku 4.5 $0.00007 $0.00447

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

Security

Grade A, and why

orklev2-lighting 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 3d 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.

.claude/skills/orklev2-lighting/SKILL.md · 299 lines

How it starts

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

Orkid Lighting System Reference

When answering questions about lighting, shadows, or light probes in orkid, consult the files below. All under ork.lev2/.

Key Files

Component File
All Light Classes inc/ork/lev2/gfx/lighting/gfx_lighting.h
Light Implementations src/gfx/lighting/gfx_lighting.cpp
Light Probes src/gfx/lighting/lightprobe.cpp
AO/Lightmap Utils src/gfx/lighting/model_lighting_utils.cpp
Scene Graph Nodes inc/ork/lev2/gfx/scenegraph/scenegraph.h
Sun Cascade / Cookie Driver src/gfx/renderer/NodeCompositor/forward/fwdnode_impl.h + fwdnode_impl_sub.cpp
GPU Shader Interface ../ork.data/platform_lev2/shaders/fxv2/stdtools.i2
Python Bindings pyext/src/pyext_gfx_lighting.cpp
Type Definitions inc/ork/lev2/lev2_types.h

Light Type Hierarchy

DrawableData (ork::Object)
└── LightData (abstract, gfx_lighting.h:70)
    ├── PointLightData (line 286)
    ├── DirectionalLightData (line 347)
    ├── SpotLightData (line 575)
    └── AmbientLightData (line 514)

Drawable
└── Light (abstract, gfx_lighting.h:131)
    ├── PointLight (line 313) / DynamicPointLight (line 336)
    ├── DirectionalLight (line 469) / DynamicDirectionalLight (line 504)
    ├── SpotLight (line 599) / DynamicSpotLight (line 693)
    └── AmbientLight (line 544)

LightData Base (gfx_lighting.h:70–125)

Member Type Default Description
mColor fvec3 RGB color
_intensity float 1.0 Brightness multiplier
_priority float 0.0 Selection rank among lights of the same kind; enumerateInPass sorts the directional list DESCENDING by it, so index 0 is the authoritative sun/cascade pick
_skyBody int 0 Which celestial body this light is for the procedural sky's discs: 0 none, 1 sun, 2 moon (declared, never inferred)
mbShadowCaster bool false Casts shadows?
_shadowsamples int 1 PCF shadow samples
mShadowBlur float 0.0 Shadow softness [0,1]
mShadowBias float 0.002 Shadow depth bias
_cookie asset_ptr_t Cookie texture asset
_decal bool false Render as decal
_shadowMapSize int 1024 Shadow map resolution (DirectionalLightData ctor overrides to 2048)

Read the full file on GitHub · 299 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. 3d ago First seen · 299 lines · 69 tokens per session scan A 6ac44a142d63

Subscribe to this mod's changes

orklev2-lighting is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 23d ago), licensed MIT. It adds 69 tokens to every session and 4,471 once invoked, about $0.0003 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-09-01.

Related

Other skills, from other repositories

luban-dev

Luban 游戏配置全栈工具,支持枚举/Bean/数据表的增删改查、代码生成、TEngine 集成。触发场景:(1) 编辑游戏配置数据(配置表/数据表/道具表/技能表/奖励表/活动表),(2) 新增/修改/删除配置表结构,(3) 定义枚举/Bean/字段,(4) 导表/生成配置代码,(5) 编写 luban.conf 或 Schema 定义,(6) Luban 类型系统/校验器问题。即使用户未明确说"Luban",只要是编辑游戏配置数据,也应使用此技能。.

Alex-Rachel/TEngine · 149 tokens

html-to-ugui

HTML 原型转 Unity UGUI 智能 Prefab 生成管线。通过 AI 生成符合 UI-DSL 的 HTML,用 Playwright/浏览器烘焙 JSON v2 坐标、图片和适配意图,再导入 Unity 由 HtmlToUGUIBaker 生成可维护、多终端适配的 UGUI Prefab。触发场景:(1) 需要从自然语言生成 Unity UGUI 界面 (2) 需要从 HTML 原型烘焙 UGUI (3) UI 中包含图片并希望一键导入/绑定 Sprite (4) 需要 PC/mobile/pad 多终端适配 Prefab。.

Alex-Rachel/TEngine · 150 tokens

metasounds

Create and modify MetaSound Source assets — add/connect nodes, wire pins, set input defaults, and play procedurally (MetaSoundService). Use when the user asks to create a MetaSound, build or edit a MetaSound graph, add operator/input/output nodes, or generate procedural audio.

kevinpbuckley/VibeUE · 63 tokens

dart-model-upgrade

DART Model Upgrade: audit and update DART AI infrastructure for model or coding-agent upgrades, including named models, reasoning modes, migrations, compatibility reviews, and visual simulation-debugging evaluations.

dartsim/dart · 42 tokens

dart-verify-sim

DART Verify Sim: text-first and visual checks for 3D scenes and physics (metrics, scene dump, trajectories, headless render, image verdict/golden).

dartsim/dart · 40 tokens

dart-architecture

DART Architecture: the DART 7 multi-physics, multi-solver, multi-backend simulation pipeline and where each abstraction is owned.

dartsim/dart · 32 tokens