Skip to content
mcp/skillhub

Agent Skill

Baoyu Electron Extract skill

baoyu-electron-extractJimLiu/baoyu-skillsskills/baoyu-electron-extract/SKILL.md

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.

27kMIT

always on

113 tokname + description

once used

2,155 tokSKILL.md body

bundled files

22 scripts

repo stars

27kGitHub

Install the Baoyu Electron Extract skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-electron-extract

Claude Code, by hand (all projects)

git clone --depth 1 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/baoyu-electron-extract

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description113 tok
When the agent uses itThe SKILL.md instructions2,155 tok
Only if opened2 bundled files (29 KB)varies

Until it is used, baoyu-electron-extract costs about 12× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 22 skills from JimLiu/baoyu-skills would load 2,004 tokens of descriptions. Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Electron App Extract
  • User Input Tools
  • Script Directory
  • When to use
  • Workflow
  • Source-map path restoration
  • Usage
  • Options
  • Output layout
  • Notes

More skills from JimLiu/baoyu-skills

All skills in this repo
  1. baoyu-article-illustratorJimLiu/baoyu-skills

    Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

    27k60 tok idle · 3,942 in use
  2. baoyu-comicJimLiu/baoyu-skills

    Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

    27k161 tok idle · 5,171 in use
  3. baoyu-compress-imageJimLiu/baoyu-skills

    Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.

    27k148 tok idle · 584 in use
  4. baoyu-cover-imageJimLiu/baoyu-skills

    Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

    27k80 tok idle · 4,234 in use
  5. baoyu-danger-gemini-webJimLiu/baoyu-skills

    Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.

    27k2573 tok idle · 1,559 in use
  6. baoyu-danger-x-to-markdownJimLiu/baoyu-skills

    Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to markdown", "tweet to markdown", "save tweet", or provides x.com/twitter.com URLs for conversion.

    27k1660 tok idle · 1,793 in use
  7. baoyu-diagramJimLiu/baoyu-skills

    Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Output is always a standalone .svg file.

    27k1146 tok idle · 3,352 in use
  8. baoyu-format-markdownJimLiu/baoyu-skills

    Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beautify article", "add formatting", or improve article layout. Outputs to {filename}-formatted.md.

    27k361 tok idle · 3,175 in use