Date and Time Skills

Skills for reasoning about dates, times, ranges, and the current date/time.

/api/skills/date

2 Skills

current-datetime

Retrieve the current date and time with precise, timezone-aware formatting.

Skill
Content Type
Static (Markdown)

Trigger Keywords

current datecurrent timenowtodaycurrent datetimetimezoneutcclocktime nowdate now

Instructions Preview

# Current Date and Time Skill Use this skill whenever a user asks about “right now”, “today”, or the current date/time. The goal is to return a **precise, unambiguous representation of the current date and time**, including timezone information, and to make it safe to use for follow-up calculations or logging. --- ## 1. Choose a Single Source of Truth for “Now” When determining the current date/time: 1. Prefer a concrete value provided by the **environment or tools**, for example: - A dedicated time tool such as `get_current_time` - A `current_datetime`, `current_time`, or `current_date` field in the prompt or metadata - An explicit timestamp supplied by the user 2. Treat that value as the **single source of truth** for all relative calculations in the conversation. 3. Never fabricate the current time if a trusted source is available. If you cannot access any reliable current time, explain the limitation instead of guessing. --- ## 2. Using a Time Tool (e.g. `get_curre...

date-manipulation

Work with dates and times reliably—understand today’s date, compute offsets, ranges, and schedule-friendly representations.

Skill python
Content Type
Static (Markdown)
Language
python

Trigger Keywords

datetimedatetimeschedulerangeoffsetdurationtimezonecalendar

Required Packages

pandas

Instructions Preview

# Date and Time Manipulation Skill Use this skill whenever you need to reason about dates and times—today’s date, relative offsets (yesterday, next week), ranges, or scheduling windows. The goal is to produce **precise, unambiguous date math** that humans and other tools can trust. --- ## 1. Representing Dates and Times **Preferred formats:** - **Date (ISO 8601)**: `YYYY-MM-DD` (e.g. `2025-03-15`) - **DateTime (ISO 8601)**: `YYYY-MM-DDTHH:MM:SSZ` or with offset, e.g. `2025-03-15T09:30:00Z`, `2025-03-15T09:30:00+01:00` - **Date ranges**: `[start_date, end_date]` with ISO dates, and explicitly state whether the range is inclusive or exclusive. Always: - Use 24‑hour time where possible. - Specify time zone whenever local time matters (e.g. `"2025-03-15T09:30:00-05:00 (America/New_York)"`). - Avoid ambiguous short formats like `03/04/25` unless you explicitly define the convention. --- ## 2. Knowing “Today” When you need **today’s date**: 1. Prefer a concrete value provided by ...