llamafarm: Skill for Claude Code

.claude/skills/electron-skills/SKILL.md

electron-skills is a skill for Claude Code from llama-farm/llamafarm. It costs 25 tokens per session (783 once invoked), scanned A, original, Apache-2.0.

A set of patterns for building and packaging LlamaFarm Desktop, a desktop application made with Electron, which runs web-style interfaces as installed apps.

In plain words
What is it for?
Use it when changing Electron windows, communication between processes, the preload bridge, installers, automatic updates, or macOS, Windows, and Linux builds.
Why use it?
It explains how the app's main process, browser-like interface, secure bridge, updates, and packaging fit together.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is llama-farm/llamafarm's own configuration. It tells Claude Code how to work on llamafarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llamafarm configures →

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

Reuse

Borrowing it

Nothing to install: this file belongs to llama-farm/llamafarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/llama-farm/llamafarm/main/.claude/skills/electron-skills/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/llama-farm/llamafarm

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/llama-farm/llamafarm/electron-skills"><img src="https://agentmods.dev/badge/skills/llama-farm/llamafarm/electron-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 783 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 pass 7 Sept 2026
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.00025 $0.00783
Opus 5.5 $0.00010 $0.00313
Sonnet 5.5 $0.00005 $0.00157
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

electron-skills 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.

.claude/skills/electron-skills/SKILL.md · 108 lines

How it starts

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

Electron Skills for LlamaFarm Desktop

Electron 28 + Electron Vite patterns for the LlamaFarm Desktop application.

Overview

This skill extends typescript-skills with Electron-specific patterns for main/renderer process architecture, IPC communication, security, and performance.

Tech Stack

Component Technology Purpose
Framework Electron 28 Desktop application framework
Build electron-vite 2 Vite-based build for main/preload/renderer
Updates electron-updater Auto-update via GitHub releases
Packaging electron-builder Cross-platform packaging (macOS/Win/Linux)

Architecture

electron-app/
  src/
    main/           # Main process (Node.js context)
      index.ts      # App entry, lifecycle, IPC handlers
      backend/      # CLI installer, model downloader
      window-manager.ts
      menu-manager.ts
      logger.ts
    preload/        # Preload scripts (bridge context)
      index.ts      # contextBridge API exposure
    renderer/       # Renderer process (browser context)
      index.html    # Main window
      splash.html   # Splash screen

Core Principles

  1. Process isolation - Main, preload, and renderer are separate contexts
  2. Context isolation - Always use contextBridge.exposeInMainWorld
  3. No Node in renderer - nodeIntegration: false always
  4. Type-safe IPC - Define channel types and payload schemas
  5. Secure by default - Minimize exposed APIs in preload

Shared TypeScript Patterns

This skill inherits from typescript-skills:

Read the full file on GitHub · 108 lines

Files

What ships with it

3 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 · 108 lines · 25 tokens per session scan A 60805a366b29

Subscribe to this mod's changes

electron-skills is a skill published in the GitHub repository llama-farm/llamafarm (836 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 783 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

analyzing-browser-forensics-with-hindsight

Parse Chromium-based browser databases with Hindsight to extract and correlate browsing history, downloads, cookies, cached content, autofill data, saved passwords, and extensions from Chrome, Edge, Brave, Opera, and Vivaldi into a unified timeline (XLSX, JSON, or SQLite output). Use during incident response…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

analyzing-browser-forensics-with-hindsight

Analyze Chromium-based browser artifacts using Hindsight to extract browsing history, downloads, cookies, cached content, autofill data, saved passwords, and browser extensions from Chrome, Edge, Brave, and Opera for forensic investigation.

xalgorix/xalgorix · 53 tokens

extracting-browser-history-artifacts

Extract and analyze browser history, cookies, cache, downloads, and bookmarks from Chrome, Firefox, and Edge for forensic evidence of user web activity.

xalgorix/xalgorix · 36 tokens

streamsql

A Chinese-language guide to StreamSQL, a SQL-based way to process continuously arriving data in RuleGo. It covers filtering, transformations, time windows, joins, change tracking, cumulative values, and event-pattern matching.

rulego/rulego · 90 tokens

huggingface-hub

HuggingFace hf CLI: search/download/upload models, datasets.

NousResearch/hermes-agent · 20 tokens

neon

Use when you have picked Neon (serverless Postgres) and need to connect correctly from a serverless or edge runtime, wire database branching into dev, preview and CI, or stop being burned by scale-to-zero cold starts and pooler limits — including choosing HTTP versus WebSocket connections and pooled versus direct…

ericrisco/rsc-harness · 93 tokens