Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

muslim-prayer-reminder穆斯林祈祷提醒

Agent Skill

muslim-prayer-reminder 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

29,040

周安装

1,198

GitHub Stars

公开资料未说明

下载量

9,488
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:muslim-prayer-reminder(穆斯林祈祷提醒)
来源仓库:https://github.com/diepox/muslim-prayer-reminder
安装命令:
openclaw skills install muslim-prayer-reminder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install muslim-prayer-reminder

简介

使用官方计算方法获取全球任何地点准确的伊斯兰祈祷时间(Fajr、Dhuhr、Asr、Maghrib、Isha)。当用户询问祈祷时间、礼拜时间表、下次祈祷或需要设置自动祈祷提醒时使用。包括自动后台提醒系统,可在祈祷时间前 10 分钟和祈祷时间后 5 分钟(甚至在对话期间)提醒用户。支持 20 多个国家/地区特定的计算方法,包括摩洛哥、沙特阿拉伯、埃及、土耳其、阿联酋等。

SKILL.md

name
prayer-times
description
Get accurate Islamic prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) for any location worldwide using official calculation methods. Use when users ask about prayer times, Salat schedules, next prayer, or need to set up automated prayer reminders. Includes automated background reminder system that alerts users 10 minutes before, at prayer time, and 5 minutes after - even during conversations. Supports 20+ country-specific calculation methods including Morocco, Saudi Arabia, Egypt, Turkey, UAE, and more.

Prayer Times Skill

Get accurate Islamic prayer times for any location using the AlAdhan API with region-specific calculation methods, plus automated reminders that work in the background.

Two Ways to Use This Skill

1. Query Prayer Times (Instant)

Ask about prayer times for any location, get next prayer info, or check specific dates.

2. Automated Reminders (Background)

