Home / Subagents / get-current-datetime

get-current-datetime

fengshao1227/ccg-workflowSubagent

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

ScannedSubagentSource: GitHub
5,943 stars +15 this week Updated 17d ago License MIT Context ≈13 tokens in your chat
79popular

Why this score

Stars21/35
Usage (forks)8/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 7 subagents, so its 5,943 stars are split between them (about 849 each) for scoring.

Popularity score: 79/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Edit and write files
  • Read and search files

Tools listed in the file: Bash, Read, Write

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

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

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

```bash
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 代理来获取准确的时间戳,而不是手动编写时间信息。

MIT license, from fengshao1227/ccg-workflow at commit 28cc8e9c2fcc.

Security

Scanned Oct 21, 2026 at commit 28cc8e9c2fcc, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This oneget-current-datetime fengshao1227/ccg-workflow · Subagent 79★ 5.9k≈13 in chat17d ago
bitrix-datetime bxmaximum/bitrix-framework-skills · Skill Both about datetime 56★ 45≈56 always23d ago