Skip to content
cccskills
FreePublished on GitHub

lastYear

Get the date range for the previous full calendar year, from January 1 through December 31. It returns local dates and precise UTC boundaries for annual reports, year-over-year comparisons, and timestamp-based data queries.

OriginalShow the original description

Resolve "lastYear" to a concrete ISO date range relative to your run time — the previous full calendar year. Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a task over last year (annual reports, year-over-year).

See how to install

Good for

  • Setting the period for an annual report
  • Checking the previous year's comparison period
  • Getting UTC boundaries for timestamp queries

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

/lastYear

Get the concrete date range for the previous full calendar year by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastYear

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

capabilities

FreeSummary

Help a spawned worker check which date-range helpers and external integrations are available and how to call them. The catalog explains environment settings, local broker access, and availability checks so the worker can choose tools for its task.

  • Checking available tools when a worker starts
  • Looking up calls for Slack replies or shared knowledge searches
  • Checking date-range helpers before querying external services
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

Plan and generate hand-drawn article illustrations that turn key ideas, processes, and metaphors into clear visual scenes. The skill suggests image placement, creates individual 16:9 images with an active central character, and checks composition and annotations.

  • Plan illustration placement for an article
  • Illustrate a workflow or abstract idea
  • Generate hand-drawn images for blog posts
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

last30Days

FreeSummary

Resolve the last 30 days, including today, into local calendar dates and exact UTC time boundaries. Use the text and JSON output to scope trend analysis or recent activity reviews without manual date calculations or network access.

  • Set a rolling 30-day period for trend analysis
  • Define the date range for recent activity reviews
  • Prepare UTC boundaries for 30-day timestamp queries
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

last7Days

FreeSummary

Turn “last seven days” into a concrete date range ending today. Get local calendar dates and precise UTC boundaries, the global time reference, to use as consistent limits for reports or timestamp searches.

  • Set the reporting period for the last seven days
  • Define UTC boundaries for timestamp searches
  • Check the local dates covered by a trailing week
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

lastMonth

FreeSummary

Turn “last month” into the full previous calendar month's date range. Get local calendar dates and precise UTC boundaries, the global time reference, to set consistent periods for monthly reports, summaries, or timestamp searches.

  • Set the reporting period for the previous calendar month
  • Confirm the dates for a month-end summary
  • Define UTC boundaries for last month's timestamp searches
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

lastQuarter

FreeSummary

Get the date range for the previous full quarter, based on when the skill runs. It returns local dates and precise UTC boundaries to define reporting periods for quarterly reviews, quarter-over-quarter comparisons, and timestamp-based queries.

  • Setting the period for a quarterly review
  • Checking the previous quarter's comparison period
  • Getting UTC boundaries for timestamp queries
HarnessMD/munder-difflin8.9KUpdated Oct 19, 2026

See all skills by HarnessMD

Report a problem with this skill