electron-core

electron-core is a skill for Claude Code, Codex from adonai-labs/agent-runway. It costs 125 tokens per session (771 once invoked), scanned A, original, MIT.

A set of implementation guidelines for Electron desktop applications. Electron lets developers build desktop apps with web technologies; the guide covers its processes, secure settings, communication between them and testing.

In plain words
What is it for?
It supports structuring Electron apps, exposing carefully checked file access, testing communication with Vitest and Playwright, observing crashes and packaging releases.
Why use it?
It helps avoid unsafe renderer access, overly broad process communication and hard-to-test application structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit It supports structuring Electron apps, exposing carefully checked file access, testing communication with Vitest and Playwright, observing crashes and packaging releases.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/adonai-labs/agent-runway/skill-electron-core/github.svg)](https://agentmods.dev/skills/adonai-labs/agent-runway/skill-electron-core)
Your own site
<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/skill-electron-core"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/skill-electron-core/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-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/skill-electron-core"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/skill-electron-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 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.00125 $0.00771
Opus 5.5 $0.00050 $0.00308
Sonnet 5.5 $0.00025 $0.00154
Haiku 4.5 $0.00013 $0.00077

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

Security

Grade A, and why

electron-core 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 25d 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.

src/stacks/electron/skill-electron-core/SKILL.md · 67 lines

How it starts

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

Electron Core

How to invoke

After agent-runway add electron, the skill is installed into each configured agent's skills directory as electron-core. Use:

  • Cursor: @electron-core or ask an Electron question while editing main, preload, or renderer files (rules auto-attach)
  • Claude Code / other agents: invoke the electron-core skill by name, or ask in context of Electron files

Examples:

  • Is this BrowserWindow configuration secure?
  • How should I expose file access to the renderer?
  • How do I test this IPC handler without launching Electron?
  • How do I capture crashes from the renderer?

Not sure which skill to use? Start with /start — it classifies intent and routes to the right skill.


Guiding principles

Treat the renderer as untrusted web content. Everything else follows from that.

  • Secure defaults are non-negotiable: contextIsolation, sandbox, no nodeIntegration, webSecurity on
  • The main process orchestrates; it must never block — move heavy work to a utilityProcess
  • IPC is an API boundary: narrow, typed, validated (sender and payload) on every call
  • Business logic lives in plain modules with no electron import, so it is testable in isolation
  • Simplicity first: one window manager, one IPC contract, one preload per window type

What this skill helps with

  • Process model and project structure (main / preload / renderer / shared)
  • Secure webPreferences, CSP, navigation and permission handlers, fuses
  • Typed IPC contracts, sender validation, and preload bridges
  • Testing: services and handlers with Vitest, E2E with Playwright
  • Observability: logging, crash reporting, renderer crash recovery
  • Packaging, code signing, and auto-update

Skill files

File Contents
architecture.md Processes, project layout, window manager, dependency rules
patterns.md Typed IPC, preload bridges, utility processes, lifecycle
testing.md Unit tests for services and handlers, renderer tests, Playwright E2E
security.md webPreferences, CSP, navigation, IPC validation, fuses, updates
observability.md Logging, crash reporting, metrics, recovery
reference.md Toolchain, scripts, packaging, common commands

Read the full file on GitHub · 67 lines

Files

What ships with it

6 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. 25d ago First seen · 67 lines · 125 tokens per session scan A 2f688a11a211

Subscribe to this mod's changes

electron-core is a skill published in the GitHub repository adonai-labs/agent-runway (2 stars, last pushed 4d ago), licensed MIT. It adds 125 tokens to every session and 771 once invoked, about $0.0005 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-11-05.

Related

electron-core compared with skills from other repositories

electron-core next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
electron-coreadonai-labs/agent-runwaySkill24d agoMITA125Claude Code, Codex
tech-lead/code-reviewechoVic/boss-skillSkill630yesterdayMITA52Claude Code
review-workcode-yeongyu/oh-my-openagentSkill71ktodaynoneA63Claude Code, Codex
skill-trigger-auditorAlexZio00/sovereign-skillsSkill160todayMITA38Claude Code, Codex
cast-second-opinioncodecast-sh/codecastSkill52todayMITA52Claude Code
full-auditAlexZio00/sovereign-skillsSkill160todayMITA205Claude Code, Codex
ponytail-lazy-senior-devGulajavaMinistudio/awesome-copilot-idSkill961mo agoMITA146Claude Code