Agentara current-time
install
source · Clone the upstream repo
git clone https://github.com/MagicCube/agentara
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/MagicCube/agentara "$T" && mkdir -p ~/.claude/skills && cp -r "$T/user-home/.claude/skills/current-time" ~/.claude/skills/magiccube-agentara-current-time && rm -rf "$T"
manifest:
user-home/.claude/skills/current-time/SKILL.mdsource content
Current Time
Get the current date and time with day of week using the system clock.
Workflow
1. Determine timezone
- Default:
(UTC+8, user's primary timezone).Asia/Shanghai - If the user specifies a different timezone, use that instead.
2. Get current time
Run the following Bash command:
TZ="{timezone}" date "+%Y-%m-%d %A %H:%M:%S %Z"
Example output:
2026-03-09 Monday 23:38:42 CST
3. Use the result
- Parse the output: date, day of week, time, timezone.
- Use this information to answer the user's question or inform your own reasoning.
- Do NOT present the raw command output — incorporate it naturally into your response.