global-notifications

global-notifications is a skill for Claude Code, Codex from BrentFarris/echo. It costs 52 tokens per session (1,017 once invoked), scanned A, original, MIT.

A guide for using pnpm, a tool for installing and managing JavaScript and Node.js packages. It also covers workspaces, which let one repository contain several related packages, and shared dependency versions.

In plain words
What is it for?
Use it to install packages, configure a workspace, run scripts across packages or one selected package, manage shared versions, patch dependencies, and set up CI/CD.
Why use it?
It helps keep dependencies and commands consistent across projects or a multi-package repository. It also documents ways to handle dependency overrides, patches, and automated builds.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/brentfarris/echo/global-notifications
Any agent
npx skills add BrentFarris/echo --skill global-notifications
Clone the repo
git clone --depth 1 https://github.com/BrentFarris/echo

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 global-notifications

README.md
[![agentmods](https://agentmods.dev/badge/skills/brentfarris/echo/global-notifications.svg)](https://agentmods.dev/skills/brentfarris/echo/global-notifications)
Your own site
<a href="https://agentmods.dev/skills/brentfarris/echo/global-notifications"><img src="https://agentmods.dev/badge/skills/brentfarris/echo/global-notifications.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.01017
Opus 5 $0.00026 $0.00508
Sonnet 5 $0.00010 $0.00203
Haiku 4.5 $0.00005 $0.00102

Measured 4d ago against content hash 5bf47afbb0d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

global-notifications 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 4d 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.

.echo/skills/global-notifications/SKILL.md · 39 lines

How it starts

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

Global notifications (cross-surface / cross-tab alerts)

Echo has two kinds of alerts that must reach the user even when they are NOT looking at the affected chat tab or surface. Session-scoped session_events (tool_call with status: awaiting_input, etc.) are only broadcast to clients subscribed to that workspace+surface+active tab, so they CANNOT be used for global alerts. Instead Echo uses global Hub broadcasts + frontend listener modules.

The chat-completion pattern (model to copy)

  • Backend (internal/server/chat_sessions.go): on turn finish with status == "done", call s.manager.server.hub.Broadcast(chatCompletedMessage{...}) with type: "chat_completed", workspaceId, workspaceName, surface (chat|code), chatId, turnId, preview. Hub.Broadcast (in ws.go) fans out to all clients (no subscription needed).
  • Frontend (web/src/completionNotifications.ts, started in web/js/app.js bootstrap via startCompletionNotifications()): listens ws.on("chat_completed", ...), plays notification-1.wav sound, and shows a browser Notification. Clicking it does window.location.hash = chatCompletionRouteHash({workspaceId, chatId, surface}), which deep-links to the exact chat tab. Tab activation is already handled: home.js (chat surface) and codeView.ts (code surface, ?chat=open) read chatCompletionTargetFromHash and call activateChatTab/expectedChatId + onExpectedChatResolved.
  • chatCompletionRouteHash/chatCompletionTargetFromHash live in web/src/navigation.ts.

Plan-question notifications (mirrors the completion pattern)

When a Plan-mode ask_user_questions call starts awaiting input:

  • Backend chat_sessions.go (~line 2103) broadcasts planQuestionsMessage with type: "plan_questions_awaiting" + the same target metadata (workspaceId, workspaceName, surface, chatId, turnId, callId) plus questions (array of {id, question, options}). This is additive; the session-scoped tool_call event remains for the active-view rendering.
  • Frontend web/src/planQuestionNotifications.ts (started via startPlanQuestionNotifications() in app.js) listens ws.on("plan_questions_awaiting", ...), plays the question sound (delegated to playPlanQuestionSound()), and shows a notification. Clicking deep-links via chatCompletionRouteHash like completions.

Read the full file on GitHub · 39 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. 4d ago First seen · 39 lines · 52 tokens per session scan A 5bf47afbb0d4

Subscribe to this mod's changes

global-notifications is a skill published in the GitHub repository BrentFarris/echo (11 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 1,017 once invoked, about $0.0003 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

Interceptor

Real Chrome/Brave + macOS Computer Use from inside the browser — zero CDP fingerprint, real sessions; mandatory for visual deploy verification. Drive clickwork yourself. USE WHEN verify deploy, confirm UI, screenshot verification, computer use, macos automation, debug web, troubleshoot, visual check, motion/animation…

danielmiessler/LifeOS · 193 tokens

Art

Static visual content across 20+ formats — diagrams, mermaid, infographics, D3 dashboards, comics, icons, wallpaper — via Nano Banana Pro (default), Nano Banana, and Flux. USE WHEN art, illustration, diagram, flowchart, infographic, header image, blog social thumbnail, visualize, generate image, mermaid, architecture…

danielmiessler/LifeOS · 124 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

ISA

Owns the Ideal State Artifact — the primitive holding a project or task's articulated ideal state; scaffolds, interviews, grills a half-formed idea into shape via checkpointed discovery, scores completeness, reconciles feature excerpts to master, seeds from a repo, and appends decisions/changelog/verification across a…

danielmiessler/LifeOS · 115 tokens

Research

Multi-agent web research with mandatory URL verification, confidence-tagged output, and four depth modes (quick to deep investigation). USE WHEN research, do research, quick research, extensive research, deep investigation, find information, investigate, extract alpha, analyze content, retrieve content, AI trends…

danielmiessler/LifeOS · 173 tokens

Apify

Scrapes social platforms, business data, and e-commerce via Apify actors — Instagram, LinkedIn, TikTok, YouTube, Facebook, Google Maps, Amazon, and web crawls — filtering in code. USE WHEN scrape Instagram, scrape LinkedIn, scrape TikTok, scrape YouTube, scrape Facebook, Google Maps leads, Amazon reviews, business…

danielmiessler/LifeOS · 150 tokens