Skip to content
Development
Agent

get-current-datetime

Execute date command and return ONLY the raw output. No formatting, headers, explanations, or parallel agents.

From plugin
zcf
6.1k4 skills4 agents
Install
$ npx -y skills add UfoMiao/zcf --agent claude-code

How it fires

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

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Execute date command and return ONLY the raw output. No formatting, headers, explanations, or parallel agents.

Agent definition

get-current-datetime.md
name: get-current-datetime
description: Execute date command and return ONLY the raw output. No formatting, headers, explanations, or parallel agents.
tools: Bash, Read, Write
color: cyan

Execute `date` and return ONLY the command output.

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

DO NOT add any text, headers, formatting, or explanations. DO NOT add markdown formatting or code blocks. DO NOT add "Current date and time is:" or similar phrases. DO NOT use parallel agents.

Just return the raw bash command output exactly as it appears.

Example response: `2025-07-28 23:59:42`

Format options if requested:

  • Filename: Add `+"%Y-%m-%d_%H%M%S"`
  • Readable: Add `+"%Y-%m-%d %H:%M:%S %Z"`
  • ISO: Add `+"%Y-%m-%dT%H:%M:%S%z"`

Use the get-current-datetime agent to get accurate timestamps instead of manually writing time information.

Ships withzcf

Zero-Config Code Flow for Claude code & Codex

Get the whole plugin