conduit-desktop: Command for Claude Code

.claude/commands/notification.md

notification is a command for Claude Code from advenimus/conduit-desktop. It costs 0 tokens per session (2,086 once invoked), scanned A, original, Apache-2.0.

A notification command for showing messages through Conduit's shared toast system. Toasts are brief on-screen messages such as success, error, warning, or progress notices.

In plain words
What is it for?
Use it to show success, error, warning, and information messages, including optional details, action buttons, or messages that stay visible until dismissed.
Why use it?
It keeps user-facing notifications in one consistent system and avoids separate alert components or browser alert boxes.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is advenimus/conduit-desktop's own configuration. It tells Claude Code how to work on conduit-desktop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything conduit-desktop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to advenimus/conduit-desktop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/advenimus/conduit-desktop/main/.claude/commands/notification.md
Clone the repo
git clone --depth 1 https://github.com/advenimus/conduit-desktop

Made for: Claude Code.

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 notification

README.md
[![agentmods](https://agentmods.dev/badge/commands/advenimus/conduit-desktop/notification/github.svg)](https://agentmods.dev/commands/advenimus/conduit-desktop/notification)
Your own site
<a href="https://agentmods.dev/commands/advenimus/conduit-desktop/notification"><img src="https://agentmods.dev/badge/commands/advenimus/conduit-desktop/notification/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 notification

Your own site · 80×15
<a href="https://agentmods.dev/commands/advenimus/conduit-desktop/notification"><img src="https://agentmods.dev/badge/commands/advenimus/conduit-desktop/notification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,086 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.
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.00000 $0.02086
Opus 5.5 $0.00000 $0.00834
Sonnet 5.5 $0.00000 $0.00417
Haiku 4.5 $0.00000 $0.00209

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

Security

Grade A, and why

notification 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 28d 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.

.claude/commands/notification.md · 146 lines

How it starts

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

Use the unified toast notification system for all user-facing notifications in Conduit.

Rules

  • NEVER create inline notification UI, custom alert components, or window.alert() calls
  • ALWAYS call the toast API from src/components/common/Toast.tsx
  • Never render a toast card yourself: toasts draw in the overlay window, not in the main window's DOM

How it works

Toasts do not render in the window that raises them. They draw in a separate transparent overlay window, so they stay visible above native RDP, VNC and web session views.

  1. App.tsx mounts NotificationStack, which renders ToastController (from Toast.tsx) and UpdateNotificationBridge (from UpdateNotification.tsx). Both are state-only and render nothing.
  2. ToastController keeps the toast list (timers, the 5-toast cap, exit animations) and serializes it. Action callbacks stay in the main renderer in a map keyed "<toastId>:<actionIndex>"; only ids and labels cross IPC.
  3. NotificationStack merges the toasts with the update state and sends overlay:push-state.
  4. OverlayManager (electron/services/overlay/overlay-manager.ts) creates the overlay window on the first toast: frameless, transparent, not focusable, always on top, 400 × 500 DIP, 16px in from the bottom-right corner of the main window's content. It follows the main window's moves and resizes, and hides while the main window is minimized or unfocused.
  5. The overlay page (overlay.html, src/overlay.tsx, src/components/overlay/OverlayApp.tsx) stacks the update notification and the toasts at the bottom (p-4 gap-2). OverlayToast and OverlayUpdateNotification both render the ToastCard primitive.
  6. The overlay is click-through until the pointer is over an element with data-toast. Button clicks go back as overlay:action-clicked and overlay:dismiss-toast (and overlay:update-action for the update card); ToastController runs the callback and dismisses the toast.
  7. The overlay follows the main window's scheme and dark or light mode through localStorage (the storage event), and its icons follow the active icon pack.

Read the full file on GitHub · 146 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. 28d ago Changed · +12 lines 625c402914ec
  2. 1mo ago First seen · 134 lines · 0 tokens per session scan A 50eaa1cf6b98

Subscribe to this mod's changes

notification is a command published in the GitHub repository advenimus/conduit-desktop (19 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,086 tokens. 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.