Borrowing it
Nothing to install: this file belongs to xiaolai/vmark. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xiaolai/vmark/main/.claude/skills/rust-tauri-backend/SKILL.mdgit clone --depth 1 https://github.com/xiaolai/vmarkWrote 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.
[](https://agentmods.dev/skills/xiaolai/vmark/rust-tauri-backend)<a href="https://agentmods.dev/skills/xiaolai/vmark/rust-tauri-backend"><img src="https://agentmods.dev/badge/skills/xiaolai/vmark/rust-tauri-backend/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.
<a href="https://agentmods.dev/skills/xiaolai/vmark/rust-tauri-backend"><img src="https://agentmods.dev/badge/skills/xiaolai/vmark/rust-tauri-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.00896 |
| Opus 5.5 | $0.00030 | $0.00358 |
| Sonnet 5.5 | $0.00015 | $0.00179 |
| Haiku 4.5 | $0.00008 | $0.00090 |
Grade A, and why
rust-tauri-backend 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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust + Tauri Backend (VMark)
VMark-specific conventions only; general Tauri v2 API questions go to the
official docs (v2.tauri.app), not memory. The binding rules are in AGENTS.md
and .claude/rules/50-codebase-conventions.md §10; this skill is the
checklist that applies them.
Bridge direction
| Direction | Mechanism | Frontend side |
|---|---|---|
| Webview → Rust | invoke("name", args) → #[tauri::command] fn name |
src/services/ (never from src/utils/, which is leaf-pure) |
| Rust → webview | app.emit() / window.emit() |
listen() in a hook or service, with cleanup on unmount |
| Menu → webview | menu/events.rs emits menu:{id} generically |
a menu:{id} listener |
Adding a command
- Put it in
src-tauri/src/<feature>/commands.rs; register it in theall_commands!list insrc-tauri/src/command_registry.rs.pnpm lint:ipc-contractfails on anyinvoke("x")without a registeredx. - Return
Result<T, CommandError>(command_error.rs); user-facing messages uselocalized_error!with a key in all tensrc-tauri/locales/*.yml(pnpm lint:command-errors). The frontend renders withcommandErrorMessage, neverString(e). - A command that creates a window MUST be
async(pnpm lint:window-thread; WebView2 deadlocks otherwise). Going async removes the serialization the blocking IPC loop gave you — re-check for check-then-act races. - State lives in
.manage()and is reached throughState<'_, T>; no mutablestaticwhere anAppHandlecan reach. - Never a bare
Command::new("tool"): useai_provider::build_command()andai_provider::login_shell_path(). - Use inline format args:
format!("{variable}").
Menus and shortcuts
menu/localized.rscreate_localized_menuis the single builder; labels go insrc-tauri/locales/en.yml(then all locales).- Every menu item needs a real SF Symbol in
MENU_ICONS(src-tauri/src/macos_menu_icons.rs). - Shortcut changes follow the three-file sync in
.claude/rules/41-keyboard-shortcuts.md.
What ships with it
2 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.
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.
- yesterday Changed · +51 lines · +38 tokens per session 656024956b12
- 2mo ago First seen · 20 lines · 38 tokens per session scan A b10f01fe3ec8
rust-tauri-backend is a skill published in the GitHub repository xiaolai/vmark (878 stars, last pushed yesterday), licensed ISC. It adds 76 tokens to every session and 896 once invoked, about $0.0003 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-30.
Other skills, from other repositories
rust-engineer
Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result/Option. Use when building Rust applications, solving ownership or…
azure-eventhub-rust
Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing. Triggers: "event hubs rust", "ProducerClient rust", "ConsumerClient rust", "send event rust", "streaming rust", "eventhub rust".
apollo-router-plugin-creator
Guide for writing Apollo Router native Rust plugins. Use this skill when: (1) users want to create a new router plugin, (2) users want to add service hooks (routerservice, supergraphservice, executionservice, subgraphservice), (3) users want to modify an existing router plugin, (4) users need to understand router…
azure-eventhub-rust
Client library for Azure Event Hubs — big data streaming platform and event ingestion service.
rust-gateway
Add or change an HTTP route, extractor, response envelope, stream or router mount in the litellm-rust gateway crates (crates/gateway and crates/gateway-). Use when adding an endpoint, parsing a request body, choosing an error envelope for an API surface, relaying SSE, or writing a router-level test.
cloudflare-workers-multi-lang
Multi-language Workers development with Rust, Python, and WebAssembly. Use when building Workers in languages other than JavaScript/TypeScript, or when integrating WASM modules for performance-critical code.