electron-react-skill

electron-react-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 69 tokens per session (3,857 once invoked), scanned A, original, Apache-2.0.

A skill for building cross-platform desktop applications with Electron, React, and TypeScript. Electron lets a web interface run as a desktop app with access to system features such as files, notifications, databases, and SSH sessions.

In plain words
What is it for?
Use it to create desktop clients with React interfaces, database connections, SSH or SFTP sessions, file handling, clipboard access, notifications, and tray support.
Why use it?
It brings the desktop process, web interface, and bridge between them into one development approach.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is preload: join(__dirname, '../preload/index.js'),.

Good fit Use it to create desktop clients with React interfaces, database connections, SSH or SFTP sessions, file handling, clipboard access, notifications, and tray support.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills
agentmods
npx agentmods add skills/jiushiwon/wg-skills/electron-react-skill

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-react-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/electron-react-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/electron-react-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,857 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.00069 $0.03857
Opus 5.5 $0.00028 $0.01543
Sonnet 5.5 $0.00014 $0.00771
Haiku 4.5 $0.00007 $0.00386

Measured 1mo ago against content hash bb0779603536, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

electron-react-skill 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 1mo 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.

frontend/electron/electron-react-skill/SKILL.md · 597 lines

How it starts

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

技术栈:Electron + React + TypeScript + electron-vite 参考项目:super-shell(生产级桌面客户端)

electron-react-skill

基于 electron-vite + React + TypeScript 构建跨平台桌面应用

技术架构

┌─────────────────────────────────────────────────────┐
│                    Electron App                       │
├─────────────────────────────────────────────────────┤
│  Main Process (Node.js)                              │
│  ├── 数据库连接 (MySQL/PostgreSQL/MongoDB/Redis)   │
│  ├── SSH/SFTP 会话管理                              │
│  ├── 系统能力 (文件/剪切板/通知/托盘)               │
│  └── IPC Handler                                    │
├─────────────────────────────────────────────────────┤
│  Preload Script (桥接层)                             │
│  └── contextBridge.exposeInMainWorld                │
├─────────────────────────────────────────────────────┤
│  Renderer Process (React)                             │
│  ├── UI 组件 (React + CSS)                          │
│  ├── 状态管理 (Context/Hooks)                       │
│  └── IPC Invoke                                     │
└─────────────────────────────────────────────────────┘

项目结构

project/
├── electron/
│   ├── main/           # 主进程
│   │   ├── index.ts   # 入口
│   │   ├── database.ts # 数据库连接
│   │   ├── ssh.ts     # SSH 会话
│   │   └── ...
│   └── preload/        # 预加载
│       └── index.ts
├── src/
│   ├── renderer/      # React 应用
│   │   ├── components/
│   │   ├── hooks/
│   │   ├── store/
│   │   ├── App.tsx
│   │   └── main.tsx
│   └── ...
├── electron.vite.config.ts
└── package.json

快速开始

1. 初始化项目

npm create @electron-vite/create@latest my-app -- --template react-ts
cd my-app
npm install

2. 核心配置

// electron.vite.config.ts
import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  main: {
    plugins: [externalizeDepsPlugin()],
    build: {
      rollupOptions: {
        external: ['better-sqlite3', 'ssh2', 'mysql2', 'pg', 'redis', 'mongodb']
      }
    }
  },
  preload: {
    plugins: [externalizeDepsPlugin()]
  },
  renderer: {
    resolve: {
      alias: { '@': resolve('src/renderer') }
    },
    plugins: [react()]
  }
})

Read the full file on GitHub · 597 lines

Files

What ships with it

5 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. 1mo ago First seen · 597 lines · 69 tokens per session scan A bb0779603536

Subscribe to this mod's changes

electron-react-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 69 tokens to every session and 3,857 once invoked, about $0.0003 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-10-12.

Related

electron-react-skill compared with skills from other repositories

electron-react-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
electron-react-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A69Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99ktodayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k7d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14ktodayMITA42Claude Code
onchainkitalsk1992/CloddsBotSkill3.1k17d agoMITA24Claude Code, Codex