# claude code mac notifications

> Get macOS system notifications with project details and message previews when Claude Code tasks finish.

claude code mac notifications is a paid AI agent skill on Agensi by lolisme lolisme, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [lolisme lolisme](https://www.agensi.io/creators/lolisme)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/claude-code-mac-notifications
- Tags: ai-agents, macos, automation, claude-code, shell-script

## About this skill

Long-running tasks in Claude Code often result in dead time while you wait for a completion. This skill automates macOS system notifications to alert you the moment a Claude Code session finishes its turn, including project context and response snippets.

### What it does
- **Automated Alerts** triggers a macOS system banner whenever Claude completes a task turn.
- **Contextual Banners** displays the current project folder name as a subtitle for quick identification.
- **Content Snippets** extracts and previews the first 12 words of Claude's last response directly in the notification.
- **Sound Integration** plays a customizable system sound (defaulting to Glass) upon completion.
- **Improved UI** supports the optional `alerter` binary for persistent banners and custom action buttons.

### How it works
1. **System Check** verifies macOS compatibility and the presence of `jq` for JSON processing.
2. **Hook Installation** runs `install.sh` to copy the notify-stop script to the local Claude hooks directory.
3. **Configuration** modifies `~/.claude/settings.json` to register the `Stop` hook while creating a safety backup.
4. **Verification** triggers a test banner to confirm the macOS notification center permissions are active.

### Frameworks & tools
This skill uses POSIX shell scripts, `osascript` for AppleScript interaction, and `jq` for JSON manipulation. It integrates directly with the Claude Code CLI hook system and optionally utilizes the `alerter` open-source binary for enhanced notification management.

### Why this beats prompting it yourself
Manual hook configuration is prone to syntax errors that can break the Claude CLI startup. This skill handles environment variable injection, path resolution, and ensures the hook exits in under 0.1s to prevent session blocking.

### Use cases
- Monitoring long code refactors while working in another application window.
- Getting alerted when a multi-step test suite execution finishes in the background.
- Keeping track of multiple open terminal sessions via project-specific subtitles.

### Known limitations
Requires macOS (Darwin) and the `jq` utility. Notifications may be suppressed by System Settings or Focus modes unless manually whitelisted for Script Editor or the terminal app.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the claude code mac notifications skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problem does this skill solve for Claude Code users?

This skill automates macOS system alerts that trigger the moment Claude Code finishes a task. It solves the problem of 'idle waiting' by allowing you to work in other apps while Claude processes long refactors or test suites in the background.

### What are the system requirements and supported platforms?

The skill requires a macOS (Darwin) environment and the `jq` utility for processing JSON. It is specifically designed for the Claude Code CLI and integrates directly with its internal hook system.

### How complex is the installation process?

Setup is automated via an included installation script that configures your Claude settings and verifies permissions. It also creates a safety backup of your existing configuration to ensure your CLI environment remains stable.

### Can I distinguish between notifications if I have multiple Claude Code sessions running?

Yes, the notifications are contextual. Each alert automatically displays the specific project folder name as a subtitle and provides a 12-word preview of Claude's response so you can prioritize your workflow without switching windows.

### What exactly is included with the purchase of this skill?

You receive the core notification scripts, the automated installer, and documentation for optional 'alerter' binary integration. The purchase includes lifetime access to any future updates or optimizations for the script.

### Can I make the notifications stay on my screen until I manually dismiss them?

By default, notifications use the standard macOS banner system. However, the skill supports the optional 'alerter' tool, which allows for persistent banners that stay on screen until dismissed and custom action buttons.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
