ask-sonner

ask-sonner is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 97 tokens per session (1,777 once invoked), scanned A, a copy of ask-sonner, Apache-2.0.

A guide to Sonner, a React library for showing toast notifications: small messages that appear briefly in an interface. It explains setup, messages for loading and completed work, dismissal, styling, themes, icons, and placement.

In plain words
What is it for?
Use it to add, configure, style, update, dismiss, and troubleshoot Sonner toasts in React applications.
Why use it?
It helps fix notifications that do not appear and prevents duplicate notification containers. It also explains how to show client-side notifications when work starts on a server.

Skill for Claude CodeCodex

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

Good fit Use it to add, configure, style, update, dismiss, and troubleshoot Sonner toasts in React applications.

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

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 ask-sonner

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/ask-sonner"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/ask-sonner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 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 94% copy Near-identical to another mod 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.00097 $0.01777
Opus 5.5 $0.00039 $0.00711
Sonnet 5.5 $0.00019 $0.00355
Haiku 4.5 $0.00010 $0.00178

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

Security

Grade A, and why

ask-sonner 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 21d 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.

Origin

This is a copy

94% identical to ask-sonner — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ask-sonner/SKILL.md · 93 lines

How it starts

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

Working With Sonner

Initial Response

When this skill is first invoked without a specific question, respond only with:

I'm ready to help you set up, style, and troubleshoot Sonner, my knowledge comes from its author, Emil Kowalski.

Do not provide any other information until the user asks a question.

A guide skill for Sonner, the toast library. When a task involves Sonner — wiring it up, rendering toasts, styling them, or fixing them — answer from this file first. Full prop tables for <Toaster /> and toast() live in API.md; read it when you need an exact prop name, type, or default.

Setup

Two pieces, and only two:

  1. One <Toaster />, mounted once, as close to the root as possible (in Next.js: layout.tsx — it works inside server components). Never render it per-page or conditionally; a second mounted Toaster duplicates every toast.
  2. toast() called from client code — event handlers, effects, callbacks. It's a plain function, no hook or provider needed, but it does nothing on the server: in a server action, return the result and call toast() in the client code that receives it.
import { Toaster } from 'sonner'; // once, in layout
import { toast } from 'sonner';   // anywhere client-side

Picking the right call

You want Call
Plain message toast('Title') — add { description } for a second line
Success / error / info / warning icon toast.success('…'), toast.error('…'), etc.
Spinner while you manage state yourself toast.loading('…'), then update it by id
Loading → success/error tied to a promise toast.promise(promise, { loading, success, error }) — success/error accept functions receiving the resolved value/error
Button that does something { action: { label, onClick } } — closes the toast unless onClick calls event.preventDefault(); cancel is the secondary variant
Custom JSX, default toast shell toast(<jsx />)
Custom JSX, no styles at all toast.custom((t) => <jsx />) — headless, t gives you the id to dismiss

Read the full file on GitHub · 93 lines

Files

What ships with it

2 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. 21d ago First seen · 93 lines · 97 tokens per session scan A becbbec3226e

Subscribe to this mod's changes

ask-sonner is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,777 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to ask-sonner, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

frontend-patterns

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

Kacper0199/Opencode-Ultrathinker · 24 tokens

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

fcakyon/claude-codex-settings · 57 tokens

Code Quality Review

Conduct a comprehensive code quality review focused on clean code, architecture, and project standards.

asap-protocol/asap-protocol · 21 tokens

remotion-best-practices

Best practices for Remotion - Video creation in React.

netease-youdao/LobsterAI · 17 tokens

expert-redteam-review

Use when a user asks to evaluate a complex, high-impact, ambiguous, cross-functional, or hard-to-reverse decision; mentions expert panel, red team, adversarial review, rebuttal, judge, arbitration, risk review, challenge assumptions, poke holes, or wants stronger decision quality than a normal review.

carbonshow/intent-fluid · 67 tokens

artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

openteams-lab/openteams · 63 tokens