SkillAgentSearch skills...

Gamesensical.github.io

Lua optimizer that replaces calls to globals with locals (client.log -> client_log)

Install / Use

/learn @gamesensical/Gamesensical.github.io
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GameSensical Lua optimizer

Simple web tool that replaces calls to global functions with calls to local functions and generates a single line of local variable assignments at the top

preview

How it works:

It properly parses the source code (using luaparse) and traverses the AST, detects calls, checks if they're not already defined in the script somewhere and generates that localization line based on that. It also finds calls to already localized functions that aren't defined in the script.

Then it also replaces the 'dot-syntax' with the 'underscore-syntax'. you can just give it a already optimized script and remove that massive header and make it only generate the localization line

Technologies used:

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated5mo ago
Forks2

Languages

JavaScript

Security Score

72/100

Audited on Oct 31, 2025

No findings