Skip to content
Back to skills

Claude Bell

ASecurity

Use when you need to alert the user outside the terminal, get confirmation before proceeding, or collect text input. Triggers include task completion, errors requiring attention, destructive operations needing approval, or questions requiring user decision.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 8, 2026
toolsapidocumentation

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill claude-bell --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Bell?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Bell
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-claude-bell/badge)](https://www.skillsdirectory.com/skills/majiayu000-claude-bell)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-bell
description: Use when you need to alert the user outside the terminal, get confirmation before proceeding, or collect text input. Triggers include task completion, errors requiring attention, destructive operations needing approval, or questions requiring user decision.
---

# Claude Bell

Send macOS notifications to communicate with users outside the terminal.

## When to Use

**Use for:**
- Task completion (build done, tests passed, deploy finished)
- Errors requiring attention
- Confirmation before destructive operations
- Collecting text input (release notes, commit messages)
- Status updates during long operations

**Don't use for:**
- Routine progress updates (use terminal)
- Information user is actively watching
- Rapid-fire notifications (spam)

## Quick Reference

| Pattern | Command |
|---------|---------|
| Alert | `cb -t "Done" -m "Build complete"` |
| Alert with sound | `cb -t "Done" -m "Build complete" --sound Glass` |
| Yes/No | `cb -t "Deploy?" -a "Yes,No" --default "No"` |
| Multiple choice | `cb -t "Action" -a "A,B,C,Cancel" --default "Cancel"` |
| Text input | `cb -t "Notes" -r "Enter notes..." --timeout 5m` |
| Template | `cb --template build-done --var 'project:myapp'` |

## Exit Codes

| Code | Meaning | Action |
|------|---------|--------|
| 0 | Success | Proceed with returned value |
| 1 | Timeout | Use `--default` value |
| 2 | Dismissed | Use `--default` value |
| 3 | User error | Check arguments |
| 4 | System error | Check permissions (`cb doctor`) |
| 5 | App error | Report bug |

## Critical Rules

1. **Always provide `--default`** for interactive notifications
2. **Always check exit code** - don't assume success
3. **Use `--timeout`** for non-critical prompts
4. **Don't spam** - one notification per logical event

## References

- `references/cli.md` - Full CLI documentation
- `references/examples.md` - Workflow patterns
- `references/setup.md` - Installation & setup (read only when user requests setup)
- `references/troubleshooting.md` - Diagnosing issues

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.