AgentSkillsCN

search-wind

从气象站检索风速、阵风与风向数据。当用户询问风力、阵风、微风条件,或风向时,可使用此方法。

SKILL.md
--- frontmatter
name: search-wind
description: >
  Search wind speed, gust, and direction data from the weather station.
  Use when the user asks about wind, gusts, breezy conditions, or wind direction.

Search Wind

  1. Parse the time range.
  2. Call query_weather:
sql
SELECT mean(windspeedmph), max(windgustmph), last(winddir), last(maxdailygust)
FROM weather WHERE time > now() - 24h GROUP BY time(1h)
  1. Convert winddir degrees to compass bearing (N/NE/E/SE/S/SW/W/NW) when presenting.
  2. Highlight peak gust and time of peak gust.