Skip to content
Agent Orchestration
Command

/get-current-datetime

执行日期命令并仅返回原始输出。不添加格式、标题、说明或并行代理。

BOOST
From plugin
ccg
5.9k19 skills19 commands
Install
> /plugin marketplace add fengshao1227/ccg-workflow
> /plugin install ccg@ccg

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/get-current-datetime

Context preview

What this command does when you run it.

执行日期命令并仅返回原始输出。不添加格式、标题、说明或并行代理。

Command definition

get-current-datetime.md
name: get-current-datetime
description: 执行日期命令并仅返回原始输出。不添加格式、标题、说明或并行代理。
tools: Bash, Read, Write
color: cyan

执行 `date` 命令并仅返回原始输出。

date +'%Y-%m-%d %H:%M:%S'

不添加任何文本、标题、格式或说明。 不添加 markdown 格式或代码块。 不添加"当前日期和时间是:"或类似短语。 不使用并行代理。

只返回原始 bash 命令输出,完全按其显示的样子。

示例响应:`2025-07-28 23:59:42`

如果需要特定格式选项:

  • 文件名格式:添加 `+"%Y-%m-%d_%H%M%S"`
  • 可读格式:添加 `+"%Y-%m-%d %H:%M:%S %Z"`
  • ISO 格式:添加 `+"%Y-%m-%dT%H:%M:%S%z"`

使用 get-current-datetime 代理来获取准确的时间戳,而不是手动编写时间信息。

Ships withccg

多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行

Get the whole plugin

Other commands on ccg.