スキル一覧に戻る
NightmareZero

mytime

by NightmareZero

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

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 format
  • utc_time: Current UTC time in YYYY-MM-DD HH:MM:SS format
  • system_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.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です