Set up cron jobs that fetch daily prayer times and check periodically for reminders. Alerts you:

  • 10 minutes before prayer time
  • At prayer time ("Salat First")
  • 5 minutes after (if you're still chatting)

To set up reminders: See references/setup-reminders.md for complete guide.

Quick Start

Get today's prayer times

By city and country:

cd scripts/
python3 get_prayer_times.py --city Mecca --country "Saudi Arabia"
python3 get_prayer_times.py --city Istanbul --country Turkey
python3 get_prayer_times.py --city Cairo --country Egypt

By coordinates:

python3 get_prayer_times.py --lat 21.4225 --lon 39.8262  # Mecca

With next prayer info:

python3 get_prayer_times.py --city Istanbul --country Turkey --next --timezone 3

Output

📍 Mecca, Saudi Arabia
📆 10 Feb 2026
🌙 22-08-1447
🔢 Method: 4

🕌 Fajr     05:37
🌅 Sunrise  06:54
🕌 Dhuhr    12:35
🕌 Asr      15:50
🕌 Maghrib  18:16
🕌 Isha     19:46

⏳ Next: Maghrib at 18:16 (in 15 minutes)

Calculation Methods

The script automatically selects the correct calculation method based on country:

  • Morocco → Method 21 (official)
  • Saudi Arabia → Method 4 (Umm Al-Qura)
  • Egypt → Method 5 (Egyptian Authority)
  • Turkey → Method 13 (Diyanet)
  • UAE → Method 16 (Dubai)
  • And 15+ more countries...

When to override: Only specify --method if you need a different calculation than the country default.

For full method list and details, see references/methods.md.

Script Reference

get_prayer_times.py

Location: scripts/get_prayer_times.py

Purpose: Fetch prayer times for any location.

Arguments:

  • --city <name> - City name (e.g., "Rabat")
  • --country <name> - Country name (e.g., "Morocco")
  • --lat <float> - Latitude coordinate
  • --lon <float> - Longitude coordinate
  • --method <id> - Calculation method ID (1-24, optional)
  • --date <DD-MM-YYYY> - Specific date (optional, defaults to today)
  • --timezone <hours> - Timezone offset from UTC for "next prayer" calculation
  • --next - Show next prayer and time remaining
  • --json - Output as JSON

Returns:

  • Exit code 0 on success
  • Exit code 1 on failure
  • JSON or formatted text output

check_prayer_reminder.py

Location: scripts/check_prayer_reminder.py

Purpose: Check if it's time to send a prayer reminder. Designed for periodic cron execution.

Arguments:

  • --prayer-times <path> - Path to prayer_times.json file (required)
  • --timezone <hours> - Timezone offset from UTC (required)
  • --json - Output as JSON

Returns:

  • Exit code 0 - No reminder needed
  • Exit code 1 - Reminder needed (message printed to stdout)
  • Exit code 2 - Error loading prayer times

Reminder Windows:

  • Before: 9-11 minutes before prayer time
  • Now: -1 to +2 minutes from prayer time
  • After: 4-6 minutes after prayer time

Common Usage Patterns

1. Get prayer times for user's city

python3 get_prayer_times.py --city "User's City" --country "User's Country" --next --timezone <offset>

2. Set up automated daily fetch

from get_prayer_times import get_prayer_times
import json

# Fetch and save
times = get_prayer_times(city="Rabat", country="Morocco")
with open('prayer_times.json', 'w') as f:
    json.dump(times, f)

3. Check next prayer

from get_prayer_times import get_prayer_times, get_next_prayer

times = get_prayer_times(city="Rabat", country="Morocco")
next_prayer = get_next_prayer(times, timezone_offset=1)  # GMT+1 for Morocco

print(f"Next: {next_prayer['name']} in {next_prayer['hours_until']}h {next_prayer['minutes_until']}m")

4. Set up automated reminders (recommended)

Complete setup guide: references/setup-reminders.md

Quick setup:

  1. Create daily fetch job (runs at midnight):

- Fetches today's prayer times - Saves to prayer_times.json

  1. Create reminder check job (runs every 5 min):

- Checks if it's time to remind - Sends alert to active session - Three-stage reminders: before, during, after

Example prompts to set up:

Set up prayer time reminders for Mecca, Saudi Arabia (GMT+3). 
Fetch daily at midnight and check every 5 minutes.
Set up prayer time reminders for Istanbul, Turkey (GMT+3). 
Fetch daily at midnight and check every 5 minutes.
Set up prayer time reminders for Cairo, Egypt (GMT+2). 
Fetch daily at midnight and check every 5 minutes.

This enables background reminders even while chatting - you'll never miss Salat!

Important Notes

Network Requirements

The AlAdhan API (api.aladhan.com) may be unreachable from some datacenter IPs (e.g., DigitalOcean → Hetzner routing issues).

Solution: Use Cloudflare WARP or similar VPN to route traffic through Cloudflare's network.

Quick fix:

# Install Cloudflare WARP
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt update && sudo apt install cloudflare-warp
warp-cli register
warp-cli connect

Accuracy

  • Always use country-specific methods when available (e.g., method 21 for Morocco)
  • Coordinates provide more accurate results than city names
  • Times are in 24-hour format (HH:MM)

Timezones

The API returns times in local time for the queried location. When calculating "time until next prayer", use the appropriate timezone offset.

API Source

  • Provider: AlAdhan (Islamic Network)
  • Endpoint: https://api.aladhan.com
  • Documentation: https://aladhan.com/prayer-times-api
  • Free tier: No API key required, rate limited
  • Reliability: High (99%+ uptime)

Examples

Example 1: User asks "What are the prayer times in Mecca?"

python3 get_prayer_times.py --city Mecca --country "Saudi Arabia"

Example 2: User asks "When is the next prayer?"

python3 get_prayer_times.py --city Istanbul --country Turkey --next --timezone 3

Example 3: User provides coordinates

python3 get_prayer_times.py --lat 40.7128 --lon -74.0060 --next --timezone -5
# New York coordinates

Example 4: User wants specific date

python3 get_prayer_times.py --city Cairo --country Egypt --date 15-03-2026

Testing the Skill

Test the script locally:

cd scripts/
python3 get_prayer_times.py --city Rabat --country Morocco --next --timezone 1

Expected output should show 5 prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) plus Sunrise, and indicate the next upcoming prayer if --next is used.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.58%
按下载量换算7,835

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills