desktop-app

desktop-app is a skill for Claude Code from ww-w-ai/bkit-claude-code. It costs 33 tokens per session (3,389 once invoked), scanned A, original, Apache-2.0.

A development guide for building desktop applications with web technologies such as HTML, CSS, and JavaScript, using Electron or Tauri. These tools can package one codebase for Windows, macOS, and Linux.

In plain words
What is it for?
Use it when starting or planning a desktop app, including an Electron or Tauri app for macOS, Windows, or Linux.
Why use it?
It helps you choose a desktop framework and plan an application that runs across operating systems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

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'),.

Part of the bkit plugin — 44 skills, 2 commands, 34 agents, 21 hooks shipped together

Good fit Use it when starting or planning a desktop app, including an Electron or Tauri app for macOS, Windows, or Linux.

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/ww-w-ai/bkit-claude-code
agentmods
npx agentmods add skills/ww-w-ai/bkit-claude-code/desktop-app

Made for: Claude Code.

Or install bkit, the plugin that ships this one along with the rest of its 44 skills, 2 commands, 34 agents, 21 hooks.

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 desktop-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/ww-w-ai/bkit-claude-code/desktop-app.svg)](https://agentmods.dev/skills/ww-w-ai/bkit-claude-code/desktop-app)
Your own site
<a href="https://agentmods.dev/skills/ww-w-ai/bkit-claude-code/desktop-app"><img src="https://agentmods.dev/badge/skills/ww-w-ai/bkit-claude-code/desktop-app.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,389 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.00033 $0.03389
Opus 5 $0.00016 $0.01695
Sonnet 5 $0.00007 $0.00678
Haiku 4.5 $0.00003 $0.00339

Measured 8d ago against content hash 0f8b41f84168, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

desktop-app 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.

skills/desktop-app/SKILL.md · 604 lines

How it starts

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

Desktop App Development Expertise

Overview

A guide for developing desktop apps using web technologies (HTML, CSS, JavaScript). Support Windows, macOS, and Linux simultaneously with a single codebase.


Framework Selection Guide

Framework Selection by Tier (v1.3.0)

Framework Tier Recommendation Use Case
Tauri Tier 2 ⭐ Primary Lightweight (3MB), Rust security
Electron Tier 3 Supported Mature ecosystem, VS Code-like apps

AI-Native Recommendation: Tauri

  • 35% YoY growth
  • 20-40MB memory vs Electron's 200-400MB
  • Mobile support (iOS/Android) via Tauri 2.0
  • Rust backend = memory safety

Ecosystem Recommendation: Electron

  • Mature tooling
  • Node.js integration
  • Proven at scale (VS Code, Slack)

Level-wise Recommendations

Starter → Tauri (v2) [Tier 2]
  - Simpler setup than Electron
  - Smaller output bundles (~3MB vs ~150MB)

Dynamic → Tauri + auto-update [Tier 2]
  - Includes server integration, auto-update
  - Lower memory footprint

Enterprise → Tauri [Tier 2] or Electron [Tier 3]
  - Tauri for performance and security
  - Electron for complex Node.js integration

Electron Guide

Project Creation

# Create with electron-vite (recommended)
npm create @electron-vite/create my-electron-app
cd my-electron-app

# Install dependencies
npm install

# Start development server
npm run dev

Folder Structure

my-electron-app/
├── src/
│   ├── main/               # Main process (Node.js)
│   │   └── index.ts        # App entry point, window management
│   ├── preload/            # Preload script
│   │   └── index.ts        # Renderer↔Main bridge
│   └── renderer/           # Renderer process (Web)
│       ├── src/            # React/Vue code
│       └── index.html      # HTML entry point
├── resources/              # App icons, assets
├── electron.vite.config.ts # Build configuration
├── electron-builder.yml    # Deployment configuration
└── package.json

Read the full file on GitHub · 604 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. 8d ago First seen · 604 lines · 33 tokens per session scan A 0f8b41f84168

Subscribe to this mod's changes

desktop-app is a skill published in the GitHub repository ww-w-ai/bkit-claude-code (595 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 3,389 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-08-30.

Related

Other skills, from other repositories

animate-expo

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and…

emilkowalski/skills · 112 tokens

leanback-to-compose-tv-migration

Provides instructions and architectural patterns for migrating Android TV applications from legacy Leanback UI Toolkit, Android Views, or Support Fragments to Jetpack Compose for TV (androidx.tv). Use this skill for Leanback to Compose migrations, including browse screen, settings screen, authentication screen, login…

android/skills · 151 tokens

maui-data-binding

Guidance for .NET MAUI XAML and C# data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM best practices. USE FOR: setting up compiled bindings with x:DataType, implementing INotifyPropertyChanged or…

dotnet/skills · 180 tokens

web-haptics

Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.

lochie/web-haptics · 47 tokens

migrate-xml-views-to-jetpack-compose

Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…

android/skills · 98 tokens

axiom-swiftui

Use when building, fixing, or improving ANY SwiftUI UI — views, navigation, layout, animations, performance, architecture, gestures, debugging, iOS 26 features.

CharlesWiltgen/Axiom · 41 tokens