Agent skill

Electron Wrapper

by brianlovin in brianlovin/agent-config

Wrap a Bun web app into an Electron desktop app with native window management, auto-updates, code signing, and CI/CD distribution.

No licenceAuto-check passedMobile

Install Electron Wrapper

skills CLI
$ npx skills add brianlovin/agent-config --skill electron-wrapper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brianlovin/agent-config electron-wrapper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brianlovin/agent-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/electron-wrapper .claude/skills/electron-wrapper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
electron-wrapper
GitHub stars
377
Token cost
~2.3k tokens
SKILL.md length
940 words
Files
6 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

Wrap a Bun web app into an Electron desktop app with native window management, auto-updates, code signing, and CI/CD distribution.

  • Works in 4 steps: Project Setup → Main Process → Web App Adaptation → …
  • The user wants to create a native desktop application from an existing Bun-based web server
  • SKILL.md covers Architecture, Phase 1: Project Setup, Phase 2: Main Process and Phase 3: Web App Adaptation, plus 5 more sections
  • Calls bun, git and gh; needs APPLE_CERTIFICATE_PASSWORD and APPLE_PASSWORD

What it does

Electron Wrapper is an agent skill from brianlovin/agent-config. Wrap a Bun web app into an Electron desktop app with native window management, auto-updates, code signing, and CI/CD distribution. Use when the user wants to create a native desktop application from an existing Bun-based web server, package it for macOS/Windows, set up auto-updating, or handle Electron UX concerns like drag regions and traffic lights. Also use when cutting releases or tagging versions for Electron apps.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/build-and-distribute.md`, `references/main-process.md` and `references/pitfalls.md`).

It sits in Mobile, covering App store release and CI/CD. It works with macOS and npm. The repository describes itself as: My coding agent config.

When your agent uses it

  • The user wants to create a native desktop application from an existing Bun-based web server
  • Package it for macOS/Windows
  • Set up auto-updating
  • Handle Electron UX concerns like drag regions and traffic lights

Example prompts

  • “/electron-wrapper”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Project Setup
  2. Main Process
  3. Web App Adaptation
  4. Build & Distribution

What it can do on your machine

Read from SKILL.md and the folder at commit 1a9819e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • git
    • gh
    • npm
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • APPLE_CERTIFICATE_PASSWORD
    • APPLE_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Electron Wrapper loads about 2.3k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 940 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~17k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 940 words (~2,287 tokens).

“This skill guides wrapping an existing Bun web server into a native desktop app using Electron. It's based on a proven implementation that solved every major integration challenge.”

— opening of SKILL.md by brianlovin
name
electron-wrapper

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/electron-wrapper of brianlovin/agent-config.

  • SKILL.md
  • references/build-and-distribute.md
  • references/main-process.md
  • references/pitfalls.md
  • references/project-setup.md
  • references/web-adaptation.md

Open the folder on GitHubat commit 1a9819e

Compare with similar skills

Electron Wrapper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Electron Wrapper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Electron Wrapper this skillbrianlovin/agent-config377—~2.3kAutomated safety check: PassNone
Electron Releasepedronauck/skills634—~1.6kAutomated safety check: NotesNone
Releasearul28/ADE114—~17kAutomated safety check: PassAGPL-3.0
Releasevaayne/mori303—~1.2kAutomated safety check: PassMIT
CI CD Setuprshankras/claude-code-apple-skills785—~1.5kAutomated safety check: NotesMIT
Electron Builderpedronauck/skills634—~2.7kAutomated safety check: PassNone

Similar skills

  • Electron Release

    pedronauck/skills

    Expert guide for Electron production builds, code signing, notarization, auto-updates, and release workflows.

    634 GitHub stars~1.6k tokensUpdated 24 days ago
    MobileAuto-check: notes
  • Release

    arul28/ADE

    ADE release conductor: detect whether desktop, iOS, and/or the Cloudflare web tier actually changed, bump desktop patch versions, keep iOS marketing versions fixed while bumping build numbers, ship…

    114 GitHub stars~17k tokensUpdated today
    MobileAuto-check passed
  • Release

    vaayne/mori

    Release workflow for Mori macOS workspace terminal and MoriRemote iOS app.

    303 GitHub stars~1.2k tokensUpdated 2 mo ago
    MobileAuto-check passed
  • CI CD Setup

    rshankras/claude-code-apple-skills

    Generate CI/CD configuration for automated builds, tests, and distribution of iOS/macOS apps.

    785 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: notes
  • Electron Builder

    pedronauck/skills

    Comprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows.

    634 GitHub stars~2.7k tokensUpdated 24 days ago
    MobileAuto-check passed
  • Release Flow

    romankurnovskii/BrewMate

    Automate the full application release flow for BrewMate, including committing local changes, bumping version, waiting for GitHub Actions release build, and pushing the in-repo cask update…

    301 GitHub stars~976 tokensUpdated 11 days ago
    DevOps & CloudAuto-check passed

More from brianlovin/agent-config

All 12 skills in this repo
  • Chrome Webstore Release Blueprint

    brianlovin/agent-config

    Guide a user end-to-end through setting up Chrome Web Store API release automation in any repository.

    377 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check: notes
  • Favicon

    brianlovin/agent-config

    Generate a complete set of favicons from a source image and update HTML.

    377 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check: notes
  • Playwriter

    brianlovin/agent-config

    Control the user's currently open Chrome tab through the Playwriter CLI (no new browser launch).

    377 GitHub starsUsed in 1 repo~594 tokens
    Auto-check passed
  • Rams

    brianlovin/agent-config

    Run accessibility and visual design review on components. An agent skill from brianlovin/agent-config.

    377 GitHub starsUsed in 1 repo~801 tokens
    Auto-check passed
  • Reclaude

    brianlovin/agent-config

    Refactor CLAUDE.md files to follow progressive disclosure principles.

    377 GitHub starsUsed in 1 repo~981 tokens
    Auto-check passed
  • Bun

    brianlovin/agent-config

    Use Bun instead of Node.js, npm, pnpm, or vite. An agent skill from brianlovin/agent-config.

    377 GitHub starsUsed in 1 repo~484 tokens
    Auto-check: notes

Works with

Questions about Electron Wrapper

What does Electron Wrapper do?

Wrap a Bun web app into an Electron desktop app with native window management, auto-updates, code signing, and CI/CD distribution. Electron Wrapper is an agent skill from brianlovin/agent-config. Wrap a Bun web app into an Electron desktop app with native window management, auto-updates, code signing, and CI/CD distribution.

When should I use Electron Wrapper?

Electron Wrapper fits situations like: the user wants to create a native desktop application from an existing Bun-based web server; package it for macOS/Windows; set up auto-updating; handle Electron UX concerns like drag regions and traffic lights.

How do I install Electron Wrapper in Claude Code?

Run `npx skills add brianlovin/agent-config --skill electron-wrapper -a claude-code`. Or copy the skill folder (skills/electron-wrapper in brianlovin/agent-config) into .claude/skills/electron-wrapper in your project. Claude Code loads it when a task matches its description.

How do I install Electron Wrapper in Codex?

Run `npx skills add brianlovin/agent-config --skill electron-wrapper -a codex`. Or copy the skill folder (skills/electron-wrapper in brianlovin/agent-config) into .agents/skills/electron-wrapper in your project. Codex loads it when a task matches its description.

Can I use Electron Wrapper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brianlovin/agent-config --skill electron-wrapper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/electron-wrapper, .gemini/skills/electron-wrapper, .github/skills/electron-wrapper and .opencode/skills/electron-wrapper in your project.

What does Electron Wrapper need to run?

Going by SKILL.md and its folder, Electron Wrapper needs the command-line tools its instructions call (bun, git, gh, npm and bash) and credentials named APPLE_CERTIFICATE_PASSWORD and APPLE_PASSWORD. Our summary lists: Node.js.

Does Electron Wrapper access the network?

SKILL.md contains no URLs. Its commands use git, gh and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Electron Wrapper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Electron Wrapper use?

No licence was found for Electron Wrapper or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Electron Wrapper use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.

What are the alternatives to Electron Wrapper?

Skills that share tags, products or a category with Electron Wrapper: Electron Release (pedronauck/skills, 634 stars), Release (arul28/ADE, 114 stars), Release (vaayne/mori, 303 stars) and CI CD Setup (rshankras/claude-code-apple-skills, 785 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Electron Wrapper?

brianlovin (a GitHub user) maintains it in brianlovin/agent-config, which has 377 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on March 25, 2026.

Source: brianlovin/agent-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.