tauri-bridge-setup

tauri-bridge-setup is a skill for Claude Code, Codex from cesarandreslopez/tauri-agent-tools. It costs 23 tokens per session (2,316 once invoked), scanned A, original, MIT.

Instructions for adding a development-only bridge to a Tauri application. Tauri is a framework for building desktop apps with web technologies and native code.

In plain words
What is it for?
Use it to add the Rust bridge needed for DOM inspection, JavaScript evaluation, IPC monitoring, screenshots, UI interaction, process and capability checks, logs, and health information.
Why use it?
The bridge allows development tools to connect to the app's webview and inspect or test what it is doing, while being removed from release builds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to add the Rust bridge needed for DOM inspection, JavaScript evaluation, IPC monitoring, screenshots, UI interaction, process and capability checks, logs, and health information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cesarandreslopez/tauri-agent-tools/tauri-bridge-setup
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 cesarandreslopez/tauri-agent-tools --skill tauri-bridge-setup
Clone the repo
git clone --depth 1 https://github.com/cesarandreslopez/tauri-agent-tools

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-bridge-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cesarandreslopez/tauri-agent-tools/tauri-bridge-setup"><img src="https://agentmods.dev/badge/skills/cesarandreslopez/tauri-agent-tools/tauri-bridge-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,316 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 201
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00023 $0.02316
Opus 5 $0.00012 $0.01158
Sonnet 5 $0.00005 $0.00463
Haiku 4.5 $0.00002 $0.00232

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

Security

Grade A, and why

tauri-bridge-setup 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.

.agents/skills/tauri-bridge-setup/SKILL.md · 212 lines

How it starts

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

Tauri Dev Bridge Setup

Add the dev bridge to a Tauri app so tauri-agent-tools can inspect DOM, evaluate JS, monitor IPC, take element screenshots, and interact with the UI. Bridge v0.7 also exposes process tree, capability audit, devtools URL, and health endpoints.

The bridge runs only in debug builds and is stripped from release builds automatically.

Re-copying for v0.8 (optional enrichment — not required)

Upgrading from v0.7: Bridge v0.8 adds cursor-mode /logs reads (non-draining, long-polling) that power logs, rust-logs, and capture (including logs --follow) and let multiple log consumers coexist. It is a drop-in re-copy of dev_bridge.rs — no main.rs changes this time. Without it, logs --follow emits a one-time note and degrades to drain polling.

Re-copying for v0.7 (optional enrichment — not required)

Upgrading from v0.6: The bridge surface grew with four new endpoints (/process, /capabilities, /devtools, /health) and start_bridge now returns a third tuple element (the sidecar registry). These are optional enrichment: as of CLI v0.8 the commands that use them (process-tree, capabilities audit, webview attach, health) feature-detect via GET /version and degrade gracefully against an older/vendored bridge — they emit a clear note: (and fall back to an OS/eval path where possible) instead of failing. So you are not forced to re-sync dev_bridge.rs just to keep using the CLI. To unlock the richer structured output, re-copy dev_bridge.rs from the latest examples/tauri-bridge/src/dev_bridge.rs and adjust your main.rs to destructure the new return shape (Step 3). Pass --strict to any of those commands to turn a missing endpoint back into a hard error.

Bridge Endpoints

The bridge exposes eight HTTP endpoints on a random localhost port:

Endpoint Method Auth Purpose
/eval POST token Evaluate JS in a webview (supports window param for multi-window)
/logs POST token Rust tracing logs and sidecar output — bare {token} drains; {cursor, waitMs, limit} (v0.8+) reads without draining so multiple consumers can tail (powers logs --follow)
/describe POST token Report PID, window labels, and capabilities
/version GET none Bridge version and available endpoints (used for feature detection)
/process POST token Tauri PID + registered sidecars (powers process-tree) — v0.7+
/capabilities POST token Declared Tauri capability set + live window labels (powers capabilities audit) — v0.7+
/devtools POST token Webview inspector URL or platform hint (powers webview attach) — v0.7+
/health POST token Uptime + webview readiness + sidecar liveness (powers health) — v0.7+

Read the full file on GitHub · 212 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. yesterday Changed · +1 lines 546a5d574e4b
  2. 9d ago First seen · 211 lines · 23 tokens per session scan A 70e09028b556

Subscribe to this mod's changes

tauri-bridge-setup is a skill published in the GitHub repository cesarandreslopez/tauri-agent-tools (22 stars, last pushed 2d ago), licensed MIT. It adds 23 tokens to every session and 2,316 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

anarlog

Query Anarlog meetings, notes, summaries, transcripts, participants, action items, and recurring history. Use when a user asks about their Anarlog meeting data or needs meeting context for another task.

fastrepl/anarlog · 44 tokens

pake

Package any website or local web build into a lightweight desktop app using Pake (Tauri/Rust). Use when the user wants to: wrap a URL as a native app, build a desktop app from a website or a local dist/ folder, use Pake CLI to package a page, set up proxy for a packaged app, customize app icons or bundle IDs, or…

tw93/Pake · 119 tokens

screenshot-studio

Regenerate the Pisper product screenshots under docs/shots/ against the current UI. Starts an isolated dev instance, seeds fictional demo data through the real runtime APIs, captures every referenced page at the exact 2558x1380 asset size, and replaces the files. Use only when the user asks to refresh product…

ling-kong-ran/pisper · 80 tokens

prompt-cache-optimizer

Audit and optimize Pisper system-prompt and tool-schema token overhead while preserving stable prompt-cache prefixes, permissions, and runtime behavior. Invoke only for explicit prompt or tool-context optimization work.

ling-kong-ran/pisper · 42 tokens

graphify-windows

Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPHREPORT.md.

saeedkolivand/ai-job-hunter-app · 75 tokens

lessons

How to propose and query distilled lessons (the experiential memory). Only project-steward persists; every other agent proposes/queries. Use when you discover a durable lesson or need prior experience for the current task.

saeedkolivand/ai-job-hunter-app · 45 tokens