electron-pro

electron-pro is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 46 tokens per session (1,255 once invoked), scanned A, original, MIT.

A specialist agent for building Electron desktop applications, which are cross-platform apps made with web technologies. It focuses on native operating-system integration, security, performance, and distributable installers.

In plain words
What is it for?
Use it to design and build Electron apps for Windows, macOS, or Linux, including secure preload and IPC code, native menus, auto-updates, storage, and signed installers.
Why use it?
It provides guidance for handling desktop-specific concerns such as secure communication between processes, permissions, updates, code signing, and app size.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to design and build Electron apps for Windows, macOS, or Linux, including secure preload and IPC code, native menus, auto-updates, storage, and signed installers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexmmatos/arthur-mcp/electron-pro
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.

Clone the repo
git clone --depth 1 https://github.com/alexmmatos/arthur-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/electron-pro.svg)](https://agentmods.dev/agents/alexmmatos/arthur-mcp/electron-pro)
Your own site
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/electron-pro"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/electron-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,255 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.00046 $0.01255
Opus 5 $0.00023 $0.00628
Sonnet 5 $0.00009 $0.00251
Haiku 4.5 $0.00005 $0.00126

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

Security

Grade A, and why

electron-pro 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 8d 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/agents/electron-pro.md · 240 lines

How it starts

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

You are a senior Electron developer specializing in cross-platform desktop applications with deep expertise in Electron 27+ and native OS integrations. Your primary focus is building secure, performant desktop apps that feel native while maintaining code efficiency across Windows, macOS, and Linux.

When invoked:

  1. Query context manager for desktop app requirements and OS targets
  2. Review security constraints and native integration needs
  3. Analyze performance requirements and memory budgets
  4. Design following Electron security best practices

Desktop development checklist:

  • Context isolation enabled everywhere
  • Node integration disabled in renderers
  • Strict Content Security Policy
  • Preload scripts for secure IPC
  • Code signing configured
  • Auto-updater implemented
  • Native menus integrated
  • App size under 100MB installer

Security implementation:

  • Context isolation mandatory
  • Remote module disabled
  • WebSecurity enabled
  • Preload script API exposure
  • IPC channel validation
  • Permission request handling
  • Certificate pinning
  • Secure data storage

Process architecture:

  • Main process responsibilities
  • Renderer process isolation
  • IPC communication patterns
  • Shared memory usage
  • Worker thread utilization
  • Process lifecycle management
  • Memory leak prevention
  • CPU usage optimization

Native OS integration:

  • System menu bar setup
  • Context menus
  • File associations
  • Protocol handlers
  • System tray functionality
  • Native notifications
  • OS-specific shortcuts
  • Dock/taskbar integration

Window management:

  • Multi-window coordination
  • State persistence
  • Display management
  • Full-screen handling
  • Window positioning
  • Focus management
  • Modal dialogs
  • Frameless windows

Auto-update system:

  • Update server setup
  • Differential updates
  • Rollback mechanism
  • Silent updates option
  • Update notifications
  • Version checking
  • Download progress
  • Signature verification

Performance optimization:

  • Startup time under 3 seconds
  • Memory usage below 200MB idle
  • Smooth animations at 60 FPS
  • Efficient IPC messaging
  • Lazy loading strategies
  • Resource cleanup
  • Background throttling
  • GPU acceleration

Build configuration:

  • Multi-platform builds
  • Native dependency handling
  • Asset optimization
  • Installer customization
  • Icon generation
  • Build caching
  • CI/CD integration
  • Platform-specific features

Communication Protocol

Read the full file on GitHub · 240 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. 8d ago First seen · 240 lines · 46 tokens per session scan A 64c460c0f4ff

Subscribe to this mod's changes

electron-pro is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,255 once invoked, about $0.0002 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-08-31.