electron-apps

electron-apps is a skill for Claude Code from ivegamsft/basecoat. It costs 78 tokens per session (416 once invoked), scanned A, original, MIT.

A guide for building secure Electron desktop applications. Electron combines web technologies with a desktop runtime, and this guide covers communication between the app's processes, packaging, updates, and renderer isolation.

In plain words
What is it for?
Use it to design preload and IPC APIs, restrict renderer access, configure secure windows, package and sign installers, implement updates, and review desktop-app tests.
Why use it?
Desktop apps can expose sensitive operating-system access to web-facing code if their boundaries are weak. The guide gives security patterns for IPC, content security policy, secrets, signing, and updates.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to design preload and IPC APIs, restrict renderer access, configure secure windows, package and sign installers, implement updates, and review desktop-app tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivegamsft/basecoat/electron-apps
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ivegamsft/basecoat --skill electron-apps
Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for electron-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivegamsft/basecoat/electron-apps/github.svg)](https://agentmods.dev/skills/ivegamsft/basecoat/electron-apps)
Your own site
<a href="https://agentmods.dev/skills/ivegamsft/basecoat/electron-apps"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/electron-apps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for electron-apps

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivegamsft/basecoat/electron-apps"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/electron-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.00416
Opus 5.5 $0.00031 $0.00166
Sonnet 5.5 $0.00016 $0.00083
Haiku 4.5 $0.00008 $0.00042

Measured 2mo ago against content hash 78ad936b1116, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

electron-apps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/electron-apps/SKILL.md · 40 lines

What it actually says

Electron Application Development

Secure IPC design, preload APIs, packaging, and release automation for production Electron apps.

Agent Pairing

Use with electron-developer or desktop-engineer agents for Electron-specific implementation and review workflows.

Reference Files

File Contents
references/process-architecture.md Main/renderer process model, IPC patterns, Content Security Policy
references/packaging-updates.md State management, Forge packaging, macOS signing, auto-updates
references/testing-security.md Unit tests (Jest), integration tests (WebdriverIO), security checklist

Key Patterns

Pattern Rule
BrowserWindow nodeIntegration: false, sandbox: true, enableRemoteModule: false
IPC contextBridge.exposeInMainWorld + ipcMain.handle — no raw Node in renderer
CSP Strict CSP <meta> tag in every HTML file
State (single window) React Query over window.api.*
State (multi-window) ipcMain broadcast from main process
Secrets process.env in main only — never in renderer or source
Packaging Sign installers, notarize macOS, verify auto-update metadata
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +2 lines 78ad936b1116
  2. 2mo ago First seen · 38 lines · 78 tokens per session scan A 8bfe3751ec83

Subscribe to this mod's changes

electron-apps is a skill published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 416 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-08.

Related

electron-apps compared with skills from other repositories

electron-apps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
electron-appsivegamsft/basecoatSkill41mo agoMITA78Claude Code
architecture-diagrammateaix/mateclawSkill1.2k2d agoApache-2.0A15Claude Code, Codex
makefile-generationathola/claude-night-marketSkill358todayMITA31Claude Code
sitesCloudgeni-ai/opengeniSkill229todayApache-2.0A125Codex
terraform-search-importCloudgeni-ai/opengeniSkill229todayApache-2.0A39Claude Code, Codex
team-topologyCotal-AI/CotalSkill418todayApache-2.0A168Claude Code
skill-managementCloudgeni-ai/opengeniSkill229todayApache-2.0A31Claude Code, Codex