Automated summary
This sub-skill resolves a target date from user input and returns all date-related fields needed for planning rituals.
Strengths
- Supports a wide range of date formats (relative, weekdays, ISO dates, etc.)
- Returns structured fields including day, ISO week, month, quarter, and relationship to today
- Handles weekly scopes with week start/end calculations
Limitations
- Relies on macOS-specific `date` commands (does not work on Linux or Windows)
- No timezone support
- Input parsing is limited: `next monday` is interpreted as the following Monday, but more complex phrases may fail
Use this skill in a planning ritual that requires normalizing temporal references into a unified date format.
Do not use this skill for advanced date calculations requiring timezone handling, precise times, or complex recurrence patterns.
Security analysis
SafeThe skill only uses the date command to format dates; no destructive or exfiltrating actions, and user input is safely handled with quoted variables preventing injection.
No concerns found
How this analysis is madeExamples
Get dates for next MondayGet dates for todayGet dates for 2026-W07name: get-dates description: Resolve target date from argument and return all date formats needed for planning rituals. disable-model-invocation: true allowed-tools: Bash
Get Dates
This sub-skill resolves a target date from user arguments and returns all date-related fields needed by planning rituals.
Input
The $ARGUMENTS variable contains the raw date argument:
(empty)→ todaytoday→ todaytomorrow→ tomorrowmonday,tuesday, etc. → next occurrence (including today if matches)next monday,next tuesday, etc. → next occurrence after todayYYYY-MM-DD→ specific date
Instructions
-
Parse
$ARGUMENTSto determine the target date -
Use macOS
datecommands to resolve relative dates:# For "tomorrow" date -v+1d +"%Y-%m-%d" # For next weekday (e.g., "monday") # Calculate days until next occurrence -
Calculate all date fields for the resolved target date:
# Day of week date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%A" # ISO week number date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%Y-W%V" # Month date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%Y-%m" # Quarter # Q1: Jan-Mar, Q2: Apr-Jun, Q3: Jul-Sep, Q4: Oct-Dec -
Determine relationship to today:
is_today: target date equals current dateis_future: target date is after current dateis_past: target date is before current date
Output
Return structured JSON:
{
"target_date": "2026-02-15",
"day_name": "Sunday",
"day_short": "Sun",
"week": "2026-W07",
"month": "2026-02",
"month_name": "February",
"quarter": "2026-Q1",
"year": "2026",
"is_today": false,
"is_future": true,
"is_past": false,
"days_from_today": 1
}
Error Cases
- Invalid date format: Return error with valid format examples
- Past date: Allow but set
is_past: truefor caller to handle
Example Resolutions
| Input | Target Date | Notes |
|-------|-------------|-------|
| (empty) | 2026-02-14 | Today |
| today | 2026-02-14 | Today |
| tomorrow | 2026-02-15 | +1 day |
| monday | 2026-02-16 | Next Monday (including today if Monday) |
| next monday | 2026-02-16 | Next Monday (always future) |
| 2026-02-20 | 2026-02-20 | Specific date |
Week Resolution (for weekly rituals)
When scope=week is passed in arguments or the input contains an ISO week format:
Week Input Formats
(empty)→ current weeklast week→ previous weekYYYY-Www→ specific ISO week (e.g., 2026-W07)
Week Calculations
# Get current ISO week
date +"%G-W%V"
# Get week start (Monday) from ISO week
# Use: date command with week calculation
# Get week end (Sunday) from ISO week
# week_end = week_start + 6 days
Extended Output for Weekly Scope
When resolving weeks, include these additional fields:
{
"target_date": "2026-02-14",
"day_name": "Saturday",
"day_short": "Sat",
"week": "2026-W07",
"week_start": "2026-02-09",
"week_end": "2026-02-15",
"is_current_week": true,
"is_past_week": false,
"month": "2026-02",
"month_name": "February",
"quarter": "2026-Q1",
"year": "2026",
"is_today": false,
"is_future": true,
"is_past": false,
"days_from_today": 1
}
Week Resolution Examples
| Input | Target Week | Week Start | Week End |
|-------|-------------|------------|----------|
| (empty) scope=week | 2026-W07 | 2026-02-09 | 2026-02-15 |
| last week | 2026-W06 | 2026-02-02 | 2026-02-08 |
| 2026-W05 | 2026-W05 | 2026-01-26 | 2026-02-01 |
Week Resolution Logic
- If input matches
YYYY-Wwwpattern → use directly - If input is
last week→ current week minus 1 - If
scope=weekwith empty input → current week - Calculate
week_startas the Monday of that week - Calculate
week_endas the Sunday of that week
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/date-resolution-mmk3nid9/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/date-resolution-mmk3nid9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/date-resolution-mmk3nid9/download' --output '.skill-downloads/date-resolution-mmk3nid9/SKILL.md.part' && mv '.skill-downloads/date-resolution-mmk3nid9/SKILL.md.part' '.skill-downloads/date-resolution-mmk3nid9/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/date-resolution-mmk3nid9/SKILL.md' && test -s '.skill-downloads/date-resolution-mmk3nid9/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/get-dates' && cp -R '.skill-downloads/date-resolution-mmk3nid9' '.claude/skills/get-dates'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/date-resolution-mmk3nid9'openskills read 'date-resolution-mmk3nid9'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/date-resolution-mmk3nid9/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.