windows-mqtt: Skill for Claude Code

.claude/skills/tauri-v2/SKILL.md

tauri-v2 is a skill for Claude Code from popstas/windows-mqtt. It costs 79 tokens per session (2,576 once invoked), scanned A, original, MIT.

Development guidance for Tauri 2, a framework for building desktop and mobile apps with web interfaces and Rust code. It covers communication between the interface and Rust, app permissions, configuration, troubleshooting, and deployment.

In plain words
What is it for?
Use it when creating or debugging a Tauri 2 application. It supports work on configuration files, Rust commands, interface-to-backend calls, permissions, and desktop or mobile releases.
Why use it?
It helps avoid common setup and build mistakes, such as missing permissions, unregistered Rust commands, incorrect state types, and missing mobile targets.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is popstas/windows-mqtt's own configuration. It tells Claude Code how to work on windows-mqtt 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 windows-mqtt configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is "$schema": "../gen/schemas/desktop-schema.json",.

Reuse

Borrowing it

Nothing to install: this file belongs to popstas/windows-mqtt. 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/popstas/windows-mqtt/master/.claude/skills/tauri-v2/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/popstas/windows-mqtt

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 tauri-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/popstas/windows-mqtt/tauri-v2/github.svg)](https://agentmods.dev/skills/popstas/windows-mqtt/tauri-v2)
Your own site
<a href="https://agentmods.dev/skills/popstas/windows-mqtt/tauri-v2"><img src="https://agentmods.dev/badge/skills/popstas/windows-mqtt/tauri-v2/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 tauri-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/popstas/windows-mqtt/tauri-v2"><img src="https://agentmods.dev/badge/skills/popstas/windows-mqtt/tauri-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,576 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.00079 $0.02576
Opus 5 $0.00039 $0.01288
Sonnet 5 $0.00016 $0.00515
Haiku 4.5 $0.00008 $0.00258

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

Security

Grade A, and why

tauri-v2 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 9d 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/tauri-v2/SKILL.md · 369 lines

How it starts

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

Tauri v2 Development Skill

Build cross-platform desktop and mobile apps with web frontends and Rust backends.

Before You Start

This skill prevents 8+ common errors and saves ~60% tokens.

Metric Without Skill With Skill
Setup Time ~2 hours ~30 min
Common Errors 8+ 0
Token Usage High (exploration) Low (direct patterns)

Known Issues This Skill Prevents

  1. Permission denied errors from missing capabilities
  2. IPC failures from unregistered commands in generate_handler!
  3. State management panics from type mismatches
  4. Mobile build failures from missing Rust targets
  5. White screen issues from misconfigured dev URLs

Quick Start

Step 1: Create a Tauri Command

// src-tauri/src/lib.rs
#[tauri::command]
fn greet(name: String) -> String {
    format!("Hello, {}!", name)
}

pub fn run() {
    tauri::Builder::default()
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Why this matters: Commands not in generate_handler![] silently fail when invoked from frontend.

Step 2: Call from Frontend

import { invoke } from '@tauri-apps/api/core';

const greeting = await invoke<string>('greet', { name: 'World' });
console.log(greeting); // "Hello, World!"

Why this matters: Use @tauri-apps/api/core (not @tauri-apps/api/tauri - that's v1 API).

Step 3: Add Required Permissions

// src-tauri/capabilities/default.json
{
    "$schema": "../gen/schemas/desktop-schema.json",
    "identifier": "default",
    "windows": ["main"],
    "permissions": ["core:default"]
}

Why this matters: Tauri v2 denies everything by default - explicit permissions required for all operations.

Critical Rules

Always Do

  • Register every command in tauri::generate_handler![cmd1, cmd2, ...]
  • Return Result<T, E> from commands for proper error handling
  • Use Mutex<T> for shared state accessed from multiple commands
  • Add capabilities before using any plugin features
  • Use lib.rs for shared code (required for mobile builds)

Read the full file on GitHub · 369 lines

Files

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.

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. 9d ago First seen · 369 lines · 79 tokens per session scan A b569125f961d

Subscribe to this mod's changes

tauri-v2 is a skill published in the GitHub repository popstas/windows-mqtt (10 stars, last pushed 22d ago), licensed MIT. It adds 79 tokens to every session and 2,576 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

build-native

Build connectnoritobridge native .so files from Rust source. Use when user says "build native", "build .so", "rebuild native libs", "update native bridge", or "cargo ndk build".

hyperledger-iroha/iroha · 48 tokens

tauri-expert

Expert skill for Tauri (v2) development, Rust backend, IPC, and security / Panduan ahli untuk pengembangan Tauri v2, Rust backend, IPC, dan keamanan.

roedyrustam/vibes-plug · 43 tokens

tauri

Tauri v2 development: build cross-platform desktop/mobile apps with Rust backends and web frontends. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC patterns (invoke, emit, channels), managing state, configuring permissions/capabilities, troubleshooting build…

fellipeutaka/leon · 86 tokens

tauri-v2

Tauri v2 cross-platform app development with Rust backend. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC patterns (invoke, emit, channels), configuring permissions/capabilities, troubleshooting build issues, or deploying desktop/mobile apps. Triggers on Tauri…

pedronauck/skills · 79 tokens

rust-tauri-apps

Implicit Rust Tauri v2 skill. Use for Tauri apps, Rust commands, invoke contracts, app state, plugins, capabilities and permissions, secure IPC, filesystem and shell access, sidecars, updater, bundling, desktop and mobile distribution, and Rust frontend bridge design.

BjornMelin/dev-skills · 62 tokens

uniffi-bindgen-react-native

A development guide for uniffi-bindgen-react-native, a tool for connecting Rust code to React Native apps. It includes its underlying model, comparisons, a quick reference, and a Rust example.

yexiyue/agent-skills · 215 tokens