Prayer Times Skill - OpenClaw
An Islamic prayer times skill that provides prayer schedules, reminders, and connects with todo/journal features.
Features
Prayer Times
- Get prayer times for any city or location
- Support for major Indonesian cities and worldwide
- Real-time data from aladhan.com API
- Countdown to next prayer
Reminders
- Configurable prayer time notifications
- Automatic reminder settings
- Morning and evening notifications
Todo List
- Add spiritual tasks and goals
- Mark tasks as complete
- Persistent task storage
Journal
- Daily reflection entries
- Automatic date and time stamping
- Persistent journal storage
Commands
Get Prayer Times
openclaw, prayer times jakarta
openclaw, waktu sholat surabaya
openclaw, solat bandung
openclaw, jadwal solat
Set Location
openclaw, set location to jakarta
openclaw, saya di bandung
openclaw, lokasi surabaya
Todo Commands
openclaw, add todo read quran 1 page
openclaw, add todo morning dhikr
openclaw, list todos
openclaw, todos
openclaw, done 1
openclaw, complete 2
Journal Commands
openclaw, journal today I am grateful for...
openclaw, journal reflections on the day
openclaw, journal
Reminder Commands
openclaw, enable prayer reminders
openclaw, enable reminders
openclaw, ingetin sholat
openclaw, disable reminders
Help
openclaw, help
openclaw, prayer times help
Setup
First Use
- Set your location:
openclaw, set location to [city]
- Test prayer times:
openclaw, prayer times
- Optional: Enable reminders:
openclaw, enable prayer reminders
Location Support
- Indonesian cities: Jakarta, Surabaya, Bandung, Yogyakarta, Medan, Makassar, Denpasar, Semarang, Malang, Palembang, Banjarmasin, Padang, Bengkulu
- International cities: Kuala Lumpur, London, New York, Tokyo, Singapore, Dubai, and other major cities
Storage
All data is stored locally in the OpenClaw memory directory:
- Location:
memory/prayer-times.json
- Todos:
memory/todos.md
- Journal:
memory/journal.md
- Reminder settings:
memory/reminder.json
API
This skill uses the free aladhan.com API:
- Endpoint: https://api.aladhan.com
- Method: ISNA (Islamic Society of North America)
- Calculation: Standard school
- No API key required
- Rate limit: 12 requests per second (generous for personal use)
Data Flow
- User sends command (e.g., "prayer times jakarta")
- Script builds API URL with city parameter
- Calls aladhan.com API
- Parses JSON response
- Formats and displays prayer times
Fallback Behavior
If the API is unavailable or returns an error:
- Script falls back to general estimation times (based on average Indonesia schedule)
- Shows note that this is estimation not actual calculation
- Does not store or cache wrong data
Technical Details
- Language: Bash script
- Runtime: OpenClaw skill system
- Dependencies: curl, jq (for JSON parsing)
- Permissions: Internet access for API calls
- Storage: File-based (JSON/Markdown)
- Security: No sensitive data stored, read-only API calls
Troubleshooting
Prayer times not showing
- Check your internet connection
- Verify the city name is spelled correctly
- Try a different nearby city
Reminders not working
- Reminders require cron to be available
- Use manual check:
openclaw, prayer times
Todos not saving
- Check that the memory directory exists
- Ensure write permissions are correct
Version History
- v1.0.0 - Initial release with prayer times, todos, journal, and reminders
License
MIT License
Author
1---2name: prayer-times-23description: Islamic prayer times with reminders, todo list, and journal. Use when: user asks for prayer times (sholat, waktu solat, jadwalsholat), wants to set location, needs reminders, or asks about Islamic productivity.4---5
6# Prayer Times Skill - OpenClaw
7
8An Islamic prayer times skill that provides prayer schedules, reminders, and connects with todo/journal features.
9
10## Features
11
12### Prayer Times
13- Get prayer times for any city or location
14- Support for major Indonesian cities and worldwide
15- Real-time data from aladhan.com API
16- Countdown to next prayer
17
18### Reminders
19- Configurable prayer time notifications
20- Automatic reminder settings
21- Morning and evening notifications
22
23### Todo List
24- Add spiritual tasks and goals
25- Mark tasks as complete
26- Persistent task storage
27
28### Journal
29- Daily reflection entries
30- Automatic date and time stamping
31- Persistent journal storage
32
33## Commands
34
35### Get Prayer Times
36```
37openclaw, prayer times jakarta
38openclaw, waktu sholat surabaya
39openclaw, solat bandung
40openclaw, jadwal solat
41```
42
43### Set Location
44```
45openclaw, set location to jakarta
46openclaw, saya di bandung
47openclaw, lokasi surabaya
48```
49
50### Todo Commands
51```
52openclaw, add todo read quran 1 page
53openclaw, add todo morning dhikr
54openclaw, list todos
55openclaw, todos
56openclaw, done 1
57openclaw, complete 2
58```
59
60### Journal Commands
61```
62openclaw, journal today I am grateful for...
63openclaw, journal reflections on the day
64openclaw, journal
65```
66
67### Reminder Commands
68```
69openclaw, enable prayer reminders
70openclaw, enable reminders
71openclaw, ingetin sholat
72openclaw, disable reminders
73```
74
75### Help
76```
77openclaw, help
78openclaw, prayer times help
79```
80
81## Setup
82
83### First Use
841. Set your location: `openclaw, set location to [city]`
852. Test prayer times: `openclaw, prayer times`
863. Optional: Enable reminders: `openclaw, enable prayer reminders`
87
88### Location Support
89- **Indonesian cities**: Jakarta, Surabaya, Bandung, Yogyakarta, Medan, Makassar, Denpasar, Semarang, Malang, Palembang, Banjarmasin, Padang, Bengkulu
90- **International cities**: Kuala Lumpur, London, New York, Tokyo, Singapore, Dubai, and other major cities
91
92## Storage
93
94All data is stored locally in the OpenClaw memory directory:
95- Location: `memory/prayer-times.json`
96- Todos: `memory/todos.md`
97- Journal: `memory/journal.md`
98- Reminder settings: `memory/reminder.json`
99
100## API
101
102This skill uses the free aladhan.com API:
103- **Endpoint**: https://api.aladhan.com
104- **Method**: ISNA (Islamic Society of North America)
105- **Calculation**: Standard school
106- **No API key required**
107- **Rate limit**: 12 requests per second (generous for personal use)
108
109### Data Flow
110
1111. User sends command (e.g., "prayer times jakarta")
1122. Script builds API URL with city parameter
1133. Calls aladhan.com API
1144. Parses JSON response
1155. Formats and displays prayer times
116
117### Fallback Behavior
118
119If the API is unavailable or returns an error:
120- Script falls back to general estimation times (based on average Indonesia schedule)
121- Shows note that this is estimation not actual calculation
122- Does not store or cache wrong data
123
124## Technical Details
125
126- **Language**: Bash script
127- **Runtime**: OpenClaw skill system
128- **Dependencies**: curl, jq (for JSON parsing)
129- **Permissions**: Internet access for API calls
130- **Storage**: File-based (JSON/Markdown)
131- **Security**: No sensitive data stored, read-only API calls
132
133## Troubleshooting
134
135### Prayer times not showing
136- Check your internet connection
137- Verify the city name is spelled correctly
138- Try a different nearby city
139
140### Reminders not working
141- Reminders require cron to be available
142- Use manual check: `openclaw, prayer times`
143
144### Todos not saving
145- Check that the memory directory exists
146- Ensure write permissions are correct
147
148## Version History
149
150- **v1.0.0** - Initial release with prayer times, todos, journal, and reminders
151
152## License
153
154MIT License
155
156## Author
157
158- **Developer**: suluhadi
159- **Email**: suluhadi@gmail.com
160- **GitHub**: @jrrqd