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 rajavijayach/electrobun-skills --skill electrobungit clone --depth 1 https://github.com/rajavijayach/electrobun-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/rajavijayach/electrobun-skills/electrobun)<a href="https://agentmods.dev/skills/rajavijayach/electrobun-skills/electrobun"><img src="https://agentmods.dev/badge/skills/rajavijayach/electrobun-skills/electrobun/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/rajavijayach/electrobun-skills/electrobun"><img src="https://agentmods.dev/badge/skills/rajavijayach/electrobun-skills/electrobun.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.00238 | $0.03051 |
| Opus 5 | $0.00119 | $0.01525 |
| Sonnet 5 | $0.00048 | $0.00610 |
| Haiku 4.5 | $0.00024 | $0.00305 |
Grade B, and why
electrobun scanned grade B with 1 finding 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 10d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev How it starts
The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Electrobun
Electrobun is a TypeScript-first desktop app framework using Bun (runtime + bundler) and the system's native webview. Build apps that are ~14MB, with updates ~14KB, and startup <50ms.
Quick Start
Initialize New Project
bunx electrobun init # Interactive scaffold
bun run dev # Development mode
bun run build # Production bundle
Choose from templates:
- hello-world: Minimal starter
- react-tailwind-vite: React + Tailwind + Vite
- svelte: Svelte framework
- photo-booth: Camera access example
- multitab-browser: Tab-based browser example
Project Structure
my-app/
├── electrobun.config.ts # Build configuration
├── src/
│ ├── bun/
│ │ └── main.ts # Main process (Bun)
│ └── views/
│ └── mainview/
│ ├── index.html
│ └── index.ts # Webview frontend
└── package.json
Core Concepts
Main Process vs Webview
- Main Process (
src/bun/main.ts): Runs in Bun, has full system access, manages windows, handles RPC - Webview Process (
src/views/*/index.ts): Runs in OS webview, sandboxed, handles UI, calls RPC
BrowserWindow
Create and manage application windows.
import { BrowserWindow } from "electrobun/bun";
const win = new BrowserWindow({
title: "My App",
url: "views://mainview/index.html",
width: 1200,
height: 800,
frame: true, // Standard window frame
styleMask: ["titled", "closable", "miniaturizable", "resizable"],
});
Key Options:
title: Window titleurl: Load URL (useviews://protocol for bundled views)width,height: Window dimensionsx,y: Window position (optional)frame: Show standard window frame (true/false)styleMask: Array of window controls (macOS)titleBarStyle: "default" | "hidden" | "hiddenInset"trafficLightPosition: Custom position for macOS traffic lights
Methods:
win.loadURL("views://otherview/index.html")
win.setTitle("New Title")
win.resize({ width: 1024, height: 768 })
win.move({ x: 100, y: 100 })
win.show() / win.hide()
win.close()
win.focus()
win.minimize() / win.maximize() / win.fullscreen()
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.
- 10d ago First seen · 464 lines · 0 tokens per session scan B c2c6597ee932
electrobun is a skill published in the GitHub repository rajavijayach/electrobun-skills (11 stars, last pushed 6mo ago), licensed MIT. It adds 238 tokens to every session and 3,051 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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.