baoyu-electron-extract
Extracts resources and JavaScript from any installed Electron app (`.asar` bundle), restoring original sources from `.js.map` fil…
What it does
- "extract Electron app", "decompile this Electron app", "unpack app.asar"
- "show me the source of <app>", "look inside <app>", "how is <app> built"
- "get the source code of Codex / Cursor / Discord / Slack / VS Code / Notion / Obsidian / ChatGPT desktop"
- "提取 Electron 应用", "看 <app> 的源码", "反编译 Electron", "解包 app.asar", "还原 source map"
- Success → report the output paths and the counts (extracted / restored / formatted).
- Existing non-empty output dir → the script refuses without --force. Ask the user whether to overwrite (--force) or pick a new --output path.
- Unsupported platform / no match → suggest passing --asar /full/path/to/app.asar if the user knows where the bundle lives.
Requirements & configuration
- 4. Point the user at the result. The default output dir is ~/Downloads/<AppName>-electron-extract/. The most interesting subdirectory depends on what was found:
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Extracts resources and JavaScript from any installed Electron app (.asar bundle), restoring original sources from .js.map files when available or formatting minified code with Prettier otherwise. Use when user wants to "extract Electron app", "decompile Electron", "get the source code of node_modules and supports both macOS and Windows.
Source
Repository: https://github.com/jimliu/baoyu-skills
baoyu-electron-extract FAQ
What does the baoyu-electron-extract skill do?
Extracts resources and JavaScript from any installed Electron app (`.asar` bundle), restoring original sources from `.js.map` files when available or formatting minified code with Prettier otherwise. Use when user wants to "extract Electron app", "decompile Electron", "get the source code of <app>", "inspect app.asar", "看 Electron 应用源码", "提取 .asar", or asks how a desktop Electron app is built. Skips `node_modules` and supports both macOS and Windows. "extract Electron app", "decompile this Electron app", "unpack app.asar" "show me the source of <app>", "look inside <app>", "how is <app> built"
What does baoyu-electron-extract require?
4. Point the user at the result. The default output dir is ~/Downloads/<AppName>-electron-extract/. The most interesting subdirectory depends on what was found:
How do I install baoyu-electron-extract?
Run: npx -y skills add https://github.com/jimliu/baoyu-skills --skill baoyu-electron-extract --agent claude-code — the source lives at github.com/jimliu/baoyu-skills.
Maintain baoyu-electron-extract?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/jimliu-baoyu-skills-baoyu-electron-extract?ref=badge) npx agentictools info skills/jimliu-baoyu-skills-baoyu-electron-extract The second line is the CLI lookup for this page — handy in READMEs and docs.