tauri-rust-and-frontend-desktop

tauri-rust-and-frontend-desktop is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 68 tokens per session (1,886 once invoked), scanned A, original, MIT.

A guide to building desktop apps with Tauri, Rust, and web interfaces such as React, Svelte, or Vue. Tauri displays the interface in the operating system’s web view while Rust handles native features, background work, and security.

In plain words
What is it for?
Use it to plan Tauri application layers, define secure inter-process communication, connect frontend commands to Rust, and integrate native desktop capabilities.
Why use it?
It helps teams structure communication between the web interface and native desktop code and handle system integration safely across operating systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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",.

Good fit Use it to plan Tauri application layers, define secure inter-process communication, connect frontend commands to Rust, and integrate native desktop capabilities.

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/hamzabellouch/agent-skills
agentmods
npx agentmods add skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop

Made for: Claude Code, Codex.

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-rust-and-frontend-desktop

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop/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-rust-and-frontend-desktop

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/tauri-rust-and-frontend-desktop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,886 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.00068 $0.01886
Opus 5 $0.00034 $0.00943
Sonnet 5 $0.00014 $0.00377
Haiku 4.5 $0.00007 $0.00189

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

Security

Grade A, and why

tauri-rust-and-frontend-desktop 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.

Desktop Application Development/tauri-rust-and-frontend-desktop/SKILL.md · 237 lines

How it starts

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

Tauri, Rust & Frontend Desktop Application Development

Overview & Architecture

Tauri bridges modern web UI technology with high-performance native system capabilities implemented in Rust. Unlike Electron, Tauri uses the OS native web view renderer (WebKit on macOS/Linux, WebView2 on Windows) and offloads core app logic, background execution, system integrations, and security enforcement to a lightweight Rust process.

+-----------------------------------------------------------------------+
|                         Frontend Layer                                |
|           React / Svelte / Vue / Solid / HTML5 + TS                   |
|  - Renders UI via Native WebView (WebView2 / WebKit)                 |
|  - Calls backend APIs via `@tauri-apps/api/core` invoke()             |
+-----------------------------------------------------------------------+
                                 |  IPC (Serialized JSON / Binary)
                                 v
+-----------------------------------------------------------------------+
|                          Rust Core Layer                              |
|  - Command Handlers (`#[tauri::command]`)                             |
|  - Thread Pool / Async Execution (`tokio` runtime)                    |
|  - State Management (`tauri::State<T>`)                               |
|  - Native OS Capabilities, File I/O, SQLite, Hardware Security IPC   |
+-----------------------------------------------------------------------+

Core Architectural Principles

  1. Decoupled Business Logic: High-throughput calculations, filesystem modifications, cryptographic routines, and persistent storage MUST live in Rust.
  2. Lean Frontend: Frontend handles state rendering, UI micro-interactions, and visual layout. Avoid heavy computing or large payload caching in JS memory.
  3. Strict Capability Isolation: Every native capability (filesystem access, shell execution, dialogs, HTTP requests) is disabled by default and governed by Tauri v2 granular capabilities and permissions ACLs.

Read the full file on GitHub · 237 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. 9d ago First seen · 237 lines · 68 tokens per session scan A 970945c08ceb

Subscribe to this mod's changes

tauri-rust-and-frontend-desktop is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 1,886 once invoked, about $0.0003 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.