Electron App Extractor
Unpacks an installed Electron app's app.asar, restoring original sources from .js.map files or Prettier-formatting minified code.
Dev & CodingIntermediate★ 26,102⑂ 2,884AI score 9/10Last updated: Sep 10, 2026
What it does
Locates an installed Electron desktop app (a macOS .app, a Windows install directory, or an explicit .asar path) and unpacks its app.asar bundle.
- Rebuilds the original project tree into
restored/when.js.mapfiles embedsourcesContent - Prettier-formats minified JS/CSS in place when no usable source map exists
- Always skips
node_modulesand bundler runtime noise - Writes
extract-report.jsonwith counts, warnings, and resolved paths - Supports
--dry-run,--force,--json,--output,--asar, and skip flags
Who it's for
- Developers curious about how a desktop Electron app is built
- Release engineers auditing whether shipped builds leak source maps
- Engineers studying competitor UI implementations for learning purposes
Examples
- "Get the source code of Codex" → original tree restored under
~/Downloads/Codex-electron-extract/restored/ - "Look inside /Applications/Visual Studio Code.app" → asar extracted and unmapped bundles formatted with Prettier
- "Check if our release build still ships source maps" → run with
--dry-runto confirm discovery, then extract and read the report's warnings
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/JimLiu/baoyu-skills/HEAD/skills/baoyu-electron-extract/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/baoyu-electron-extract folder from the GitHub repo JimLiu/baoyu-skills into my ~/.claude/skills/baoyu-electron-extract/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/JimLiu/baoyu-skills.git /tmp/baoyu-skills && mkdir -p ~/.claude/skills && cp -r /tmp/baoyu-skills/skills/baoyu-electron-extract ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and verify you have
bun --versionornpx --version; install Node.js (which provides npx) or bun if neither exists. - Clone the repository:
git clone https://github.com/JimLiu/baoyu-skills.git /tmp/baoyu-skills - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/baoyu-skills/skills/baoyu-electron-extract ~/.claude/skills/ - Restart Claude Code and try a prompt like "extract this Electron app's app.asar".
- The first run is slower because npx downloads
@electron/asarandprettier; network access is required.
View source on GitHub ↗License: MIT