coleam00/world_clock
Get current time in any timezone and convert times between locations. Use when user asks about time in different cities, timezone conversions, or scheduling across timezones.
npx skills add https://github.com/coleam00/custom-agent-with-skills --skill world_clock
Get the current time anywhere in the world and convert times between timezones. Useful for scheduling across timezones, checking times in other cities, and handling daylight saving time.
When a user asks about time or timezones:
Use the WorldTimeAPI with the appropriate timezone identifier.
API Endpoint:
https://worldtimeapi.org/api/timezone/{Area}/{Location}
Example - Get Tokyo time:
https://worldtimeapi.org/api/timezone/Asia/Tokyo
Example - Get New York time:
https://worldtimeapi.org/api/timezone/America/New_York
Format clearly with:
| City | Timezone ID |
|------|-------------|
| New York | America/New_York |
| Los Angeles | America/Los_Angeles |
| Chicago | America/Chicago |
| Denver | America/Denver |
| Toronto | America/Toronto |
| Vancouver | America/Vancouver |
| Mexico City | America/Mexico_City |
| Sao Paulo | America/Sao_Paulo |
| Buenos Aires | America/Argentina/Buenos_Aires |
| City | Timezone ID |
|------|-------------|
| London | Europe/London |
| Paris | Europe/Paris |
| Berlin | Europe/Berlin |
| Amsterdam | Europe/Amsterdam |
| Rome | Europe/Rome |
| Madrid | Europe/Madrid |
| Moscow | Europe/Moscow |
| Istanbul | Europe/Istanbul |
| Dublin | Europe/Dublin |
| City | Timezone ID |
|------|-------------|
| Tokyo | Asia/Tokyo |
| Singapore | Asia/Singapore |
| Hong Kong | Asia/Hong_Kong |
| Shanghai | Asia/Shanghai |
| Beijing | Asia/Shanghai |
| Seoul | Asia/Seoul |
| Mumbai | Asia/Kolkata |
| Delhi | Asia/Kolkata |
| Dubai | Asia/Dubai |
| Sydney | Australia/Sydney |
| Melbourne | Australia/Melbourne |
| Auckland | Pacific/Auckland |
| City | Timezone ID |
|------|-------------|
| Cairo | Africa/Cairo |
| Johannesburg | Africa/Johannesburg |
| Lagos | Africa/Lagos |
| Tel Aviv | Asia/Jerusalem |
| Riyadh | Asia/Riyadh |
| Abbreviation | Full Name | UTC Offset |
|--------------|-----------|------------|
| PST | Pacific Standard Time | UTC-8 |
| PDT | Pacific Daylight Time | UTC-7 |
| MST | Mountain Standard Time | UTC-7 |
| MDT | Mountain Daylight Time | UTC-6 |
| CST | Central Standard Time | UTC-6 |
| CDT | Central Daylight Time | UTC-5 |
| EST | Eastern Standard Time | UTC-5 |
| EDT | Eastern Daylight Time | UTC-4 |
| GMT | Greenwich Mean Time | UTC+0 |
| BST | British Summer Time | UTC+1 |
| CET | Central European Time | UTC+1 |
| CEST | Central European Summer Time | UTC+2 |
| IST | India Standard Time | UTC+5:30 |
| JST | Japan Standard Time | UTC+9 |
| AEST | Australian Eastern Standard Time | UTC+10 |
| AEDT | Australian Eastern Daylight Time | UTC+11 |
The WorldTimeAPI returns:
{
"abbreviation": "EST",
"datetime": "2024-01-15T14:30:00.123456-05:00",
"day_of_week": 1,
"day_of_year": 15,
"dst": false,
"dst_offset": 0,
"timezone": "America/New_York",
"unixtime": 1705343400,
"utc_datetime": "2024-01-15T19:30:00.123456+00:00",
"utc_offset": "-05:00",
"week_number": 3
}
Key fields:
datetime: Current local time with offsetabbreviation: Timezone abbreviation (EST, PST, etc.)utc_offset: Offset from UTCdst: Whether daylight saving time is activeday_of_week: 0=Sunday, 1=Monday, etc.User asks: "What time is it in Tokyo?"
https://worldtimeapi.org/api/timezone/Asia/Tokyo"It's currently 10:30 PM JST (Japan Standard Time) in Tokyo.
That's Monday, January 15, 2024.
UTC offset: +09:00"
User asks: "If I schedule a call for 3pm Eastern, what time is that in London?"
User asks: "Show me the time in New York, London, and Tokyo"
| City | Local Time | Date |
|------|------------|------|
| New York | 2:30 PM EST | Mon, Jan 15 |
| London | 7:30 PM GMT | Mon, Jan 15 |
| Tokyo | 4:30 AM JST | Tue, Jan 16 |
User asks: "I need to find a time that works for LA, New York, and Berlin"
If user mentions a city not in the common list:
DST changes dates vary by country:
Always check the dst field in the API response.
When converting across the International Date Line, the date may change:
Take coleam00/world_clock from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.