temporal

Resolve named time windows to concrete ISO date ranges relative to run time.

1|Updated Aug 23, 2026
One-click install
npx skills add https://github.com/foxmaster77/12BOT --skill temporal-foxmaster77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: temporal
Source: https://github.com/foxmaster77/12BOT/tree/main/munder-difflin-main/munder-difflin-main/resources/skills/temporal
Command: npx skills add https://github.com/foxmaster77/12BOT --skill temporal-foxmaster77

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Time-scoped tasks require exact start and end dates, but manually computing ranges like last quarter or the last 30 days is error-prone and inconsistent. This Skill resolves any named time window to concrete ISO dates relative to the moment it runs, so date bounds are never derived by hand. ## Core Features & Use Cases - Named Window Resolution: Converts keywords like today, yesterday, thisWeek, last30Days, thisQuarter, and lastYear into inclusive local civil dates (YYYY-MM-DD) plus half-open UTC instants for timestamp queries. - Arbitrary Ranges and Aliases: Supports generic lastNdays, lastNweeks, and lastNmonths patterns (e.g. last45days) plus shortcuts like ytd, qtd, 7d, 30d, and 12m. - Machine-Readable Output: Prints human-readable lines and JSON records with start, end, startUtc, endExclusiveUtc, day count, timezone, and resolution timestamp. - Use Case: When asked to summarize activity from last quarter, run the resolver to get exact start and end dates, then use those bounds directly in database queries or report filters. ## Quick Start Ask the assistant to resolve the date range for last30Days using the temporal skill and use the returned start and end dates as the time bounds for your task.

Frequently Asked Questions about temporal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert relative dates like last 30 days to actual dates?▼

Run the when.mjs script with the window keyword, for example node when.mjs last30Days. It prints the inclusive start and end dates in YYYY-MM-DD format plus a JSON record with UTC instants, all computed relative to the moment you invoke it.

How to get this quarter start and end dates in Node.js?▼

Invoke node when.mjs thisQuarter to get the quarter-start-to-today range, or lastQuarter for the full prior quarter. The script uses pure Node standard library date arithmetic with no external dependencies.

What date range formats does the temporal resolver support?▼

It supports named windows (today, yesterday, thisWeek, lastWeek, last7Days, last30Days, last90Days, thisMonth, lastMonth, thisQuarter, lastQuarter, thisYear, lastYear, last12Months), generic lastNdays/weeks/months patterns, and aliases like ytd, qtd, mtd, wtd, 7d, 30d, 90d, and 12m.

Does the date resolver work with UTC timestamps for database queries?▼

Yes, each result includes startUtc and endExclusiveUtc fields representing the half-open [start, end) range as exact UTC instants. These are designed for timestamp or createdAt-style queries alongside the inclusive local civil dates.

Does the temporal script require npm packages or network access?▼

No, the script uses only the Node.js standard library and runs anywhere Node is on PATH. It is read-only: it computes dates and prints to stdout without writing files or making network requests.