datetime

datetime is a skill for Codex from DeevsDeevs/agent-system. It costs 42 tokens per session (825 once invoked), scanned A, original, Apache-2.0.

A utility for getting the current date and time in different formats, including dates, timestamps, and human-readable values.

In plain words
What is it for?
It helps create time-stamped filenames and logs, compare dates, and produce date or time values in formats such as ISO or Unix time.
Why use it?
It avoids manually formatting dates or calculating timestamps for files, logs, comparisons, and schedules.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps create time-stamped filenames and logs, compare dates, and produce date or time values in formats such as ISO or Unix time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deevsdeevs/agent-system/datetime
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.

Any agent
npx skills add DeevsDeevs/agent-system --skill datetime
Clone the repo
git clone --depth 1 https://github.com/DeevsDeevs/agent-system

Made for: Codex.

Its marketplace also offers this one on its own, as the plugin datetime — /plugin install datetime after adding the marketplace above.

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 datetime

README.md
[![agentmods](https://agentmods.dev/badge/skills/deevsdeevs/agent-system/datetime/github.svg)](https://agentmods.dev/skills/deevsdeevs/agent-system/datetime)
Your own site
<a href="https://agentmods.dev/skills/deevsdeevs/agent-system/datetime"><img src="https://agentmods.dev/badge/skills/deevsdeevs/agent-system/datetime/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for datetime

Your own site · 80×15
<a href="https://agentmods.dev/skills/deevsdeevs/agent-system/datetime"><img src="https://agentmods.dev/badge/skills/deevsdeevs/agent-system/datetime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 825 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.00825
Opus 5.5 $0.00017 $0.00330
Sonnet 5.5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00082

Measured 1mo ago against content hash 6c42f7593a97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

datetime 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 1mo 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.

datetime/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

datetime - Current Date & Time

Get the current date and time in various formats.

Quick Reference

# Date only
date +%Y-%m-%d                    # 2025-01-15
date +%Y/%m/%d                    # 2025/01/15
date +%d-%m-%Y                    # 15-01-2025

# Date with time
date +"%Y-%m-%d %H:%M:%S"         # 2025-01-15 14:30:45
date +"%Y-%m-%dT%H:%M:%S"         # 2025-01-15T14:30:45 (ISO 8601)
date -u +"%Y-%m-%dT%H:%M:%SZ"     # 2025-01-15T14:30:45Z (UTC ISO 8601)

# Time only
date +%H:%M:%S                    # 14:30:45
date +%H:%M                       # 14:30
date +%I:%M%p                     # 02:30PM (12-hour)

# Timestamps
date +%s                          # 1705329045 (Unix epoch)
date +%s%3N                       # 1705329045123 (milliseconds)

# Human readable
date "+%B %d, %Y"                 # January 15, 2025
date "+%A, %B %d, %Y"             # Wednesday, January 15, 2025
date "+%b %d %Y"                  # Jan 15 2025

# File-safe formats (no colons/spaces)
date +%Y%m%d                      # 20250115
date +%Y%m%d_%H%M%S               # 20250115_143045
date +%Y%m%d-%H%M%S               # 20250115-143045

When to Use

Use this skill whenever you need:

  • Current date for logging or timestamps
  • Date strings for file naming
  • ISO 8601 formatted dates for APIs
  • Unix timestamps for calculations
  • Human-readable date displays
  • UTC time for cross-timezone consistency

Format Codes

Code Output Example
%Y Year (4-digit) 2025
%m Month (01-12) 01
%d Day (01-31) 15
%H Hour 24h (00-23) 14
%M Minute (00-59) 30
%S Second (00-59) 45
%I Hour 12h (01-12) 02
%p AM/PM PM
%s Unix timestamp 1705329045
%A Weekday name Wednesday
%B Month name January
%b Month abbrev Jan
%Z Timezone PST

Common Patterns

Log timestamp:

echo "[$(date +"%Y-%m-%d %H:%M:%S")] Event occurred"

Backup file naming:

cp file.txt "file_$(date +%Y%m%d_%H%M%S).txt"

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 87 lines · 42 tokens per session scan A 6c42f7593a97

Subscribe to this mod's changes

datetime is a skill published in the GitHub repository DeevsDeevs/agent-system (41 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 825 once invoked, about $0.0002 per session on Opus 5.5. 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.