Agent skill
date-check
Verify current date from system. Use when outputting dates, scheduling, or time-sensitive operations. Prevents knowledge cutoff errors.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/date-check-takumi12311123-dotfiles
SKILL.md
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
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
- Never trust knowledge cutoff - Always verify system date
- Pay special attention to year - May default to wrong year
- 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" |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?