electron-apps

electron-apps is a skill for Claude Code from ivegamsft/basecoat. It costs 78 tokens per session (404 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 404 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.00404
Opus 5 $0.00039 $0.00202
Sonnet 5 $0.00016 $0.00081
Haiku 4.5 $0.00008 $0.00040

Measured yesterday against content hash 8bfe3751ec83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 yesterday.

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 · 38 lines

What it actually says

Electron Application Development

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

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. yesterday 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 yesterday), licensed MIT. It adds 78 tokens to every session and 404 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

ckm:ui-styling

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns…

momaek/tolato · 93 tokens

ckm:design-system

Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.

momaek/tolato · 55 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens