Agent skill

Tauri Command

by Artexis10 in Artexis10/endstate-gui

Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.

Apache-2.0Auto-check passedFrontend & Design

Install Tauri Command

skills CLI
$ npx skills add Artexis10/endstate-gui --skill tauri-command -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Artexis10/endstate-gui tauri-command --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Artexis10/endstate-gui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tauri-command .claude/skills/tauri-command && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tauri-command
GitHub stars
116
Token cost
~606 tokens
SKILL.md length
223 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.

  • Works in 5 steps: Add the Rust command in… → If the command spawns a CLI process → Add TypeScript bridge function in the… → …
  • Frontend & Design work in your project
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tauri Command is an agent skill from Artexis10/endstate-gui. Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with Tauri, Rust and TypeScript. The repository describes itself as: Endstate desktop app: reinstall your apps and restore your settings on a fresh Windows PC, from one portable file. Free, open source. Built with Tauri (React + Rust). The licence is Apache-2.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/tauri-command”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Add the Rust command in src-tauri/src/lib.rs
  2. If the command spawns a CLI process
  3. Add TypeScript bridge function in the appropriate location
  4. Add capability permission if needed in src-tauri/capabilities/
  5. Add the Tauri bridge mock in src/test/tauri-bridge-mock.ts for unit testing

What it can do on your machine

Read from SKILL.md and the folder at commit 4bcd1ac. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust and typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tauri Command loads about 606 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~606

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Artexis10/endstate-gui at commit 4bcd1ac, republished under its Apache-2.0 licence (© Artexis10). 223 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/tauri-command/SKILL.md (or your agent's skills folder).
name
tauri-command
description
Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.

Scaffold a new Tauri command with both Rust and TypeScript sides.

Input: Command name and purpose. Example: /tauri-command check_update "Check if CLI update is available"

Steps

  1. Add the Rust command in src-tauri/src/lib.rs:

    • Add a #[tauri::command] function following existing patterns
    • Use proper Tauri state management (State<'_, SharedRunState> if run-related)
    • Return Result<T, String> for fallible commands
    • Register in the invoke_handler in run() function
  2. If the command spawns a CLI process:

    • MUST use build_engine_command() from cmd_impl.rs — never bare Command::new()
    • This handles Windows .cmd PATH shim wrapping (cmd /C for .cmd files)
    • Respect the one-run-at-a-time mutex guard via SharedRunState
  3. Add TypeScript bridge function in the appropriate location:

    • For engine operations: src/engine-bridge.ts
    • For utility operations: a new or existing file in src/lib/
    • Use import { invoke } from '@tauri-apps/api/core'
    • Type the return value to match the Rust response
  4. Add capability permission if needed in src-tauri/capabilities/

  5. Add the Tauri bridge mock in src/test/tauri-bridge-mock.ts for unit testing

Rust Pattern

rust
#[tauri::command]
async fn my_command(arg: String) -> Result<MyResponse, String> {
    // For CLI execution, ALWAYS use build_engine_command():
    // let mut cmd = cmd_impl::build_engine_command(&exe, &args);
    Ok(MyResponse { /* ... */ })
}

TypeScript Pattern

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

export async function myCommand(arg: string): Promise<MyResponse> {
  return invoke<MyResponse>('my_command', { arg });
}

Critical Landmine Windows .cmd PATH resolution: Rust's std::process::Command only resolves .exe files. The endstate.cmd shim requires cmd /C wrapping. All spawn sites MUST use build_engine_command() from cmd_impl.rs. Direct Command::new(exe) will silently fail when the CLI is a .cmd shim on PATH.

Protected Files Warning src/engine-bridge.ts and src-tauri/src/engine_adapter.rs are protected files. Modifications require explicit user instruction. If the new command needs changes there, flag this before proceeding.

© Artexis10, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/tauri-command of Artexis10/endstate-gui.

Open the folder on GitHubat commit 4bcd1ac

Compare with similar skills

Tauri Command next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tauri Command compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tauri Command this skillArtexis10/endstate-gui116—~606Automated safety check: PassApache-2.0
Tauri Config Ipcifer47/markeron1.2k—~1kAutomated safety check: PassMIT
Worklog Designregisx001/Worklog261—~3.3kAutomated safety check: PassMIT
Tv Remote UIventic/ventic174—~4.2kAutomated safety check: PassMIT
Web Designdrewnekota/cetus146—~2.1kAutomated safety check: PassMIT
Rgsm Gui Debugmcthesw/game-save-manager1.1k—~267Automated safety check: PassAGPL-3.0

Similar skills

  • Tauri Config Ipc

    ifer47/markeron

    Extend MarkerOn settings, persisted config, or Tauri IPC commands.

    1.2k GitHub stars~1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Worklog Design

    regisx001/Worklog

    Design and UI skill for the Worklog desktop project manager.

    261 GitHub stars~3.3k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Tv Remote UI

    ventic/ventic

    How this app stays usable from a TV remote (Android TV / Google TV).

    174 GitHub stars~4.2k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Web Design

    drewnekota/cetus

    A skill your agent uses when building any web page, HTML artifact, landing page, dashboard, slide deck, report, email, or UI component the user will look at.

    146 GitHub stars~2.1k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Rgsm Gui Debug

    mcthesw/game-save-manager

    Debug the RGSM frontend against the real Rust backend in a normal browser, without Tauri IPC or WebView tooling.

    1.1k GitHub stars~267 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Tauri Development

    zosmaai/zosma-cowork

    Tauri development guidelines for building cross-platform desktop applications with TypeScript, Rust, and modern web technologies

    123 GitHub starsUsed in 1 repo~983 tokens
    Frontend & DesignAuto-check passed

More from Artexis10/endstate-gui

  • Livewire

    Artexis10/endstate-gui

    Drive the real GUI against the real engine via the standalone dev HTTP bridge (npm run dev:bridge).

    116 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Gen Test

    Artexis10/endstate-gui

    Generate unit tests following project conventions. An agent skill from Artexis10/endstate-gui.

    116 GitHub stars~661 tokensUpdated yesterday
    Auto-check passed
  • E2E Test

    Artexis10/endstate-gui

    Generate Playwright E2E tests following project conventions (Tauri fixture, storage isolation, helpers).

    116 GitHub stars~775 tokensUpdated yesterday
    Auto-check passed
  • New Component

    Artexis10/endstate-gui

    Scaffold a new React component with co-located test, shadcn/ui primitives, and barrel export registration.

    116 GitHub stars~524 tokensUpdated yesterday
    Auto-check passed

Questions about Tauri Command

What does Tauri Command do?

Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns. Tauri Command is an agent skill from Artexis10/endstate-gui. Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.

When should I use Tauri Command?

Tauri Command fits situations like: frontend & Design work in your project.

How do I install Tauri Command in Claude Code?

Run `npx skills add Artexis10/endstate-gui --skill tauri-command -a claude-code`. Or copy the skill folder (.claude/skills/tauri-command in Artexis10/endstate-gui) into .claude/skills/tauri-command in your project. Claude Code loads it when a task matches its description.

How do I install Tauri Command in Codex?

Run `npx skills add Artexis10/endstate-gui --skill tauri-command -a codex`. Or copy the skill folder (.claude/skills/tauri-command in Artexis10/endstate-gui) into .agents/skills/tauri-command in your project. Codex loads it when a task matches its description.

Can I use Tauri Command in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Artexis10/endstate-gui --skill tauri-command -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tauri-command, .gemini/skills/tauri-command, .github/skills/tauri-command and .opencode/skills/tauri-command in your project.

What does Tauri Command need to run?

SKILL.md names no scripts, command-line tools or credentials: Tauri Command is instructions for the agent only.

Does Tauri Command access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tauri Command safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tauri Command use?

Tauri Command is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tauri Command use?

About 606 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tauri Command?

Skills that share tags, products or a category with Tauri Command: Tauri Config Ipc (ifer47/markeron, 1.2k stars), Worklog Design (regisx001/Worklog, 261 stars), Tv Remote UI (ventic/ventic, 174 stars) and Web Design (drewnekota/cetus, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tauri Command?

Artexis10 (a GitHub user) maintains it in Artexis10/endstate-gui, which has 116 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

Source: Artexis10/endstate-gui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.