jimliu avatar

Baoyu Electron Extract

Pulls apart any Electron app on your machine and gives you readable source code. Point it at Discord, VS Code, Notion, whatever, and it unpacks the .asar bundle, then goes further: if source maps are present it reconstructs the original file tree from sourcesContent, otherwise it runs Prettier on the minified output so you can actually read it. Handles both macOS and Windows, skips node_modules noise, and has smart path resolution so you get src/main.ts instead of webpack hash garbage. Useful when you want to see how a desktop app implements something or you're debugging an Electron build pipeline. The dry run flag is handy for checking what it found before extraction.

skills.sh installs
8.2K
GitHub stars
27.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add jimliu/baoyu-skills --skill baoyu-electron-extract --agent claude-code

Installs into .claude/skills of the current project.

Files

Electron App Extract

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.

Script Directory

{baseDir} = this SKILL.md's directory. Resolve ${BUN_X}: bun if installed; else npx -y bun; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.

Sponsors

Details

Repository
github.com/jimliu/baoyu-skills
First seen
Jun 11, 2026

More from jimliu/baoyu-skills

All 24

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs