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.
npx skills add adonai-labs/agent-runway --skill skill-electron-coregit clone --depth 1 https://github.com/adonai-labs/agent-runwayWrote 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.
[](https://agentmods.dev/skills/adonai-labs/agent-runway/skill-electron-core)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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-coreor ask an Electron question while editing main, preload, or renderer files (rules auto-attach) - Claude Code / other agents: invoke the
electron-coreskill by name, or ask in context of Electron files
Examples:
- Is this
BrowserWindowconfiguration 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, nonodeIntegration,webSecurityon - 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
electronimport, 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 |
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.
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.
- 25d ago First seen · 67 lines · 125 tokens per session scan A 2f688a11a211
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.
electron-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| electron-coreadonai-labs/agent-runway | Skill | 2 | 4d ago | MIT | A | 125 | Claude Code, Codex |
| tech-lead/code-reviewechoVic/boss-skill | Skill | 630 | yesterday | MIT | A | 52 | Claude Code |
| review-workcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 63 | Claude Code, Codex |
| skill-trigger-auditorAlexZio00/sovereign-skills | Skill | 160 | today | MIT | A | 38 | Claude Code, Codex |
| cast-second-opinioncodecast-sh/codecast | Skill | 52 | today | MIT | A | 52 | Claude Code |
| full-auditAlexZio00/sovereign-skills | Skill | 160 | today | MIT | A | 205 | Claude Code, Codex |
| ponytail-lazy-senior-devGulajavaMinistudio/awesome-copilot-id | Skill | 96 | 1mo ago | MIT | A | 146 | Claude Code |