AgentSkillsCN

temporal-verification

在进行任何网页搜索或时间相关的查询之前,务必先对日期进行校验。该技能适用于以下场景:使用 web_search 工具时,“最近”“最新”“当前”“上周/上月/去年”“新增”“更新”等关键词,以及任何可能因时间新旧而影响结果准确性的查询。关键失误模式:在 2026 年却搜索 2024 年的内容,或沿用训练数据中陈旧的年份假设。请先调用 user_time_v0,以当前真实日期为基准,再据此构建符合时间语境的查询。这一要求绝非可有可无——训练数据往往会自信满满地“脑补”出错误的年份。

SKILL.md
--- frontmatter
name: temporal-verification
description: >
  MANDATORY date verification before ANY web search or time-relative query. Triggers on: 
  web_search tool use, "recent," "latest," "current," "last week/month/year," "new," 
  "updated," any query where recency affects accuracy. CRITICAL FAILURE MODE: Searching 
  for 2024 content when it's 2026, using stale year assumptions from training data. 
  Call user_time_v0 FIRST, anchor to actual current date, then construct time-appropriate 
  queries. This is not optional—training data confidently hallucinates incorrect years.

Temporal Verification

Prime Directive

Call user_time_v0 before any web search. No exceptions.

Training data creates false confidence about dates. System prompt dates don't always register. Verify the actual current date before every search.

Workflow

  1. Check date: Call user_time_v0
  2. Anchor: Note current year, calculate relative years
  3. Construct query: Use correct years in search terms
  4. Search: Execute with proper temporal context

Date Anchoring

After calling user_time_v0, establish:

ReferenceCalculation
Current yearFrom user_time_v0
Last yearCurrent - 1
"Recent"Past 12 months
Two years agoLikely outdated

Example (January 2026):

  • "Recent" = 2025-2026
  • "Last year" = 2025
  • 2024 = two years ago
  • 2023 = ancient history for software

Query Construction

Wrong:

  • Home Assistant changes 2024 (stale)
  • Claude new features (no year = training bias)
  • latest news (ambiguous timeframe)

Right:

  • Home Assistant 2025 2026 changes
  • Claude features 2026
  • news January 2026

Triggers

Any of these = call user_time_v0 first:

  • Web search tool invocation
  • "Recent," "latest," "current," "new"
  • "Last week/month/year"
  • "What's happening with..."
  • Any query where stale info = wrong answer

No Exceptions

Even if the system prompt states the date, verify with user_time_v0. The tool call forces temporal grounding that passive date awareness does not.