reverse-engineer-js
Installation
SKILL.md
Reverse Engineer JS
LLM-assisted deobfuscation of minified / mangled JavaScript using humanifyjs plus surrounding tooling for extracting and reintegrating modules.
Tools at a glance
| Tool | Purpose | When |
|---|---|---|
humanifyjs (npx) |
Rename mangled vars/functions via LLM | Mangled but already valid JS |
prettier / js-beautify |
Reformat single-line minified code | Before humanify, if needed |
webcrack |
Unpack webpack / browserify bundles into per-module files | When bundle is one big file |
| Source-map sleuthing | // # sourceMappingURL=... may exist next to the bundle |
Always check first — beats LLM rename |
Always check for a sourcemap (bundle.js.map or sourceMappingURL comment in the file) before spending tokens on humanify. If found, original sources are recoverable for free.
Default humanify invocation
Use Gemini with the lite preview model unless the user says otherwise: