timezone
$
npx mdskill add aAAaqwq/AGI-Super-Team/timezoneDetect local time automatically for accurate calendar and call scheduling.
- Prevents scheduling errors by converting all times to user's local timezone.
- Relies on system clock queries and Python zoneinfo for timezone handling.
- Queries system time via subprocess to determine the exact local timezone.
- Displays converted times in local format for calendar events and calls.
SKILL.md
.github/skills/timezoneView on GitHub ↗
---
name: timezone
description: Local time detection, timezone conversion
user-invocable: false
---
# Timezone
> Detecting user's local time at session start
## When to use
- **Always at session start** (automatically via hook or manually)
- When time conversion is needed (calendar, calls, deadlines)
- When Claude displays any time to the user
## How to determine current time
```bash
date '+%Y-%m-%d %H:%M:%S %Z %z'
```
This gives the exact time, timezone and UTC offset from the system clock.
## Rules
1. **NEVER guess the timezone** -- always query the system clock
2. **NEVER convert manually** -- use Python `datetime` with `zoneinfo`
3. **Always display times in the user's local timezone** (determined from the system clock)
4. Google Calendar API returns time in the event creation timezone -- **always convert to local**
## Time conversion (Python)
```python
from datetime import datetime
from zoneinfo import ZoneInfo
import subprocess
# Determine timezone from system
result = subprocess.run(['date', '+%z'], capture_output=True, text=True)
offset = result.stdout.strip() # e.g. "+0800"
# Or use timezone directly
local_tz = ZoneInfo('Asia/Makassar') # WITA, UTC+8
# Convert from another timezone
event_time = datetime.fromisoformat('2026-02-16T13:30:00+01:00') # CET
local_time = event_time.astimezone(local_tz)
print(local_time.strftime('%H:%M %Z')) # -> 20:30 WITA
```
## Current configuration
- **Location:** Bali, Indonesia
- **Timezone:** WITA (UTC+8), `Asia/Makassar`
- **IMPORTANT:** Indonesia has 3 timezones (WIB +7, WITA +8, WIT +9). Bali = WITA.
## Related skills
- `daily-briefing` -- displays event times
- `show-today` -- deadlines
More from aAAaqwq/AGI-Super-Team
- a-fund-monitor监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。
- account-executive>
- add-leadAdd company/person/relationship to CRM
- adsComprehensive ad account analysis across all major platforms (Google, Meta
- ads-agentAI-агент для управления Facebook рекламой. Вызывай для анализа, оптимизации, создания кампаний и отчётов.
- afrexai-compliance-auditRun internal compliance audits against major governance and security
- afrexai-personal-financeComplete personal finance system — budgeting, debt payoff, investing, tax optimization, net worth tracking, and financial independence planning. Use when managing money, building wealth, paying off debt, planning retirement, or optimizing taxes. Zero dependencies.
- after-salesUse when managing post-purchase experience, building customer loyalty, or increasing repeat purchases
- agent-contactsAI agent contacts — add, list, remove MCP contacts. Use when someone gives an agent URL, or when you need to view/remove contacts.
- agent-model-switcher批量查看和切换子 agent 的模型配置,用于统一调整多 agent 的 provider/model 设置。