moai-framework-electron

moai-framework-electron is a skill for Claude Code from modu-ai/moai-adk. It costs 41 tokens per session (2,771 once invoked), scanned A, original, Apache-2.0.

A development guide for Electron desktop apps, which package web technologies as applications for Windows, macOS, and Linux. It covers the separate processes used for the interface and native system work.

In plain words
What is it for?
It helps build cross-platform Electron apps, connect interface code to native features, add automatic updates, and package releases.
Why use it?
It helps developers handle communication, updates, and packaging concerns that are specific to desktop apps built with Electron.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Good fit It helps build cross-platform Electron apps, connect interface code to native features, add automatic updates, and package releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-adk/moai-framework-electron
About the project

MoAI-ADK is a Go-based harness that organizes and verifies Claude Code work across planning, implementation, synchronization, and review stages. Developers use it to structure agentic coding tasks, apply quality gates, and route work across language models, while the catalogue entries extend its workflow with skills, hooks, commands, MCP servers, instructions, and settings.

modu-ai/moai-adk · 1,200 stars · on GitHub · adk.mo.ai.kr

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 modu-ai/moai-adk --skill moai-framework-electron
Clone the repo
git clone --depth 1 https://github.com/modu-ai/moai-adk

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 moai-framework-electron

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-framework-electron.svg)](https://agentmods.dev/skills/modu-ai/moai-adk/moai-framework-electron)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/moai-framework-electron"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-framework-electron.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, 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 MCP Rug Pull · line 258
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 258
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00041 $0.02771
Opus 5 $0.00020 $0.01385
Sonnet 5 $0.00008 $0.00554
Haiku 4.5 $0.00004 $0.00277

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

Security

Grade A, and why

moai-framework-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 5d 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.

.moai/archive/skills/v2.16/moai-framework-electron/SKILL.md · 329 lines

How it starts

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

Electron 33+ Desktop Development

Quick Reference

Electron 33+ Desktop App Development Specialist enables building cross-platform desktop applications with web technologies.

Auto-Triggers: Electron projects detected via electron.vite.config.ts or electron-builder.yml files, desktop app development requests, IPC communication pattern implementation

Core Capabilities

Electron 33 Platform:

  • Chromium 130 rendering engine for modern web features
  • Node.js 20.18 runtime for native system access
  • Native ESM support in main process
  • WebGPU API support for GPU-accelerated graphics

Process Architecture:

  • Main process runs as single instance per application with full Node.js access
  • Renderer processes display web content in sandboxed environments
  • Preload scripts bridge main and renderer with controlled API exposure
  • Utility processes handle background tasks without blocking UI

IPC Communication:

  • Type-safe invoke/handle patterns for request-response communication
  • contextBridge API for secure renderer access to main process functionality
  • Event-based messaging for push notifications from main to renderer

Auto-Update Support:

  • electron-updater integration with GitHub and S3 publishing
  • Differential updates for smaller download sizes
  • Update notification and installation management

Packaging Options:

  • Electron Forge for integrated build tooling and plugin ecosystem
  • electron-builder for flexible multi-platform distribution

Security Features:

  • contextIsolation for preventing prototype pollution
  • Sandbox enforcement for renderer process isolation
  • Content Security Policy configuration
  • Input validation patterns for IPC handlers

Project Initialization

Creating a new Electron application requires running the create-electron-app command with the vite-typescript template. Install electron-builder as a development dependency for packaging. Add electron-updater as a runtime dependency for auto-update functionality.

For detailed commands and configuration, see reference.md Quick Commands section.

Read the full file on GitHub · 329 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. 5d ago First seen · 329 lines · 41 tokens per session scan A 99c9c0794f95

Subscribe to this mod's changes

moai-framework-electron is a skill published in the GitHub repository modu-ai/moai-adk (1,200 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 2,771 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-09-03.