lastWeek

Resolves the previous full week into ISO dates and UTC instants.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually computing the date range for the previous full week (Monday through Sunday) is error-prone, especially across month boundaries, timezones, and UTC conversions. This Skill resolves "lastWeek" to exact civil dates and UTC instants relative to your run time, eliminating hand-computed date errors. ## Core Features & Use Cases - Deterministic Date Resolution: Runs a bundled Node.js resolver that returns inclusive local dates (start/end) plus a half-open UTC range (startUtc/endExclusiveUtc) for timestamp-based queries. - Rich Temporal Context: Output includes the span in days, your local timezone, and the resolution timestamp (asOf), in both human-readable and JSON formats. - Use Case: Before generating a weekly digest or week-over-week report, run the resolver to get exact query bounds for filtering logs, metrics, or database records from the last complete week. ## Quick Start Ask the AI to resolve the date range for last week using the lastWeek skill before running a weekly report query.

Frequently Asked Questions about lastWeek

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

FAQPage Schema
How do I get the date range for last week programmatically?▼

Run the bundled Node.js resolver with the argument lastWeek to get the previous full Monday-to-Sunday week. It returns inclusive local dates plus startUtc and endExclusiveUtc instants for timestamp-based queries.

What date range does lastWeek cover?▼

It covers the previous complete calendar week from Monday through Sunday, relative to when the resolver runs. Dates are returned as inclusive YYYY-MM-DD values in your local timezone.

Does the lastWeek resolver require network access?▼

No, the resolver is fully read-only and offline. It performs no writes and no network calls, computing dates purely from the local system clock and timezone.

Can I resolve other ranges like last 45 days or last 6 months?▼

The lastWeek skill only resolves the previous full week. For arbitrary windows such as last45days or last6months, use the companion temporal skill, which supports the full window list.

Why use UTC instants instead of local dates for queries?▼

Timestamp-based systems store data in UTC, so local dates can mismatch record boundaries. The resolver provides startUtc and endExclusiveUtc as a half-open range for accurate timestamp filtering.