ClaudeCodeMod

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.

In your shell
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install prayer-times@claude-code-mods
Open the repo

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

The current prayer and the time left, above the prompt
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/prayers
  • ui.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
Repo
hamzafer/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

Other mods in Workflow

tool-radarSingh-APDraws a pane of every tool call as it happens, with status, arguments, duration, and failures.git-pulseSingh-APDraws the branch, ahead and behind, and dirty files on the status line, and a heads-up when Claude commits.test-pulseSingh-APDraws pass or fail on the status line, toasts when the suite flips, and marks flakes.aimSingh-APDraws one goal above the prompt, with a timer and Done and Clear. /aim sets it. Claude is told to stay on it and name side quests instead of doing them.pin-boardarasovicDraws standing notes in one row above the prompt. /pin adds one. Claude gets it again after /compact and /clear. --keep stores it for the folder.ci-watcharasovicAfter Claude pushes, opens a pull request, or pushes a tag, draws a progress bar above the prompt for each GitHub Actions run, then pass or fail.loop-guardarasovicAdds a note to the second identical failure of a tool call, telling the model not to try a third time, and shows a toast when it does.compact-keeperarasovicSaves a handoff file at each compaction: tokens before and after, your /compact instructions, the files edited since the last one, and Claude Code's summary.switchboardhamzaferPicks the model for each subagent that names none, draws each pick above the prompt, and shows what every subagent cost in /route.terminal-browserzenbu-labsOpens a real browser in a pane inside Claude Code, to preview sites and HTML, and lets the agent drive it.flightdeckscasellaDraws a live agent dashboard: the main model's context and cost, every permission check, subagents as cards or swimlanes, and a receipt for each turn.reflect-modBayramAnnakovSpots reusable corrections in your short prompts and shows each one in a band above the prompt, where one press saves it to CLAUDE.md.
All 396 in Workflow