Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Electron App Extractor

Unpacks an installed Electron app's app.asar, restoring original sources from .js.map files or Prettier-formatting minified code.

Dev & CodingIntermediate26,1022,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.map files embed sourcesContent
  • Prettier-formats minified JS/CSS in place when no usable source map exists
  • Always skips node_modules and bundler runtime noise
  • Writes extract-report.json with 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

  1. "Get the source code of Codex" → original tree restored under ~/Downloads/Codex-electron-extract/restored/
  2. "Look inside /Applications/Visual Studio Code.app" → asar extracted and unmapped bundles formatted with Prettier
  3. "Check if our release build still ships source maps" → run with --dry-run to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal and verify you have bun --version or npx --version; install Node.js (which provides npx) or bun if neither exists.
  2. Clone the repository: git clone https://github.com/JimLiu/baoyu-skills.git /tmp/baoyu-skills
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/baoyu-skills/skills/baoyu-electron-extract ~/.claude/skills/
  5. Restart Claude Code and try a prompt like "extract this Electron app's app.asar".
  6. The first run is slower because npx downloads @electron/asar and prettier; network access is required.