time-orchestrator

time-orchestrator is a command for Claude Code from clxzl/claude-code-best-practice-cn. It costs 0 tokens per session (584 once invoked), scanned A, original, MIT.

A two-step workflow that gets the current time in Dubai and then creates a visual SVG time card from that result.

In plain words
What is it for?
Fetching Dubai time in the Asia/Dubai time zone, passing the time, time zone, and formatted timestamp to the card creator, and producing the SVG and summary files.
Why use it?
It coordinates the time lookup and card creation in the required order, so the card uses the returned time data rather than a separately calculated value.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Fetching Dubai time in the Asia/Dubai time zone, passing the time, time zone, and formatted timestamp to the card creator, and producing the SVG and summary files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/clxzl/claude-code-best-practice-cn/time-orchestrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for time-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/commands/clxzl/claude-code-best-practice-cn/time-orchestrator.svg)](https://agentmods.dev/commands/clxzl/claude-code-best-practice-cn/time-orchestrator)
Your own site
<a href="https://agentmods.dev/commands/clxzl/claude-code-best-practice-cn/time-orchestrator"><img src="https://agentmods.dev/badge/commands/clxzl/claude-code-best-practice-cn/time-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00584
Opus 5 $0.00000 $0.00292
Sonnet 5 $0.00000 $0.00117
Haiku 4.5 $0.00000 $0.00058

Measured 8d ago against content hash fd9ce638f60e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

time-orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-teams/.claude/commands/time-orchestrator.md · 51 lines

What it actually says

时间编排器命令

获取迪拜的当前时间(Asia/Dubai,UTC+4)并创建一个可视化的 SVG 时间卡片。

工作流

步骤 1:获取当前迪拜时间

使用 Agent 工具调用 time agent:

  • subagent_type: time-agent
  • description: 获取当前迪拜时间
  • prompt: 获取迪拜(Asia/Dubai,UTC+4)的当前时间。返回三个字段:time(时间部分,例如 "14:30:45")、timezone("GST (UTC+4)")和 formatted(完整格式化字符串,例如 "2026-03-12 14:30:45 +04")。该 agent 有一个预加载的 skill(time-fetcher)提供详细指令。
  • model: haiku

等待 agent 完成并捕获返回的时间数据。

数据契约

time-agent 必须返回以下三个字段:

  • time:时间部分(例如 "14:30:45")
  • timezone:"GST (UTC+4)"
  • formatted:完整格式化字符串(例如 "2026-03-12 14:30:45 +04")

步骤 2:创建 SVG 时间卡片

使用 Skill 工具调用 time-svg-creator skill:

  • skill: time-svg-creator
  • args: 传递步骤 1 中的时间数据 — 包括 timetimezoneformatted

该 skill 将使用步骤 1 中的时间数据(在当前上下文中可用)来创建 SVG 卡片并写入输出文件。

关键要求

  1. 使用 Agent 工具调用 time-agent:不要使用 bash 命令调用 agent。你必须使用 Agent 工具并设置 subagent_type: "time-agent"
  2. 使用 Skill 工具调用 SVG 创建器:通过 Skill 工具使用 skill: "time-svg-creator" 调用 SVG 创建器,而不是 Agent 工具。
  3. 顺序流程:Agent 必须完成并返回时间数据后才能调用 skill。不要并行运行。
  4. 数据传递:确保 agent 响应中的三个字段(time、timezone、formatted)在调用 skill 时在上下文中可用。

输出摘要

两个步骤都完成后,向用户提供清晰的摘要,显示:

  • 获取到的当前迪拜时间
  • 时区:GST (UTC+4)
  • 完整格式化时间戳
  • SVG 卡片已创建于 agent-teams/output/dubai-time.svg
  • 摘要已写入 agent-teams/output/output.md
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 51 lines · 0 tokens per session scan A fd9ce638f60e

Subscribe to this mod's changes

time-orchestrator is a command published in the GitHub repository clxzl/claude-code-best-practice-cn (127 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 584 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.