Overview
baoyu-electron-extract is an open-source backend skill for Claude Code and compatible agents, published by JimLiu. Its author describes it as: “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 wan…”. The project has 25k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add JimLiu/baoyu-skills`.
What baoyu-electron-extract does
Extracts resources and code from an installed Electron app's `app.asar`. When a `.js.map` is present, restores the original source files from the embedded `sourcesContent`; otherwise formats the minified code with Prettier. Source-map paths are resolved relative to the `.js.map` file first, so bundled paths like `../../src/main.ts` restore to readable paths such as `restored/src/main.ts` instead of hashed placeholders. Always skips `node_modules`. Works on macOS and Windows.
What’s inside
The SKILL.md for baoyu-electron-extract is organised into these sections:
- User Input Tools
- Script Directory
- When to use
- Workflow
- Source-map path restoration
- Usage
- Options
- Output layout
- Notes
Installation
Add baoyu-electron-extract to your agent with:
/plugin marketplace add JimLiu/baoyu-skills Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
- Codex — declared in the repository topics
License
baoyu-electron-extract is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in JimLiu/baoyu-skills, an established project with 25,129 GitHub stars
- Works with Claude Code, Codex
- Actively maintained — repository updated in the last 90 days
Author
Topics
Alternatives to baoyu-electron-extract
Similar skills from other repositories:
Frequently asked questions
- What does baoyu-electron-extract 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.
- How do I install baoyu-electron-extract?
- Run /plugin marketplace add JimLiu/baoyu-skills in your agent, then reload your skills. Review the source at https://github.com/JimLiu/baoyu-skills before installing.
- Is baoyu-electron-extract free to use?
- Yes. baoyu-electron-extract is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does baoyu-electron-extract work with?
- baoyu-electron-extract lists Claude Code and Codex — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does baoyu-electron-extract come from?
- baoyu-electron-extract ships inside JimLiu/baoyu-skills, a repository that contains 23 catalogued skills in total. The repository's 25,129 GitHub stars apply to that whole collection, not to this skill on its own.