prayer-times

Reviewed at commit 55a5cf9 New version, not yet reviewed

The current prayer and how long is left, the next prayer, and zawal, above the prompt. Computed on your computer from your location; nothing is sent anywhere.

Made by
Hamza Zafar
What we checked

Shows the current prayer, the time left, the next prayer and zawal above the prompt, with toasts when a prayer begins and before it ends, and a /prayers command. Times are calculated on your computer from the latitude and longitude you set in its config. It now also reads a small band-order file in your Claude config folder to decide where its line sits among other band mods. It reads no prompts, runs no programs and makes no network calls.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since d98b257; the rest carries over from the review at that commit. Registers session.start (registers /prayers, a 30 second clock that updates the line and shows toasts), command.run for prayers and ui.render for AbovePrompt. All times come from a local solar-position calculation using the configured latitude, longitude, method, Asr convention, high-latitude rule and optional minute adjustments. New in this version: hooks/bands.ts (a shared helper copied into every band mod) wraps the line in a keyed Box and sorts it among other mods' bands; register.tsx reads the order once per session with $.env.get for CLAUDE_CONFIG_DIR and HOME and $.fs.exists/$.fs.read on <configDir>/claude-code-mods/bands.json (or ~/.claude/claude-code-mods/bands.json). The file is parsed as JSON and only a string array named order is used, any error gives an empty order; the content is used only for sorting and goes nowhere. The 30 second timer is now cancelled and replaced if session.start fires again. Still no network, process, model or store calls and no writes.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of prayer-times
Made this mod? Add a badge to your README

modsforClaude badge for prayer-times

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/prayer-times.svg)](https://modsforclaude.com/mods/prayer-times/)

← All mods