Claude Code · HooksNotification
Push con Pushover
Envía los avisos de Claude a Pushover.
por Prompt Studio
notifymobile
Licencia: MITVer original
Contenido
Dónde va: ~/.claude/settings.json
{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "[ -n \"$PUSHOVER_TOKEN\" ] && [ -n \"$PUSHOVER_USER\" ] || exit 0; curl -s -m 10 --form-string \"token=$PUSHOVER_TOKEN\" --form-string \"user=$PUSHOVER_USER\" --form-string 'title=Claude Code' --form-string \"message=$(jq -r '.message // \"Claude te necesita\"')\" https://api.pushover.net/1/messages.json >/dev/null; exit 0"
}
]
}
]
}
}
Más en Hooks
Formatear al editar
Ejecuta Prettier sobre cada archivo que Claude edita o crea.
Bloquear archivos .env
Impide que Claude lea o edite archivos de secretos.
Aviso al terminar
Notificación de escritorio en macOS cuando Claude termina.
Chequeo de tipos al editar
Corre tsc después de editar archivos TypeScript y muestra los errores.
Contexto al iniciar
Carga la rama y los últimos commits al abrir una sesión.
Registro de comandos
Guarda cada comando de shell en un log para auditoría.