Update Search Year

Claude Code Hook · pre-tool

update-search-year एक Claude Code hook है जो WebSearch queries में अगर साल नहीं दिया गया तो अपने‑आप current year जोड़ देता है, जिससे सर्च परिणाम हमेशा ताज़ा मिलते हैं। developers और content creators के लिए उपयोगी।

Automatically adds current year to WebSearch queries when no year is specified. This hook intercepts WebSearch tool usage and appends the current year to queries that don't already contain a year, ensuring search results are current and relevant.

Install

npx claude-code-templates@latest --hook pre-tool/update-search-year

View on GitHub