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.
npx skills add sundegan/agent-skills --skill tauri-custom-window-chromegit clone --depth 1 https://github.com/sundegan/agent-skillsWrote 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/sundegan/agent-skills/tauri-custom-window-chrome)<a href="https://agentmods.dev/skills/sundegan/agent-skills/tauri-custom-window-chrome"><img src="https://agentmods.dev/badge/skills/sundegan/agent-skills/tauri-custom-window-chrome/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/sundegan/agent-skills/tauri-custom-window-chrome"><img src="https://agentmods.dev/badge/skills/sundegan/agent-skills/tauri-custom-window-chrome.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00146 | $0.10827 |
| Opus 5.5 | $0.00058 | $0.04331 |
| Sonnet 5.5 | $0.00029 | $0.02165 |
| Haiku 4.5 | $0.00015 | $0.01083 |
Grade A, and why
tauri-custom-window-chrome 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.
How it starts
The opening of the file, as written. The whole thing — 1,000 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tauri Custom Window Chrome
Use this skill to implement custom window chrome in a Tauri v2 desktop app.
On macOS, use the native traffic-light model: draw the titlebar/toolbar in the web UI, but keep native red/yellow/green controls by restoring the required native style masks and positioning them from Rust/AppKit. This preserves native behaviors such as the green-button fullscreen/tile popover, native traffic-light hover behavior, keyboard/window-management integration, and lower-risk OS parity.
Cover these baseline capabilities when replacing or customizing the native titlebar:
- Disable native window chrome for the target window.
- Render the titlebar inside the web UI.
- Reserve window-drag areas for moving the native window.
- Keep interactive controls clickable outside window-drag areas.
- Wire close, minimize, and maximize controls to Tauri window APIs on platforms where controls are app-drawn.
- Preserve native macOS traffic-light behavior instead of drawing macOS traffic lights in the web UI.
- Preserve suitable existing top-of-content controls by moving them into the titlebar instead of duplicating or dropping them.
- Do not synthesize a new app icon, app name, route title, document title, or other titlebar identity by default.
- Preserve expected layout spacing so content does not overlap titlebar controls.
- Preserve the app's native scrolling behavior, and pay attention to the fixed title bar height calculation when adding a custom title bar, to avoid introducing new page-level scrollbars due to page overflow.
- Recreate platform window-frame details that materially affect the app's appearance or usability, especially macOS rounded corners, window-edge separation, and active/inactive titlebar states.
Keep the scope limited to titlebar and window-chrome work. If the user wants a normal native OS titlebar with no app-drawn toolbar/chrome, do not apply this skill.
Core Model
Tauri has two layers involved:
- Native window chrome: drawn by the OS when
decorationsistrue. - Web UI titlebar: drawn by the app when
decorationsisfalse.
What ships with it
1 file 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.
- 2mo ago First seen · 1,000 lines · 146 tokens per session scan A ec54fabc1e65
tauri-custom-window-chrome is a skill published in the GitHub repository sundegan/agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 146 tokens to every session and 10,827 once invoked, about $0.0006 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.
tauri-custom-window-chrome compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tauri-custom-window-chromesundegan/agent-skills | Skill | 2 | 3mo ago | MIT | A | 146 | Claude Code, Codex |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 34 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | yesterday | MIT | A | 214 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |
| open-design-setupcompozy/compozy | Skill | 2.8k | yesterday | MIT | A | 67 | Claude Code, Codex |
| frontend-visual-qadaymade/claude-code-skills | Skill | 1.5k | yesterday | MIT | A | 125 | Claude Code, Codex |
| prototype-webnexu-io/html-anything | Skill | 9.4k | 25d ago | Apache-2.0 | A | 24 | Claude Code, Codex |