electron-expert

electron-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 59 tokens per session (1,430 once invoked), scanned A, original, Apache-2.0.

An Electron development guide for making desktop apps with a Node.js main process and a Chromium-based user interface. It explains how those processes communicate and how to package apps for Windows, macOS, and Linux.

In plain words
What is it for?
Use it for Electron architecture, inter-process communication, preload scripts, app lifecycle work, and cross-platform packaging.
Why use it?
It clarifies Electron's process boundary and security model, reducing mistakes when connecting interface code to desktop features.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for Electron architecture, inter-process communication, preload scripts, app lifecycle work, and cross-platform packaging.

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

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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/electron-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/electron-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,430 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 80
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00059 $0.01430
Opus 5 $0.00030 $0.00715
Sonnet 5 $0.00012 $0.00286
Haiku 4.5 $0.00006 $0.00143

Measured 4d ago against content hash d4f48b562c6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

electron-expert 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 4d 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.

stdlib/frameworks/electron-expert/SKILL.md · 210 lines

How it starts

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

Electron Expert

You are an expert in Electron framework, desktop application development, and cross-platform packaging.

Core Concepts

Electron Architecture

  • Main Process: Node.js environment, manages app lifecycle and native APIs
  • Renderer Process: Chromium browser, renders UI (HTML/CSS/JS)
  • Preload Scripts: Bridge between main and renderer, context isolation
  • IPC (Inter-Process Communication): Message passing between processes
  • Context Isolation: Security boundary between renderer and Node.js
  • Native Modules: Node.js addons for system-level access

Process Types

  • Main Process: Single process, creates BrowserWindows, handles system events
  • Renderer Process: One per BrowserWindow, isolated from each other
  • Utility Process: Worker processes for heavy tasks (Electron 20+)
  • Service Workers: Background scripts for web content

IPC Communication

  • ipcMain: Main process receiver (handle, on)
  • ipcRenderer: Renderer process sender (invoke, send)
  • contextBridge: Expose APIs to renderer safely
  • Remote Module: Legacy, deprecated (use IPC instead)

App Lifecycle

  1. ready - App initialization complete
  2. window-all-closed - All windows closed
  3. before-quit - Before app quits
  4. will-quit - App is about to quit
  5. quit - App has quit

Security Considerations

  • Enable context isolation
  • Disable Node.js integration in renderer
  • Use preload scripts with contextBridge
  • Validate all IPC messages
  • Implement Content Security Policy (CSP)
  • Use sandboxing when possible
  • Keep Electron updated

Best Practices

Security

  • Always enable context isolation
  • Disable nodeIntegration in renderer
  • Use preload scripts with contextBridge
  • Validate all IPC input
  • Implement Content Security Policy
  • Keep Electron updated
  • Use sandbox mode when possible
  • Never load remote content without verification
  • Sign your applications (macOS/Windows)

Performance

  • Use efficient IPC patterns (invoke/handle over send/on)
  • Lazy load windows and modules
  • Implement proper resource cleanup
  • Use web workers for heavy computation
  • Optimize renderer process code
  • Minimize main process blocking operations
  • Use v8 snapshots for faster startup
  • Profile with Chrome DevTools

Read the full file on GitHub · 210 lines

Files

What ships with it

1 file 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. 4d ago First seen · 210 lines · 59 tokens per session scan A d4f48b562c6a

Subscribe to this mod's changes

electron-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed yesterday), licensed Apache-2.0. It adds 59 tokens to every session and 1,430 once invoked, about $0.0003 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-05.

Related

Other skills, from other repositories

electron-docs

Electron 43.x — process model, IPC, security, performance, distribution, auto-updater, Forge, native modules.

pledgeandgrow/pledge-skills · 29 tokens

cross-platform-desktop

Cross-platform desktop development for macOS and Windows -- platform abstractions, UI convention differences, and multi-platform CI/CD. Activate on: cross-platform app, macOS and Windows, platform differences, DMG installer, MSI installer, NSIS installer, Cmd vs Ctrl, platform abstractions, menu bar differences…

curiositech/windags-skills · 92 tokens

ui-ux-pro-max

UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design…

lewis-hui1202/WPS-AI · 238 tokens

clawrouter

Hosted-gateway LLM router — save 84% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 76 models from OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI, and more. 7 free open-weight models included. Also exposes realtime market data…

BlockRunAI/ClawRouter · 222 tokens

surf

Use this skill — NOT browser or webfetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/ covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT…

BlockRunAI/ClawRouter · 148 tokens

phone

Verify phone numbers (carrier + SIM-swap fraud signals) and place AI-powered outbound voice calls via BlockRun's gateway (Twilio + Bland.ai). Trigger when the user asks to look up a number, check fraud risk, buy/rent a phone number, or place an AI voice call. Payment is automatic via x402 from the wallet.

BlockRunAI/ClawRouter · 72 tokens