Date Context

VerifiedSafe

Provides date calculations (today, yesterday, tomorrow, week view, offsets) and diary file paths. Eliminates mental math errors, ideal at session start or when scheduling tasks.

Sby Skills Guide Bot
ProductivityBeginner
6/2/2026
Claude Code
#date#calendar#shell-script#context

Recommended for

Automated summary

A date utility that provides current time context, offsets, weekdays, and diary paths to avoid mental date calculations.

Strengths

  • Eliminates mental date math errors
  • Offers multiple views (day, week, month)
  • Handles diary paths with existence checks

Limitations

  • No advanced timezone support
  • Fixed date format (English)
  • Requires Unix environment with bash
When to use it

Use this skill at session start or whenever you need to reason about dates in your scripts or files.

When not to use it

Avoid it for complex date arithmetic such as business days or timezone differences.

Security analysis

Safe
Quality score95/100

The skill only runs a designated bash script that outputs date information and checks for diary file existence. No destructive, exfiltrating, or obfuscated actions are present. The script uses safe system commands and the skill does not expose any sensitive data.

No concerns found

How this analysis is made

Examples

Today's context
Run the date context skill to get today, yesterday, and tomorrow's dates.
Find next Friday
Use the date skill to find the date of this coming Friday.
Get diary path for yesterday
Get the diary file path for yesterday's entry using the date skill.

name: dates description: Date calculations and context. Use instead of mental date math. allowed-tools: Bash(.claude/skills/dates/scripts/date_context.sh:*)

Date Context Skill

Simple date helper to avoid mental date calculations. Use at session start and whenever working with dates.

Quick Start

.claude/skills/dates/scripts/date_context.sh

Output:

Current time: 14:32 GMT

Today: Monday 12 January 2026
Yesterday: Sunday 11 January 2026
Tomorrow: Tuesday 13 January 2026

Late night warning: If run between midnight and 3am, shows a warning that "today" might mean yesterday from the user's perspective.

Commands

Basic (default)

.claude/skills/dates/scripts/date_context.sh basic
# Today, yesterday, tomorrow

Week View

.claude/skills/dates/scripts/date_context.sh week
# This week Mon-Sun

Offset

.claude/skills/dates/scripts/date_context.sh offset +3   # 3 days from now
.claude/skills/dates/scripts/date_context.sh offset -7   # 7 days ago

Find Weekday

.claude/skills/dates/scripts/date_context.sh weekday Friday
# This Friday: Friday 17 January 2026
# Next Friday: Friday 24 January 2026

Month Boundaries

.claude/skills/dates/scripts/date_context.sh month
# First and last day of current month

Diary Paths

.claude/skills/dates/scripts/date_context.sh diary       # Today's diary path
.claude/skills/dates/scripts/date_context.sh diary -1    # Yesterday's diary path
.claude/skills/dates/scripts/date_context.sh diary -5    # Last 5 days with existence check
.claude/skills/dates/scripts/date_context.sh diary last  # Most recent existing diary

Example output for -5:

Recent diary entries (last 5 days):
  ✓ diary/2026/01/12-Mon.md (Monday 12 Jan)
  ✓ diary/2026/01/11-Sun.md (Sunday 11 Jan)
  ✗ diary/2026/01/10-Sat.md (Saturday 10 Jan) [MISSING]
  ✗ diary/2026/01/09-Fri.md (Friday 09 Jan) [MISSING]
  ✓ diary/2026/01/08-Thu.md (Thursday 08 Jan)

Usage Notes

  • Always use this instead of calculating dates mentally
  • Run at session start to establish date context
  • Use offset for scheduling tasks N days out
  • Use diary to get correct diary file paths

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 files

This 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.md

From the root of a test project, save the file as .skill-downloads/date-context-mm8o51nv/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-context-mm8o51nv' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/date-context-mm8o51nv/download' --output '.skill-downloads/date-context-mm8o51nv/SKILL.md.part' && mv '.skill-downloads/date-context-mm8o51nv/SKILL.md.part' '.skill-downloads/date-context-mm8o51nv/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(.claude/skills/dates/scripts/date_context.sh:*)

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-context-mm8o51nv/SKILL.md' && test -s '.skill-downloads/date-context-mm8o51nv/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/dates' && cp -R '.skill-downloads/date-context-mm8o51nv' '.claude/skills/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 installation
openskills install './.skill-downloads/date-context-mm8o51nv'

openskills read 'date-context-mm8o51nv'

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 sync

Manual 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-context-mm8o51nv/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.

Related skills