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/github.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/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-engineering

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00050 $0.00270
Sonnet 5.5 $0.00025 $0.00135
Haiku 4.5 $0.00013 $0.00068

Measured 2mo ago against content hash 5954c1e67182, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 2mo 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/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. 2mo ago Changed 5954c1e67182
  2. 2mo 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 2mo ago), licensed MIT. It adds 125 tokens to every session and 675 once invoked, about $0.0005 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-31.

Related

tauri-engineering compared with skills from other repositories

tauri-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tauri-engineeringGalaxyRuler/Galactic-skillsSkill52mo agoMITA125Codex
eas-workflowsexpo/skillsSkill4.1kyesterdayMITA58Claude Code, Codex
mobiai-community-android-github-actionsArisGuimera/MobiAI-CoreSkill4926d agoMITA50Claude Code
flutter-cicdHoangNguyen0403/agent-skills-standardSkill583yesterdayMITA33Claude Code, Codex
github-actionscallstackincubator/agent-skillsSkill1.7k1mo agoMITA44Codex
android-toolingHoangNguyen0403/agent-skills-standardSkill583yesterdayMITA51Claude Code, Codex
agent-mobile-release-managertravisjneuman/.claudeSkill107yesterdayMITA83Claude Code