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/github.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/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 brents-toasts

Your own site · 80×15
<a href="https://agentmods.dev/skills/brentspine/brents-toasts/docs"><img src="https://agentmods.dev/badge/skills/brentspine/brents-toasts/docs.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00051 $0.01404
Sonnet 5.5 $0.00025 $0.00702
Haiku 4.5 $0.00013 $0.00351

Measured 2mo ago against content hash df7ffb4e471f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 2mo 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 (8 stars, last pushed 7d ago), licensed Apache-2.0. It adds 127 tokens to every session and 3,510 once invoked, about $0.0005 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

brents-toasts compared with skills from other repositories

brents-toasts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brents-toastsbrentspine/brents-toastsSkill87d agoApache-2.0A127Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code