carlocontaldi

Claude Portavoce — Development skill for Claude Code

Development community

Claude Portavoce - speaks for Claude while it can't. A token-free alert for your limit reset.

How to install Claude Portavoce

This entry records only its repository, not the path inside it, so there is no exact command to give. Open carlocontaldi/claude-portavoce and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Portavoce does

Claude Portavoce - speaks for Claude while it can't. A token-free alert for your limit reset.

Alternatives in Development

README

Claude Portavoce

**por·ta·vo·ce** · Italian /portaˈvotʃe/ (*por-ta-VOH-cheh*) · *noun*, masculine and feminine, plural unchanged

  1. One who speaks on behalf of another person or a group; a spokesperson.
  2. A megaphone; on ships, a speaking tube that carries the voice from one room to the next.

*From* portare, *to carry, and* voce, *voice.*

Claude Code stops when a session, weekly or org spend limit is hit. Claude Portavoce speaks for it while it can't: it watches the clock for you and sends a push, and an email through ntfy, a minute after the limit resets, with no terminal or Claude session left open.

**Token-free.** It makes no model calls: the waiting is done by a plain Python process, and the hook fires after Claude has already stopped and prints nothing, so it adds nothing to the conversation and costs none of your usage.

How it works: a `StopFailure` hook (matcher `rate_limit`) hands the event to a detached watcher and returns at once. The watcher reads the `resets ... (zone)` time from the limit error at the end of the transcript, sleeps until reset + 60 s, then POSTs to `ntfy.sh/`. One watcher runs per reset time. A limit message with no reset time is only logged. The watcher is an ordinary background process: it outlives the terminal and the Claude session, but not a reboot or shutdown, and a push that falls due while the machine is off is never sent.

What leaves your machine: one HTTPS request to ntfy.sh (or to the server in `LIMIT_WATCH_NTFY_URL`). The topic is in the URL; your email address and token are in headers, next to a fixed title and tag; the body is one line, "Your session limit has reset. You can continue." (`weekly` or `usage` in place of `session` for the other limits). Nothing else is sent.

Requirements

  • A POSIX system (the script uses fcntl.flock; only Linux is tested) and Python 3.9 or newer, standard library only.
  • An ntfy.sh account and access token. ntfy.sh refuses emails from anonym