$npx -y skills add MagicCube/agentara --skill current-timeGet the current date (with day of week) and time (HH:MM:SS) in a specified timezone. Auto-trigger when needing to know current time, date, or day of week — including when guessing user's location based on schedule, answering "what time is it", "what day is it", "today is what dat
| 1 | # Current Time |
| 2 | |
| 3 | Get the current date and time with day of week using the system clock. |
| 4 | |
| 5 | ## Workflow |
| 6 | |
| 7 | ### 1. Determine timezone |
| 8 | |
| 9 | - Default: `Asia/Shanghai` (UTC+8, user's primary timezone). |
| 10 | - If the user specifies a different timezone, use that instead. |
| 11 | |
| 12 | ### 2. Get current time |
| 13 | |
| 14 | Run the following Bash command: |
| 15 | |
| 16 | ```bash |
| 17 | TZ="{timezone}" date "+%Y-%m-%d %A %H:%M:%S %Z" |
| 18 | ``` |
| 19 | |
| 20 | Example output: `2026-03-09 Monday 23:38:42 CST` |
| 21 | |
| 22 | ### 3. Use the result |
| 23 | |
| 24 | - Parse the output: date, day of week, time, timezone. |
| 25 | - Use this information to answer the user's question or inform your own reasoning. |
| 26 | - Do NOT present the raw command output — incorporate it naturally into your response. |