maestro: Command for Claude Code

.claude/commands/setup-notifications.md

setup-notifications is a command for Claude Code from CarlosDanielDev/maestro. It costs 0 tokens per session (938 once invoked), scanned B, original, MIT.

A project command for configuring Claude Code notifications on the desktop and in Slack. It stores choices such as permission and idle alerts in a project configuration file.

In plain words
What is it for?
Use it to view or change notification types, set a Slack user ID, or reset the project’s notification settings.
Why use it?
It avoids editing notification settings by hand and keeps the notification choices for the project in one place.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool; mentions Claude Code.

This is CarlosDanielDev/maestro's own configuration. It tells Claude Code how to work on maestro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maestro configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CarlosDanielDev/maestro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CarlosDanielDev/maestro/main/.claude/commands/setup-notifications.md
Clone the repo
git clone --depth 1 https://github.com/CarlosDanielDev/maestro

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/carlosdanieldev/maestro/setup-notifications/github.svg)](https://agentmods.dev/commands/carlosdanieldev/maestro/setup-notifications)
Your own site
<a href="https://agentmods.dev/commands/carlosdanieldev/maestro/setup-notifications"><img src="https://agentmods.dev/badge/commands/carlosdanieldev/maestro/setup-notifications/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 setup-notifications

Your own site · 80×15
<a href="https://agentmods.dev/commands/carlosdanieldev/maestro/setup-notifications"><img src="https://agentmods.dev/badge/commands/carlosdanieldev/maestro/setup-notifications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 938 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00938
Opus 5.5 $0.00000 $0.00375
Sonnet 5.5 $0.00000 $0.00188
Haiku 4.5 $0.00000 $0.00094

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

Security

Grade B, and why

setup-notifications scanned grade B with 2 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/notifications.conf 2>/dev/null || echo "Arquivo nao existe ainda"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST \
.claude/commands/setup-notifications.md · 131 lines

How it starts

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

Setup Notifications

Configure as notificacoes do Claude Code (desktop e Slack) para este projeto.

Arquivo de Configuracao

As configuracoes sao salvas em .claude/notifications.conf (na raiz do projeto) com o formato:

NOTIFY_DESKTOP=true
NOTIFY_SLACK=true
NOTIFY_PERMISSION_PROMPT=true
NOTIFY_IDLE_PROMPT=true
SLACK_USER_ID=U0XXXXXXXX

Fluxo do Comando

1. Verificar configuracao atual

Primeiro, leia o arquivo de configuracao do projeto (se existir):

cat .claude/notifications.conf 2>/dev/null || echo "Arquivo nao existe ainda"

2. Perguntar ao usuario o que deseja configurar

Use AskUserQuestion com as opcoes:

  • "Ver/alterar status das notificacoes" - Ativar/desativar tipos de notificacao
  • "Configurar Slack" - Configurar User ID do Slack
  • "Resetar configuracoes" - Voltar ao padrao (tudo ativado)

3. Se escolher "Ver/alterar status"

Mostre o status atual e pergunte com multiSelect=true:

"Quais notificacoes voce quer ATIVAR?"
- Notificacoes Desktop (som e popup no sistema)
- Notificacoes Slack (mensagem direta no Slack)
- Avisos de permissao (quando Claude precisa aprovar algo)
- Avisos de idle (quando Claude aguarda sua resposta)

Depois salve as escolhas:

cat > .claude/notifications.conf << 'EOF'
# Configuracoes de notificacao para este projeto
# Valores: true | false

NOTIFY_DESKTOP=true|false
NOTIFY_SLACK=true|false
NOTIFY_PERMISSION_PROMPT=true|false
NOTIFY_IDLE_PROMPT=true|false
SLACK_USER_ID=ID_ATUAL_OU_VAZIO
EOF

4. Se escolher "Configurar Slack"

Pergunte se o usuario ja tem o Slack User ID.

Se nao tiver, instrua:

  1. Abra o Slack
  2. Clique no seu nome/foto no canto superior direito
  3. Clique em "Perfil"
  4. Clique nos tres pontinhos (...)
  5. Clique em "Copiar ID do membro"

Peca o User ID e salve:

# Ler config atual
source .claude/notifications.conf 2>/dev/null

# Atualizar apenas o SLACK_USER_ID mantendo outras configs
cat > .claude/notifications.conf << EOF
# Configuracoes de notificacao para este projeto
# Valores: true | false

NOTIFY_DESKTOP=${NOTIFY_DESKTOP:-true}
NOTIFY_SLACK=${NOTIFY_SLACK:-true}
NOTIFY_PERMISSION_PROMPT=${NOTIFY_PERMISSION_PROMPT:-true}
NOTIFY_IDLE_PROMPT=${NOTIFY_IDLE_PROMPT:-true}
SLACK_USER_ID=NOVO_ID_AQUI
EOF

Read the full file on GitHub · 131 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. 1mo ago First seen · 131 lines · 0 tokens per session scan B d690b10d3759

Subscribe to this mod's changes

setup-notifications is a command published in the GitHub repository CarlosDanielDev/maestro (31 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 938 tokens. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

setup-notifications compared with commands from other repositories

setup-notifications next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-notificationsCarlosDanielDev/maestroCommand3120d agoMITB0Claude Code
wsdanielmiessler/LifeOSCommand20kyesterdayMITA0Claude Code
cancel-ralphanthropics/claude-plugins-officialCommand46ktodayApache-2.0A4Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand41215d agoMITA11Claude Code
focusData-Wise/claude-pluginsCommand7yesterdayMITA0Claude Code
stuckData-Wise/claude-pluginsCommand7yesterdayMITA0Claude Code
quickstartorq-ai/assistant-pluginsCommand62d agoMITA23Claude Code