Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Fetches Islamic prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) for any city or coordinates via the AlAdhan API. Automatically selects the correct calculation method for 20+ countries. Can also run background cron jobs that send three-stage reminders around each prayer time.
Automatically maps countries to their official calculation methods, so users don't need to know method IDs or configure settings manually.
When to use it
- Check today's prayer schedule for a trip to Istanbul
- Set up automated reminders before each Salat
- Look up prayer times for a specific date in Cairo
- Get next prayer countdown while traveling across time zones
- Configure region-specific calculation methods for Morocco or Saudi Arabia
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What are the prayer times in Istanbul today and when is the next prayer?
- 1Run get_prayer_times.py with --city Istanbul --country Turkey --next --timezone 3
- 2AlAdhan API returns times using Diyanet method (Method 13)
- 3Script calculates time remaining until next prayer based on current time
- 4Format output with prayer names, times, and next prayer countdown
Displays Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha times for Istanbul with a line showing the next upcoming prayer and minutes remaining