Agent skill
today
Get today's date for web searches and date-sensitive tasks. Auto-invoke before any WebSearch that includes a year (e.g., "React 2024", "Python 2025"), when searching for current documentation, latest releases, or recent information. Ensures searches use the correct current year instead of outdated dates.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/documents/today
SKILL.md
Today's Date
Get the current date before performing web searches or date-sensitive operations.
Instructions
- Run
date "+%Y-%m-%d"to get today's date - Extract the current year from the result
- Use this year in web search queries instead of any assumed or hardcoded year
- Report the current date, then proceed with the task using correct dates
When to use
- Before web searches that would include a year (e.g., "React Query 2024" should become "React Query 2025" if we're in 2025)
- When searching for "latest", "current", "recent", or "up-to-date" documentation
- When the user asks about recent releases, current versions, or contemporary information
- Any task where using an outdated year would return stale results
Example
If asked to search for "Next.js best practices 2024" and today is 2025-12-25:
- Get current date: 2025-12-25
- Update search to: "Next.js best practices 2025"
- Perform the corrected search
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?