tauri-engineering

tauri-engineering is a skill for Codex from GalaxyRuler/Galactic-skills. It costs 125 tokens per session (675 once invoked), scanned A, original, MIT.

Engineering guidance for Tauri version 2, a framework for building desktop and mobile apps with a web interface and a Rust program running on the device. It covers communication between those parts, security, state, testing, performance, updates, and delivery pipelines.

In plain words
What is it for?
Use it when building or configuring a Tauri app, writing Rust commands or plugins, managing shared state, setting access rules, adding updates, or setting up tests and continuous delivery.
Why use it?
It helps avoid common problems with app communication, permissions, shared data, platform builds, security settings, and release automation.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when building or configuring a Tauri app, writing Rust commands or plugins, managing shared state, setting access rules, adding updates, or setting up tests and continuous delivery.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/galaxyruler/galactic-skills/tauri-engineering
Install

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.

Any agent
npx skills add GalaxyRuler/Galactic-skills --skill tauri-engineering
Clone the repo
git clone --depth 1 https://github.com/GalaxyRuler/Galactic-skills

Made for: 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-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/tauri-engineering.svg)](https://agentmods.dev/skills/galaxyruler/galactic-skills/tauri-engineering)
Your own site
<a href="https://agentmods.dev/skills/galaxyruler/galactic-skills/tauri-engineering"><img src="https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/tauri-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 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.00125 $0.00675
Opus 5 $0.00063 $0.00338
Sonnet 5 $0.00025 $0.00135
Haiku 4.5 $0.00013 $0.00068

Measured yesterday against content hash 5954c1e67182, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

tauri-engineering 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 yesterday.

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/tauri-engineering/SKILL.md · 44 lines

How it starts

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

Tauri Engineering

Strict operational guidelines for building, securing, and shipping Tauri v2 applications. For Rust-side patterns (ownership, error handling, async, testing), see rust-engineering.

Architecture

  • Guest-host model: multi-process — TAO for window management, WRY for rendering via OS-native Webview (not bundled Chromium).
  • No SSR: configure frameworks for SPA or SSG mode. SvelteKit → @sveltejs/adapter-static.
  • Vite: strictPort: true, mobile HMR via TAURI_DEV_HOST, build targets chrome105 (Windows) / safari13 (macOS/iOS).

IPC & commands

  • Custom Protocol (JSON-RPC styled) replaces JSON string injection in v2.
  • Raw byte streaming via tauri::ipc::Response for large payloads — bypasses JSON serialization.
  • Async commands can't accept &str or State<'_, T> — use owned types (String) or wrap in Result.
  • Commands in lib.rs must not be pub; register with tauri::generate_handler!.

State management

  • Register with app.manage() during setup.
  • Shared mutable state → std::sync::Mutex or RwLock.
  • Async: use std::sync::Mutex unless guard held across .await → then tokio::sync::Mutex.

Security

  • ACL: define Permissions (commands + scopes) and Capabilities (map to windows/webviews). Identifiers: lowercase ASCII, max 116 chars.
  • Isolation Pattern: required for high security — sandboxed <iframe>, AES-GCM encrypted IPC payloads.
  • CSP: always enforce. Tauri calculates script hashes and appends nonces.
  • Filesystem: tauri-plugin-fs enforces Base Directory containment. Block ../ traversal.
  • Shell: pre-configure allowed processes, args, and paths in capabilities.

Testing & performance

Testing checklist, binary optimization (lto, codegen-units, strip), cross-platform bundling (Linux/macOS/Windows), and CI/CD with tauri-apps/tauri-action: TESTING-PERF.md.

Auto-updates & anti-patterns

Updater signature enforcement, key management, server response contracts, platform-specific deployment, and critical anti-patterns to avoid: UPDATES-DEPLOY.md.

Read the full file on GitHub · 44 lines

Files

What ships with it

4 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. yesterday Changed 5954c1e67182
  2. 7d ago First seen · 44 lines · 125 tokens per session scan A d5fde43d87de

Subscribe to this mod's changes

tauri-engineering is a skill published in the GitHub repository GalaxyRuler/Galactic-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 125 tokens to every session and 675 once invoked, about $0.0006 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

eas-workflows

EAS service (paid). Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.

expo/skills · 63 tokens

github-actions

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.

callstackincubator/agent-skills · 44 tokens

flutter-cicd

Set up CI/CD pipelines for Flutter apps. Use when configuring automated testing, build, or deployment workflows with GitHub Actions or Fastlane.

HoangNguyen0403/agent-skills-standard · 33 tokens

android-tooling

Configure Android static analysis with Detekt, Ktlint, and Android Lint for CI/CD quality gates. Use for Android-specific lint and quality tooling; defer generic Java Checkstyle, SonarQube, and standalone CI configuration.

HoangNguyen0403/agent-skills-standard · 51 tokens

swift-preflight

Audit a Swift / iOS / macOS repo for Xcode Cloud and TestFlight release blockers before upload - pbxproj drift, static build numbers, missing ciscripts, macOS App Store entitlements/Info.plist, headless-CI keychain tests, ad-hoc signing entitlement rejections, and flaky-UITest release gating. Reports PASS/WARN/FAIL…

charlesjones-dev/claude-code-plugins-dev · 86 tokens

app-store-deployment

Publishes mobile applications to iOS App Store and Google Play with code signing, versioning, and CI/CD automation. Use when preparing app releases, configuring signing certificates, or setting up automated deployment pipelines.

secondsky/claude-skills · 46 tokens