temporal

Solid

Resolve ANY named time window — today, yesterday, thisWeek, lastWeek, last7Days, last30Days, last90Days, thisMonth, lastMonth, thisQuarter, lastQuarter, thisYear, lastYear, last12Months — or an arbitrary range (lastNdays / lastNweeks / lastNmonths) to a concrete ISO date range relative to your run time. Read-only: no writes, no network. Use whenever a task is time-scoped and you need exact start/end dates without computing them by hand.

AI & Automation 3,226 stars 357 forks Updated today NOASSERTION

Install

View on GitHub

Quality Score: 84/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## /temporal — concrete date ranges, relative to now This is the single source of truth for "what dates does *<window>* mean right now?". It resolves named windows to **concrete ISO date ranges relative to your run time** (`new Date()` at the moment you invoke it), so you never re-derive dates manually. It only reads the clock and prints — no files written, no network. ### Run it ```bash # all windows at once (a quick temporal-context dump) node "$AGENT_DIR/.claude/skills/temporal/when.mjs" # one or several specific windows node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days thisQuarter # JSON only (machine-readable), or list the supported keywords node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --json last7Days node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --list ``` If `$AGENT_DIR` is somehow unset, the script also lives under `~/.claude/skills/temporal/when.mjs`. ### Windows | Keyword | Meaning | | --- | --- | | `today` / `yesterday` | the single civil day | | `thisWeek` / `lastWeek` | ISO week (Mon-start); *this* = Mon→today, *last* = the full prior Mon→Sun | | `last7Days` / `last30Days` / `last90Days` | rolling N-day window ending today (inclusive) | | `thisMonth` / `lastMonth` | *this* = 1st→today; *last* = the full prior calendar month | | `thisQuarter` / `lastQuarter` | *this* = quarter-start→today; *last* = the full prior quarter | | `thisYear` / `lastYear` | *this* = Jan 1→today (YTD); *last* = the full prior year | | `last12Months` | rolli...

Details

Author
chaitanyagiri
Repository
chaitanyagiri/munder-difflin
Created
2 months ago
Last Updated
today
Language
TypeScript
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category