roblox-luau-core

roblox-luau-core is a skill for Claude Code, Codex from TabooHarmony/roblox-brain. It costs 32 tokens per session (714 once invoked), scanned A, original, MIT.

A reference for Luau, the programming language used by Roblox. It covers language behavior such as tables, control flow, functions, scope, operators, strings, and closures.

In plain words
What is it for?
It is for understanding Luau syntax and semantics, debugging language-level issues, and translating code from other languages.
Why use it?
It helps prevent mistakes caused by assuming Luau behaves exactly like JavaScript, Python, or another language.

Skill for Claude CodeCodex

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

not rated 42repo changed 5d ago A scan Socket: passSnyk: passSkillSpector: pass 32 tokens original MIT

Good fit It is for understanding Luau syntax and semantics, debugging language-level issues, and translating code from other languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tabooharmony/roblox-brain/roblox-luau-core
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 TabooHarmony/roblox-brain --skill roblox-luau-core
Clone the repo
git clone --depth 1 https://github.com/TabooHarmony/roblox-brain

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 roblox-luau-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/tabooharmony/roblox-brain/roblox-luau-core/github.svg)](https://agentmods.dev/skills/tabooharmony/roblox-brain/roblox-luau-core)
Your own site
<a href="https://agentmods.dev/skills/tabooharmony/roblox-brain/roblox-luau-core"><img src="https://agentmods.dev/badge/skills/tabooharmony/roblox-brain/roblox-luau-core/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 roblox-luau-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/tabooharmony/roblox-brain/roblox-luau-core"><img src="https://agentmods.dev/badge/skills/tabooharmony/roblox-brain/roblox-luau-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 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. Third-party audits
  • Socket pass 6 Sept 2026
  • Snyk pass 6 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.00714
Opus 5 $0.00016 $0.00357
Sonnet 5 $0.00006 $0.00143
Haiku 4.5 $0.00003 $0.00071

Measured 5d ago against content hash 662afd729a36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

roblox-luau-core 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.

skills/roblox-luau-core/SKILL.md · 57 lines

How it starts

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

Luau Core Language

When to Load

Load for pure Luau syntax and semantics: truthiness, tables, iteration, functions, scope, operators, string patterns, and ports from JavaScript or Python. Use roblox-luau-types for type annotations, roblox-luau-patterns for ownership and lifecycle, and domain skills for Roblox APIs.

Quick Reference

  • Only false and nil are falsy. 0, "", and {} are truthy.
  • Equality does not coerce types. 0 == "0" is false. Inequality is ~=.
  • Array conventions are 1-based. #array is meaningful only for a sequence without nil gaps.
  • Assigning nil removes a table key. Assigning a table copies the reference. table.clone is shallow.
  • Dictionary iteration order is unspecified. Do not make behavior depend on it.
  • Dynamic keys require brackets: record[field]. Dot syntax uses a literal identifier.
  • Missing arguments become nil; extra results and arguments can be discarded by context.
  • Prefer an if expression over condition and a or b when a may be false or nil.
  • Local names are scoped from their declaration onward. Forward-declare mutually recursive functions.
  • Luau string patterns are not regular expressions. Their syntax and capabilities differ.
  • Backtick interpolation and .. concatenation are both valid. Choose the clearer form; collect many fragments and join once in a hot loop.
  • NaN does not equal itself and defeats </> comparisons; test with x ~= x.
  • Binary data uses the buffer library: fixed size, 0-based offsets, explicit-width reads/writes. Avoid buffer.readinteger/writeinteger (stubs only, not released runtime).
  • For Base64, hashing, or compression use EncodingService (buffers, not strings; JSON still via HttpService). Details: see full reference.
local label = if enabled then "On" else "Off"
local message = `{name}: {score}`

local byId: {[number]: string} = {}
byId[userId] = name

for index, value in values do
    print(index, value)
end

Translation traps

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +1 lines 662afd729a36
  2. 11d ago First seen · 56 lines · 32 tokens per session scan A c4fdbf951a1f

Subscribe to this mod's changes

roblox-luau-core is a skill published in the GitHub repository TabooHarmony/roblox-brain (42 stars, last pushed 5d ago), licensed MIT. It adds 32 tokens to every session and 714 once invoked, about $0.0002 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

gdextension

Use when building native extensions for Godot — godot-cpp (C++) or gdext (Rust), binding classes, building, and GDScript/C# interop.

jame581/GodotPrompter · 38 tokens

unreal-live-coding

Trigger Live Coding compilation via UCP. Use when the user asks to recompile C++ code, trigger live coding, hot reload C++ changes, or check compilation status in Unreal Engine.

Italink/UnrealClientProtocol · 44 tokens

roblox-dev-skill

Core scripting and engine skill for Roblox game development. Covers full-lifecycle development: architecture, Luau scripting, debugging, security, performance, data persistence, networking, and the Roblox Studio environment. MUST use this skill whenever the user mentions: 'Roblox', 'Luau', 'Roblox Studio'…

MSayib/roblox-dev-skill · 145 tokens

reflection-method-call

Call a C# method by reflection — including private methods. Requires a method schema obtained via 'reflection-method-find'. Supports static methods, instance methods (with optional target deserialization), and main-thread / off-thread execution.

IvanMurzak/Unity-MCP · 48 tokens

script-execute

Compiles and executes C# code dynamically using Roslyn. Supports a full-code mode (default) and a body-only mode — see the skill body for the difference and for how to pass Unity object references as parameters.

IvanMurzak/Unity-MCP · 48 tokens

reflection-method-find

Find C# methods across every loaded assembly by name / type / parameters — including private methods. Returns serialized MethodData entries usable as schemas for 'reflection-method-call'.

IvanMurzak/Unity-MCP · 39 tokens