Cc Redalerts Statusline banner
alonw0 alonw0

Cc Redalerts Statusline

Productivity community

Description

Real-time Pikud HaOref (Israeli Home Front Command) rocket alert notifications directly in your Claude Code status line.

Installation

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

README

Oref Red Alert Status Line for Claude Code

שורת מצב התראות פיקוד העורף עבור Claude Code

Real-time Pikud HaOref (Israeli Home Front Command) rocket alert notifications directly in your Claude Code status line.

הצגת התראות צבע אדום של פיקוד העורף בזמן אמת ישירות בשורת המצב של Claude Code.


🔴 TZEVA ADOM: תל אביב - מרכז העיר | רמת גן        ← active alert (flashing red)
[Claude Sonnet 4.5] ▓▓▓░░░░░░░ 31% | $0.042

[Claude Sonnet 4.5] ▓░░░░░░░░░ 12% | $0.031 🟢 ALL CLEAR   ← no alert

What it does / מה זה עושה

**English:** A background Python daemon polls the Pikud HaOref API every 5 seconds and writes alert state to a local cache file. Claude Code's status line reads the cache on every render, showing a **flashing red alert** with city names when rockets are incoming, or a quiet **green ALL CLEAR** otherwise. You can filter alerts to your own city/area so you only see what's relevant to you.

**עברית:** תוכנית Python רצה ברקע ומבצעת סקרים ל-API של פיקוד העורף כל 5 שניות וכותבת את מצב ההתראות לקובץ מקומי. שורת המצב של Claude Code קוראת את הקובץ בכל רענון ומציגה **התראה אדומה מהבהבת** עם שמות ערים כאשר יש ירי, או **ALL CLEAR ירוק** בשלווה אחרת. ניתן לסנן התראות לפי עיר/אזור כך שתראה רק את מה שרלוונטי אליך.


Requirements / דרישות

Claude Code CLI for Claude (the host application)
Python 3 Usually pre-installed on macOS/Linux
fzf (optional) Fuzzy city picker — brew install fzf or apt install fzf

Install / התקנה

**One-liner:**

curl -fsSL https://raw.githubusercontent.com/alonw0/cc-redalerts-statusline/main/install.sh | bash

**Or clone and run locally:**

git clone https://github.com/alonw0/cc-redalerts-statusline.git
cd cc-redalerts-statusline
bash install.sh

The installer will:

  1. Copy the scripts and city list to ~/.claude/
  2. Add statusLine.command to ~/.claude/settings.json
  3. Run the interactive city picker so you can filter t