Skip to content
Back to skills

Date Check

ASecurity

Verify current date from system. Use when outputting dates, scheduling, or time-sensitive operations. Prevents knowledge cutoff errors.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
documentationrustbash

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill date-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Date Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Date Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-date-check/badge)](https://www.skillsdirectory.com/skills/majiayu000-date-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: date-check
description: |
  Verify current date from system. Use when outputting dates, scheduling, or time-sensitive operations. Prevents knowledge cutoff errors.
---

# Date Check SKILL

## Purpose

Prevent date errors caused by knowledge cutoff.
Get accurate current date/time from the system.

## When to Use

### Automatic Triggers
- Before outputting dates or day of week
- Before using relative dates ("today", "tomorrow", "this week")
- Before mentioning schedules or deadlines
- Before outputting year-specific information

### Manual Check
- When user asks about dates
- When handling time-sensitive information

## Process

### Step 1: Get Current Date

```bash
date "+%Y-%m-%d %H:%M:%S %A"
```

Note: Output varies by system. Always trust the actual execution result.

### Step 2: Verify Against Environment

Cross-check with `Today's date` in environment info.

### Step 3: Use Correct Date

Use the verified date in your response.

## Important Reminders

1. **Never trust knowledge cutoff** - Always verify system date
2. **Pay special attention to year** - May default to wrong year
3. **Calculate relative dates** - Compute "last week", "next month" from current date

## Quick Reference

| Info | Command |
|------|---------|
| Today | `date "+%Y-%m-%d"` |
| Day of week | `date "+%A"` |
| Week number | `date "+%V"` |
| Day of year | `date "+%j"` |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.