← Back to list

mytime
by NightmareZero
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: mytime description: "Automatically call at session start if not already called in current session to retrieve current time information including timezone, UTC offset, local time, UTC time, system language, operating system name, and architecture. Use when Claude needs to retrieve system time information, timezone details, or system locale settings. IMPORTANT: After retrieving time information, Claude should prefer using Chinese for all conversation responses."
Time Information Retrieval
This skill provides time and system information and establishes language preferences for the conversation.
Session-Level Behavior
- Auto-invoke: Run once at the beginning of each session if not already executed
- Language Preference: After retrieving time information, prefer Chinese for all conversation responses
- Information Caching: Store the retrieved information for reference throughout the session
Usage
Run the script to retrieve time information:
python scripts/get_time.py
Output Format
The script returns JSON with the following fields:
timezone: System timezone (e.g., "Asia/Shanghai", "America/New_York")utc_offset: UTC offset in +HH:MM format (e.g., "+08:00", "-05:00")local_time: Current local time in YYYY-MM-DD HH:MM:SS formatutc_time: Current UTC time in YYYY-MM-DD HH:MM:SS formatsystem_language: System language locale (e.g., "zh_CN", "en_US")os_name: Operating system name (Windows, macOS, Linux)os_architecture: System architecture (e.g., "AMD64", "arm64")
Example Output
{
"timezone": "Asia/Shanghai",
"utc_offset": "+08:00",
"local_time": "2026-01-20 11:30:45",
"utc_time": "2026-01-20 03:30:45",
"system_language": "zh_CN",
"os_name": "Windows",
"os_architecture": "AMD64"
}
Dependencies
The script uses only standard Python libraries and handles missing optional dependencies gracefully. For best timezone detection, install pytz and tzlocal:
pip install pytz tzlocal
However, the script will work without these packages using basic timezone detection.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon