All shelves / Mods / Workflow
prayer-times
By hamzafer
prayer-times is a Claude Code workflow mod by hamzafer.
Draws the current prayer and how long is left, the next prayer, and zawal, above the prompt. Computed on your computer. The author says nothing is sent out.
Draws
Install
The marketplace name is claude-code-mods.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install prayer-times@claude-code-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.5
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
What it can reach
- Draws in the session
Claude Code 2.1.287 or later. The author says to restart after installing. Set your latitude and longitude in /config; they stay in your local settings, and the times are computed on your computer from the sun's position, so nothing is sent anywhere. In a prayer's time the line shows that prayer, the time left to pray it, and the next prayer, such as 🕌 Asr · 1h 12m left · next Maghrib 19:08. Under 20 minutes left it turns yellow, and under 5 red. It is red when not to pray: zawal before Dhuhr, the minutes after sunrise, and the last minutes before sunset. The settings are Asr, hanafi or standard; the Fajr and Isha convention, karachi, mwl, isna, egypt, or makkah; a rule for far north or south; and adjust, such as asr+2 isha-5, to match your mosque to the minute. A toast comes when each prayer begins, and by default 15 minutes before one ends. /prayers lists today's times.
The marketplace, claude-code-mods, holds all of hamzafer's mods. This one installs on its own, or from the checklist that npx claude-code-mods@latest opens. Keeping prayer times in view during work is why this page files it under workflow. muslim-mods, by ashafizullah, draws the next prayer under the prompt, with adhkar and a verse, and keeps a prompt typed during the salah break until it ends. This one shows the current prayer and how long is left to pray it, and warns before it ends. The author says the times are within a minute or two of online tables, which often add a few minutes to Asr that adjust can match. With no sunrise or sunset at all, in polar day or night, it uses latitude 65° and marks the line as an estimate.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/prayersui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/prayersToday's prayer times
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- hamzafer
- Category
- Workflow
- Marketplace
- claude-code-mods
- Folder
- mods/prayer-times
- Version
- 0.1.5
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
- Language
- TypeScript
- Files
- 7