hecate-tauri

hecate-tauri is a skill for Claude Code, Codex from hecatehq/hecate. It costs 49 tokens per session (10,852 once invoked), scanned A, original, MIT.

A project-specific guide for the Hecate native desktop app and its Tauri 2.x code. It covers the Rust desktop layer, companion-process lifecycle, platform packaging, and communication between the local gateway and the embedded web view.

In plain words
What is it for?
Use it when working inside the Hecate app's tauri/ directory, especially for Rust changes, packaging, process startup, or gateway-to-interface integration.
Why use it?
It gives developers the project context needed to change the desktop app without breaking how its native and web parts start and connect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when working inside the Hecate app's tauri/ directory, especially for Rust changes, packaging, process startup, or gateway-to-interface integration.

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

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 hecate-tauri

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hecatehq/hecate/tauri"><img src="https://agentmods.dev/badge/skills/hecatehq/hecate/tauri.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,852 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: 14 findings, 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 Anti-Refusal · line 461
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • medium Rogue Agent · line 50
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 266
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 277
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 431
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Prompt Injection · line 73
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 287
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 287
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 287
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 289
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 290
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 290
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 291
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 376
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00049 $0.10852
Opus 5.5 $0.00020 $0.04341
Sonnet 5.5 $0.00010 $0.02170
Haiku 4.5 $0.00005 $0.01085

Measured 25d ago against content hash b9b5ca749012, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hecate-tauri 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 25d 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.

docs-ai/skills/tauri/SKILL.md · 509 lines

How it starts

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

Hecate Tauri skill

Use this skill for any work inside tauri/. Gateway changes use ../backend/SKILL.md; UI changes use ../ui/SKILL.md.

Operator-facing companion: ../../../docs/operator/desktop-app.md — distribution, current state, roadmap, footguns. When this skill grows a footgun an end user might hit, mirror it there.

Canonical guidance lives here

Architecture in one paragraph

The Tauri app is a thin chrome-frame around the main Hecate runtime running in gateway mode. On launch the Rust layer allocates a free loopback port, spawns the hecate binary as a companion process (not a Tauri shell-plugin sidecar — see gotchas), polls /healthz until the gateway is healthy, then navigates the webview to http://127.0.0.1:{port}/. The gateway serves its own embedded React UI. No second frontend build, no API bridge, no Vite dev server required.

Why we keep //go:embed instead of frontendDist

Most Tauri apps point tauri.conf.json → frontendDist: "../ui/dist" and let the webview load UI files directly from the bundled app. We don't, on purpose:

  • Same-origin loopback surface. The webview loads from http://127.0.0.1:{port}/ and the API is at http://127.0.0.1:{port}/v1/.... Same origin means no CORS dance and no Tauri IPC bridge. Splitting UI (tauri://localhost) from API (127.0.0.1:{port}) breaks that property and requires a meaningful security refactor to restore.
  • Hecate-sidecar property. The same hecate runtime binary ships through Docker, the goreleaser tarballs, and the Tauri sidecar. The embed makes that work without conditional builds or runtime path resolution. Reading ui/dist from disk inside a bundled .app would require a working-dir-independent resolver and a new "UI files missing" failure mode.
  • Bundle-size cost is negligible. The built UI is ~730 KB on disk (~200 KB gzipped over the wire). Embedding it adds ~2% to the hecate binary (32 MB → 33 MB) and ~1 MB to the .dmg. Desktop apps routinely ship at 100+ MB; this isn't even close to a constraint, and any "ship a UI-less variant" optimization would save kilobytes for a meaningful maintenance cost.

Read the full file on GitHub · 509 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. 25d ago Changed · +26 lines b9b5ca749012
  2. 2mo ago Changed · +14 lines a81221310f12
  3. 3mo ago First seen · 469 lines · 49 tokens per session scan A f4b30545bc91

Subscribe to this mod's changes

hecate-tauri is a skill published in the GitHub repository hecatehq/hecate (24 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 10,852 once invoked, about $0.0002 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.

Related

hecate-tauri compared with skills from other repositories

hecate-tauri next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hecate-taurihecatehq/hecateSkill247d agoMITA49Claude Code, Codex
trulens-instrumentationtruera/trulensSkill3.7kyesterdayMITA25Claude Code, Codex
self-host-studiodecocms/studioSkill419todayMITA117Claude Code, Codex
flutter-appdecocms/studioSkill419todayMITA78Claude Code, Codex
decocms-uidecocms/studioSkill419todayMITA95Claude Code
branddecocms/studioSkill419todayMITA0Claude Code, Codex
slidesdecocms/studioSkill419todayMITA40Claude Code, Codex