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 jiushiwon/wg-skills --skill electron-vue-init-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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/jiushiwon/wg-skills/electron-vue-init-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/electron-vue-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/electron-vue-init-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.
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/electron-vue-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/electron-vue-init-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00192 | $0.02829 |
| Opus 5 | $0.00096 | $0.01414 |
| Sonnet 5 | $0.00038 | $0.00566 |
| Haiku 4.5 | $0.00019 | $0.00283 |
Grade A, and why
electron-vue-init-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 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.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Electron Vue3 Init Skill
基于 electron-vite(2025 年事实标准)+ Vue3 + TypeScript,面向完全不懂编程的小白,一键生成标准化、开箱即用的桌面端应用骨架。
技术选型(2025 最佳实践)
| 维度 | 选型 | 理由 |
|---|---|---|
| 构建工具 | electron-vite | 替代旧方案(vite-plugin-electron / electron-forge + webpack),社区主流 |
| 前端框架 | Vue 3 + TypeScript | 与 vue-generate-skill 保持一致 |
| 打包工具 | electron-builder | 成熟稳定,支持多平台 |
| IPC 通信 | contextBridge + invoke/handle | 安全最佳实践,禁止 nodeIntegration |
| 状态管理 | Pinia(Setup Store) | 与 vue-generate-skill 一致 |
| 请求层 | fetch(复用 frontend-request-skill) | 不重复造轮子 |
与 vue-generate-skill 的区别
| 维度 | vue-generate-skill | 本 skill |
|---|---|---|
| 目标用户 | 前端开发者 | 零基础小白 |
| 运行环境 | 浏览器 | 桌面端(Electron) |
| 构建工具 | Vite | electron-vite(三进程独立构建) |
| 环境安装 | 用户自己装 | 自动检测 + 自动安装 |
| 打包 | 无 | electron-builder 一键打包 |
| 窗口管理 | 无 | 原生窗口控制(最小化/最大化/关闭) |
| 系统托盘 | 无 | 系统托盘支持 |
| IPC 通信 | 无 | 主进程/渲染进程安全通信 |
| 默认页面 | 无 | 页面中心显示"你好,我是考拉搞AI" |
| 交互次数 | 多个技术问题 | 最多 2 个问题 |
不重复造轮子:
- 请求层复用
frontend-request-skill(桌面端同样用 fetch) - Vue3 部分与
vue-generate-skill保持一致的项目结构和规范 - 主题系统复用
vue-theme-skill的 Token 体系
依赖
- vue-generate-skill:Vue3 项目结构、组件规范
- vue-theme-skill:设计 Token 体系(CSS 变量)
- frontend-request-skill:请求层规范(用于桌面端调用后端 API)
核心能力清单(9 项)
| # | 能力 | 说明 |
|---|---|---|
| 1 | 环境探测 | 自动检测 Node.js 版本(>=18)、npm、操作系统 |
| 2 | 自动安装 | 初始化 npm、安装依赖 |
| 3 | 一键启动 | npm run dev:electron-vite 同时启动主进程 + 渲染进程 |
| 4 | 开发模式 | Vue3 热重载 + Electron 主进程自动重启 |
| 5 | 生产打包 | npm run build:electron-vite 构建 + electron-builder 打包 |
| 6 | 窗口管理 | 原生窗口控制、最小化、最大化、关闭 |
| 7 | 系统托盘 | 最小化到托盘、托盘菜单(可选) |
| 8 | IPC 通信 | contextBridge 安全双向通信 |
| 9 | 默认页面 | 页面中心显示"你好,我是考拉搞AI" |
项目目录结构(electron-vite 标准)
{{project-name}}/
├── electron.vite.config.ts # electron-vite 统一配置
├── electron-builder.json5 # 打包配置
├── package.json # 依赖 + scripts
├── tsconfig.json # 根 TS 配置
├── tsconfig.node.json # 主进程/预加载 TS 配置
├── tsconfig.web.json # 渲染进程 TS 配置
├── src/
│ ├── main/ # Electron 主进程
│ │ └── index.ts # 主进程入口
│ ├── preload/ # 预加载脚本
│ │ ├── index.ts # contextBridge 暴露 API
│ │ └── electron.d.ts # 类型声明
│ └── renderer/ # Vue3 渲染进程
│ ├── index.html # HTML 入口
│ ├── src/
│ │ ├── main.ts # Vue 入口
│ │ ├── App.vue # 根组件
│ │ ├── router/ # 路由
│ │ │ └── index.ts
│ │ ├── stores/ # Pinia 状态管理
│ │ │ ├── index.ts
│ │ │ └── modules/
│ │ ├── views/ # 页面
│ │ │ └── HomeView.vue # 默认页面("你好,我是考拉搞AI")
│ │ ├── components/ # 组件
│ │ ├── api/ # 请求层(复用 frontend-request-skill)
│ │ ├── styles/ # 样式(复用 vue-theme-skill Token)
│ │ │ └── tokens.css
│ │ ├── utils/ # 工具函数
│ │ └── types/ # 类型定义
│ └── env.d.ts # Vite 类型声明
└── resources/ # 应用资源(图标等)
└── icon.png
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.
- 8d ago First seen · 221 lines · 192 tokens per session scan A cfb549793499
electron-vue-init-skill is a skill published in the GitHub repository jiushiwon/wg-skills (99 stars, last pushed yesterday), licensed Apache-2.0. It adds 192 tokens to every session and 2,829 once invoked, about $0.0010 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.
Other skills, from other repositories
fast-typescript-check
Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…
onejs-setup-and-overview
Use this skill whenever the user wants to build or set up user interface in a Unity project using OneJS, React, TypeScript, or JSX, e.g. 'add a main menu to my game', 'build a settings screen', 'make a HUD', 'set up OneJS', 'my OneJS panel is blank', 'the UI is not hot reloading'. Covers confirming OneJS is installed…
typescript-rules
React/TypeScript frontend development rules including type safety, component design, state management, and error handling. Use when implementing React components, TypeScript code, or frontend features.
coding-standards
A set of general coding standards and practical patterns for TypeScript, JavaScript, React, and Node.js. It covers readable naming, simple designs, avoiding repetition, and delaying unnecessary features.
electron-development
Electron development guidelines for building cross-platform desktop applications with JavaScript/TypeScript.
create-custom-widget
Build a Mendix pluggable widget from scratch with React and TypeScript and package it as an .mpk. Use when no marketplace or built-in widget covers what is needed and a custom React component has to be written.