Borrowing it
Nothing to install: this file belongs to jakildev/IrredenEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jakildev/IrredenEngine/master/.claude/skills/lua-creation-setup/SKILL.mdgit clone --depth 1 https://github.com/jakildev/IrredenEngineWrote 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.
[](https://agentmods.dev/skills/jakildev/irredenengine/lua-creation-setup)<a href="https://agentmods.dev/skills/jakildev/irredenengine/lua-creation-setup"><img src="https://agentmods.dev/badge/skills/jakildev/irredenengine/lua-creation-setup/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.
<a href="https://agentmods.dev/skills/jakildev/irredenengine/lua-creation-setup"><img src="https://agentmods.dev/badge/skills/jakildev/irredenengine/lua-creation-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.02940 |
| Opus 5.5 | $0.00036 | $0.01176 |
| Sonnet 5.5 | $0.00018 | $0.00588 |
| Haiku 4.5 | $0.00009 | $0.00294 |
Grade A, and why
lua-creation-setup 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lua Creation Setup
LuaJIT 2.1 + sol2. C++ registers systems and pipelines; Lua drives entity
creation, configuration, and game logic. Bindings register before
IREngine::init. The API reference for everything below is
engine/script/CLAUDE.md; this skill is
the procedure.
Two paths, often combined, sharing one ComponentId space and archetype graph:
- Expose C++ types to Lua —
lua_bindings.cpp+lua_component_pack.hpp(Part A). - Define components and systems in Lua —
IRComponent.register/IRSystem.registerSystem, emitted as C++ at build time (CODEGEN) or registered at runtime (EVAL) (Part B).
Files
creations/<category>/<name>/: main_lua.cpp (registerLuaBindings → init →
loop), lua_bindings.{hpp,cpp}, lua_component_pack.hpp, config.lua,
main.lua (dofiles scripts/). A codegen creation also runs
irreden_lua_codegen() on its .lua schema from CMakeLists.txt. Minimum
file set and asset staging: creations/CLAUDE.md.
Part A — exposing C++ types
lua_bindings.hpp
#ifndef CREATIONS_MYCREATION_LUA_BINDINGS_H
#define CREATIONS_MYCREATION_LUA_BINDINGS_H
namespace MyCreation {
void registerLuaBindings();
}
#endif
lua_bindings.cpp
#include "lua_bindings.hpp"
#include "lua_component_pack.hpp"
#include <irreden/ir_engine.hpp>
#include <irreden/ir_audio.hpp>
namespace MyCreation {
void registerLuaBindings() {
static bool isRegistered = false;
if (isRegistered) return;
IREngine::registerLuaBindings([](IRScript::LuaScript &luaScript) {
using namespace IRMath;
using namespace IRComponents;
luaScript.registerType<Color, Color(int, int, int, int)>(
"Color", "r", &Color::red_, "g", &Color::green_,
"b", &Color::blue_, "a", &Color::alpha_
);
luaScript.registerType<ivec3, ivec3(int, int, int)>(
"ivec3", "x", &ivec3::x, "y", &ivec3::y, "z", &ivec3::z
);
luaScript.registerEnum<IREasingFunctions>(
"IREasingFunction",
{{"LINEAR_INTERPOLATION", kLinearInterpolation},
{"QUADRATIC_EASE_IN", kQuadraticEaseIn}}
);
registerLuaComponentPack(luaScript);
luaScript.registerCreateEntityFunction<C_MidiSequence>("createMidiSequence");
luaScript.registerCreateEntityBatchFunction<
C_Position3D, C_VoxelSetNew, C_PeriodicIdle>(
"createEntityBatchVoxelPeriodicIdle"
);
luaScript.lua()["IRAudio"] = luaScript.lua().create_table();
luaScript.lua()["IRAudio"]["openMidiOut"] = [](const std::string &name) {
return IRAudio::openPortMidiOut(name);
};
});
isRegistered = true;
}
} // namespace MyCreation
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.
- 2d ago First seen · 308 lines · 89 tokens per session scan A b758caa651a7
lua-creation-setup is a skill published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 2,940 once invoked, about $0.0004 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-11-07.
lua-creation-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lua-creation-setupjakildev/IrredenEngine | Skill | 10 | today | MIT | A | 89 | Claude Code |
| playtest-reportDonchitos/Claude-Code-Game-Studios | Skill | 37k | 21d ago | MIT | A | 20 | Claude Code |
| godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skills | Skill | 7.8k | 12d ago | Apache-2.0 | A | 95 | Claude Code |
| texture-workflowarjun988/blender-skills | Skill | 2.2k | 3d ago | MIT | A | 41 | Claude Code |
| scenario-unreal-gameplayscenario-labs/skills | Skill | 3.5k | yesterday | MIT | A | 121 | Claude Code |
| motionOpenDCAI/GameFactory-3A | Skill | 1.0k | 11d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| unity-addressablesBesty0728/Unity-Skills | Skill | 1.9k | yesterday | MIT | A | 25 | Claude Code, Codex |