forge-electron

forge-electron is a skill for Claude Code from ForgeyClap/claude-forge. It costs 0 tokens per session (1,114 once invoked), scanned A, original, MIT.

A set of development rules and procedures for building Electron desktop applications, which package web technologies as installable apps for Windows, macOS, and Linux.

In plain words
What is it for?
Use it when developing or reviewing Electron apps, especially their IPC communication, preload scripts, isolation settings, installers, code signing, and auto-updates.
Why use it?
It helps prevent security mistakes in the bridge between the desktop app's web interface and operating-system features, and guides builds, installers, updates, and signing.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Codex.

Good fit Use it when developing or reviewing Electron apps, especially their IPC communication, preload scripts, isolation settings, installers, code signing, and auto-updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forgeyclap/claude-forge/forge-electron
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 ForgeyClap/claude-forge --skill forge-electron
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

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 forge-electron

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-electron/github.svg)](https://agentmods.dev/skills/forgeyclap/claude-forge/forge-electron)
Your own site
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-electron"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-electron/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 forge-electron

Your own site · 80×15
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-electron"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-electron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 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.00000 $0.01114
Opus 5.5 $0.00000 $0.00446
Sonnet 5.5 $0.00000 $0.00223
Haiku 4.5 $0.00000 $0.00111

Measured 20d ago against content hash 0e147e976c68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forge-electron 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 20d 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.

.claude/skills/forge-electron/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Forge playbook — Electron / desktop app

The electron-pro specialist (.claude/agents/electron-pro.md) leads the Electron-specific work under Build Boss or Integration Boss. Renderer UI defers to forge-website (real content, responsive, a11y); anything that talks to a gateway/API defers to forge-integration / forge-payments. Forge context: the an accounting desktop app (accounting) desktop app — offline-first, safe IPC, an installer that opens on a clean machine. Modern Electron (v20+) ships these secure defaults; the rule is to never regress them, and to prove they hold.

Hard rules (verify, don't assume — cite the exact config line)

  • contextIsolation: true on every BrowserWindow — no exceptions. Required even with nodeIntegration off; it is what separates preload/renderer JS contexts from Electron internals.
  • nodeIntegration: false in all renderers. Node reaches the renderer only through a preload contextBridge.exposeInMainWorld with an explicit, minimal API — never a raw ipcRenderer passthrough on window. (Enabling nodeIntegration:true also disables the sandbox for that renderer.)
  • sandbox: true where feasible; webSecurity left enabled; remote module disabled; allowRunningInsecureContent: false.
  • Validated IPC. Every IPC channel validates its payload and (where relevant) sender; the exposed API surface is a small allow-list, not the whole ipcRenderer.
  • Strict CSP — no 'unsafe-eval', no wildcard remote script sources. (CSP limits, not cures, XSS — defense in depth on top of context isolation.)
  • No secrets baked into the bundle. Sensitive data uses OS-appropriate secure storage (Keychain/DPAPI/libsecret — in Electron the built-in safeStorage API, no extra package), not plain files; secrets in env / secure store, never in the packaged asar.
  • A real, signed installer that actually opens. The build produces the intended artifact (e.g. Windows NSIS), the installer installs and launches on a clean machine (verify — don't assume), and auto-update (if in scope) verifies signatures + supports rollback. Never ship an unsigned silent updater.
  • No test/demo/mock/placeholder data in the shipped build (Forge desktop rule).

Read the full file on GitHub · 42 lines

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. 20d ago Changed · -41 tokens per session 0e147e976c68
  2. 28d ago Changed 85b07f7f2896
  3. 1mo ago First seen · 42 lines · 41 tokens per session scan A 43f43e989f4b

Subscribe to this mod's changes

forge-electron is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 21d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,114 tokens. 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-08-31.