brents-toasts

brents-toasts is a skill for Claude Code from brentspine/brents-toasts. It costs 127 tokens per session (3,510 once invoked), scanned A, original, Apache-2.0.

Documentation for using brents-toasts, a JavaScript and TypeScript library that displays temporary notification messages in a web page.

In plain words
What is it for?
Use it to add notifications, confirmations, buttons, details, timers, progress indicators, animations, themes, or localized messages.
Why use it?
It gives developers the correct installation and calling patterns without needing to infer them from the library’s source.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the brents-toasts plugin — 1 skill shipped together

Good fit Use it to add notifications, confirmations, buttons, details, timers, progress indicators, animations, themes, or localized messages.

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

Made for: Claude Code.

Or install brents-toasts, the plugin that ships this one along with the rest of its 1 skill.

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 brents-toasts

README.md
[![agentmods](https://agentmods.dev/badge/skills/brentspine/brents-toasts/docs.svg)](https://agentmods.dev/skills/brentspine/brents-toasts/docs)
Your own site
<a href="https://agentmods.dev/skills/brentspine/brents-toasts/docs"><img src="https://agentmods.dev/badge/skills/brentspine/brents-toasts/docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,510 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 pass 7 Sept 2026
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.00127 $0.03510
Opus 5 $0.00063 $0.01755
Sonnet 5 $0.00025 $0.00702
Haiku 4.5 $0.00013 $0.00351

Measured 8d ago against content hash df7ffb4e471f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

brents-toasts 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 8d 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/SKILL.md · 187 lines

How it starts

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

brents-toasts

Distributed as a Claude Code plugin: /plugin marketplace add brentspine/brents-toasts then /plugin install brents-toasts@brents-toasts. To install by hand instead, copy this whole docs/ directory (not just this file) to a project's .claude/skills/brents-toasts/ - the links below are relative to files that travel with it either way, so both installs stay useful.

Zero-dependency, framework-agnostic toast/snackbar library. Works as an ESM/CJS import or a plain <script> tag (UMD, global BrentsToasts). No CSS to link: the stylesheet is bundled into the JS.

Install

npm install brents-toasts
import { toasts, ToastColor, ToastSeverity, ToastBuilder, Toasts } from 'brents-toasts';

No-build-step alternative, served via jsDelivr (unpkg also works, drop-in):

<script src="https://cdn.jsdelivr.net/npm/brents-toasts/dist/index.umd.min.js"></script>
<script>BrentsToasts.toasts.showToast('Hello, toast.');</script>

BrentsToasts mirrors the npm named exports 1:1. Full walkthrough: guide/getting-started.md.

The core decision: which call shape

toasts is a ready-to-use singleton. Three equivalent, permanently supported call shapes for showToast; pick whichever reads best, don't mix conventions within one codebase without reason:

// Options object: default choice once you need more than a bare message
toasts.showToast('Saved!', { severity: ToastSeverity.SUCCESS, duration: 5000, title: 'Done' });

// Legacy positional: message, color, duration(ms), closable, allowHtml (5 args, all after message
// optional) - no severity param, so role/aria-live stay at the default (see Config below)
toasts.showToast('Saved!', ToastColor.SUCCESS, 5000, false, false);

// Fluent builder: chainable, same options object under the hood
new ToastBuilder('Saved!').asSuccess().withDuration(5000).withTitle('Done').show();

showToast() returns the toast's id (string); save it if you'll removeToast/updateToast/ control its timer later, or pass your own via id in options to choose it up front instead - see guide/lifecycle.md. Defaults: severity ToastSeverity.INFO (which also picks the default color, ToastColor.INFO - see Config below), duration 3000ms, closable true, allowHtml false, allowLineBreaks true (all overridable via configure(), see guide/config.md). Builder method reference: guide/builder-reference.md.

Read the full file on GitHub · 187 lines

Files

What ships with it

60 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.

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. 8d ago First seen · 187 lines · 127 tokens per session scan A df7ffb4e471f

Subscribe to this mod's changes

brents-toasts is a skill published in the GitHub repository brentspine/brents-toasts (11 stars, last pushed 10d ago), licensed Apache-2.0. It adds 127 tokens to every session and 3,510 once invoked, about $0.0006 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

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens